Sets the trigger source.
GxCntSetTriggerSource (nHandle, nSource, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a counter board. |
nSource |
SHORT |
Trigger source:
|
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The following example sets the trigger source to external:
SHORT nHandle, nStatus;
GxCntSetTriggerSource (nHandle, GXCNT_TRIGGER_EXTERNAL, &nStatus)
GxCntSetTriggerSource, GxCntSetTriggerSlope, GxCntGetFunction, GxCntGetErrorString