beautypg.com

ProSoft Technology MVI56E-LDM User Manual

Page 170

background image

CIP API Functions

ControlLogix Platform ♦ "C" Programmable

Developer's Manual

Linux Application Development Module

Page 164 of 264

ProSoft Technology, Inc.

March 12, 2014

CurrentUTCValue, TimeZone, DSTOffset, and DSTEnable are ignored by this
function.
SystemTime is a structure of type SYSTEMTIME. 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_SetWCTimeUTC
function.

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_GetWCTimeUTC