
ControlLogix Platform ♦ "C" Programmable CIP API Functions
Linux Application Development Module Developer's Manual
ProSoft Technology, Inc. Page 161 of 264
March 12, 2014
rc=OCXcip_GetWCTimeUTC(apiHandle, &Path, &wCT, 3000);
if (rc !=OCX_SUCCESS)
{
printf ("\n\rOCXcip_GetWCTimeUTC failed: %d\n\r",rc);
}
else
{
printf("\nWall Clock Time: %02d/%02d/%d: %02d:%02d.%03d",
Wct.SystemTime.wMonth, Wct.SystemTime.wDay, Wct.SystemTime.wYear,
Wct.SystemTime.wHour, Wct.SystemTime.wMinute, Wct.SystemTime.wSecond,
Wct.SystemTime.wMilliseconds);
}
See Also
OCXcip_SetWCTimeUTC, OCXcip_GetWCTime
Comentários a estes Manuais