W5K_RLY_GetResetTime
This function code is used to get reset time of D/O channels.
C/C++
int W5K_RLY_GetResetTime ( int hConnection,
BYTE bytChannel,
WORD wValue[ ]);
Visual Basic
Declare Function W5K_RLY_GetResetTime Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytChannel As Byte, iValue As Integer) As Long
Arguments:
hConnection |
The handle for an I/O device connection. |
bytChannel |
The specific channel to be get |
wValue |
An array that stores the contiguous D/O channels relay reset time. wValue[0]~ wValue[5] => sec/min/hour/day/month/year represents the value of the specific channel. |
Return Value:
Succeed |
MXIO_OK |
Fail |
Refer to Return Codes. |