Returns Arm source.
GxCntGetArmSource (nHandle, pnSource, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a counter board. |
pnSource |
PSHORT |
Returned Arm source:
|
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The Arm source setting does not affect the Totalize, Totalize Gated and GxCntSetFunctionTestInternalClock functions.
The following example returns the Arm source:
SHORT nHandle, nSource, nStatus;
GxCntGetArmSource (nHandle, &nSource, &nStatus)
GxCntSetArmSlope, GxCntSetArmSlope, GxCntGetArmSlope, GxCntGetErrorString