Returns the Totalize Gate mode.
GxCntGetTotalizeGateMode (nHandle, pnMode, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a counter board. |
pnMode |
PSHORT |
Returns Gate mode:
|
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
This function enables or disables the count Gate when in Totalize mode.
The following example returns the Totalize Gate mode:
SHORT nHandle, nMode, nStatus;
GxCntGetTotalizeGateMode (nHandle, &nMode, &nStatus)
GxCntSetTotalizeGateMode, GxCntGetFunction, GxCntGetErrorString