Opens all relays (1-15) and relay drivers (1-3) at the specified board.
Gx6115Reset (nHandle, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX6115 board. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The function is normally called after calling the Gx6115Initialize function, since the initialize function will not reset the board.
The following example initializes the driver and then resets the board.
Gx6115Initialize(1, &nHandle, &nStatus);
if (nStatus<0)
return nStatus; // return error
Gx6115Reset (nHandle, &nStatus);