Returns the trigger slope.
GxCntGetTriggerSlope (nHandle, pnSlope, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a counter board. |
pnSlope |
PSHORT |
Returns 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 returns the trigger slope:
SHORT nHandle, nSlope, nStatus;
GxCntGetTriggerSlope (nHandle, &nSlope, &nStatus)
GxCntSetTriggerSlope, GxCntSetTriggerSource, GxCntGetTriggerSource, GxCntGetErrorString