Gx3788TriggerReadInputLevel

Purpose

Reads the level of the trigger input line.

Syntax

Gx3788TriggerReadInputLevel (nHandle, pnTriggerLevel, pnStatus)

Parameters

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.

Comments

The function reads the level of the trigger input line.

Example

The following example gets the trigger output level:

 

SHORT nTriggerLevel, nStatus;

 

Gx3788TriggerReadInputLevel (nHandle, &nTriggerLevel, &nStatus);

 

See Also

Gx3788TriggerGetOutputLevel, Gx3788TriggerSetOutputLevel, GxFpgaGetErrorString