Gx3722DiffTTLReadInputs

Purpose

Read back the 4 differential TTL input levels.

Syntax

Gx3722DiffTTLReadInputs (nHandle, pnInputs, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX3722 board.
pnInputs
PSHORT
Sets the 4 differential TTL output level settings. There are 4 differential TTL output channels, each bit represents a channel, e.g. channel 0 = bit 0 etc.
Bit low: channel’s output level is set low, if the channel is enabled.
Bit high: channel’s output level is set high, if the channel is enabled.  
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Example

Read back the 4 differential TTL input levels.

 

SHORT nInputs;

 

Gx3722DiffTTLReadInputs (nHandle, &nInputs, &nStatus);

 

See Also

Gx3722DiffTTLGetOutputs, Gx3722DiffTTLSetOutputsEnable, GxFpgaGetErrorString