Sets the trigger slope.
GxCntGetTriggerSlope (nHandle, nSlope, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a counter board. |
nSlope |
SHORT |
Trigger slope:
|
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The trigger slope setting is active only when the trigger source is set to external, see GxCntSetTriggerSource function for details.
The following example sets the trigger slope to negative:
SHORT nHandle, nStatus;
GxCntSetTriggerSlope (nHandle, GXCNT_NEGATIVE_SLOPE, &nStatus)
GxCntSetTriggerSlope, GxCntSetTriggerSource, GxCntGetTriggerSource, GxCntGetFunction, GxCntGetErrorString