Sets the Arm source.
GxCntSetArmSlope (nHandle, nSource, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a counter board. |
nSource |
SHORT |
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 sets the Arm source to the external input connector:
SHORT nHandle, nStatus;
GxCntSetArmSource (nHandle, GXCNT_ARM_EXTERNAL, &nStatus)