Returns the Arm Start or Stop slope.
GxCntGetArmSlope (nHandle, nStartStop, pnSlope, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a counter board. |
nStartStop |
SHORT |
Specify Arm Start or Stop slope:
|
pnSlope |
PSHORT |
Returned 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 returns the Arm starts slope settings:
SHORT nHandle, nSlope, nStatus;
GxCntGetArmSlope (nHandle, GXCNT_ARM_START_SLOPE, &nSlope, &nStatus)
GxCntSetArmSlope, GxCntSetArmSource, GxCntGetArmSource, GxCntGetErrorString