Sets the Arm Start or Stop slope.
GxCntSetArmSlope (nHandle, nStartStop, nSlope, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a counter board. |
nStartStop |
SHORT |
Specify the Arm Start or Stop slope:
|
nSlope |
SHORT |
Arm slope:
|
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The Arm start/stop slope controls the initiation and termination of the measurement. This setting is active only when the Arm source is set to external using the GxCntSetArmSource command.
The following example sets the Arm starts slope to positive:
SHORT nHandle, nStatus;
GxCntSetArmSlope (nHandle, GXCNT_ARM_START_SLOPE, GXCNT_ARM_POSITIVE_SLOPE, &nStatus)
GxCntGetArmSlope, GxCntSetArmSource, GxCntGetArmSource, GxCntGetErrorString