ProSoft Technology MVI56E-LDM User Manual
Page 163

ControlLogix Platform ♦ "C" Programmable
CIP API Functions
Linux Application Development Module
Developer's Manual
ProSoft Technology, Inc.
Page 157 of 264
March 12, 2014
CSTOffset is ignored by this function.
LocalTimeAdj is obsolete and is no longer used. It is retained in the structure for
backwards compatibility only and should not be used.
SystemTime is a structure of type SYSTEMTIME. The time and date returned in
this structure is the local adjusted time on the device. The SYSTEMTIME
structure is as shown:
typedef struct_SYSTEMTIME
{
WORD wYear;
WORD wMonth;
WORD wDayOfWeek;
WORD wDay;
WORD wHour;
WORD wMinute;
WORD wSecond;
WORD wMilliseconds;
} SYSTEMTIME, *PSYSTEMTIME;
Note: The wDayOfWeek member is not used by the OCXcip_SetWCTime.
Return Value
OCX_SUCCESS
WCT object was set successfully
OCX_ERR_NOACCESS
apihandle does not have access
OCX_ERR_MEMALLOC
returned if not enough memory is available
OCX_ERR_BADPARAM
returned if parameter was invalid
OCX_ERR_NODEVICE
the device does not exist
OCX)CIP_INVALID_REQUEST the device does not support the object
See Also
OCXcip_GetWCTime, OCXcip_SetWCTime