Reads the level of the trigger input line.
Gx3788TriggerReadInputLevel (nHandle, pnTriggerLevel, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX3788 board. |
pnTriggerLevel |
PSHORT |
Returns the output trigger level:0. GX3788_TRIGGER_LEVEL_LOW: Output Trigger level is set to Low.1. GX3788_TRIGGER_LEVEL_HIGH: Output Trigger level is set to High. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The function reads the level of the trigger input line.
The following example gets the trigger output level:
SHORT nTriggerLevel, nStatus;
Gx3788TriggerReadInputLevel (nHandle, &nTriggerLevel, &nStatus);
Gx3788TriggerGetOutputLevel, Gx3788TriggerSetOutputLevel, GxFpgaGetErrorString