Opens all relays of the specified group.
Gx6338GroupReset (nHandle, nGroup, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX6338 board. |
nGroup |
SHORT |
Group number: 0-2, represents group A-C |
pnStatus |
LPSHORT |
Returned status: 0 on success, negative number on failure. |
The following example initializes the driver and then resets 38 relays of group A.
Gx6338Initilize (1, &nHandle, &nStatus);
if (nStatus < 0)
return nStatus; // return error
Gx6338GroupReset (nHandle, 0, &nStatus);
Gx6338Initialize, GxSWGetErrorString, Gx6338SetGroupChannels