Download Control Microsystems SCADAPack2 C/C++ Tools

Transcript
getClockTime
Read the Real Time Clock
Syntax
#include <ctools.h>
void getClockTime(INT32 * pDays, INT32 * pHundredths);
Description
The getClockTime function reads the real time clock and returns the value as the number
of whole days since 01/01/1997 and the number of hundredths of a second since the
start of the current day. The function works for years from 01/01/1997 to 12/31/2099 then
rolls over.
The function has two parameters: a pointer to the variable to hold the days and a pointer
to a variable to hold the hundredths of a second.
The function has no return value.
Notes
The IO_SYSTEM resource must be requested before calling this function.
See Also
getclock
2
SCADAPack C++ Tools User Manual
181