Gx5731ModuleGetExtStrobeEnableState

Applies To

GX5701, GX5702, GX5704

Purpose

Returns the Module’s External Strobe Enable State.

Syntax

Gx5731ModuleGetExtStrobeEnableState (nHandle, nPort, pnState, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX5731 board.
nPort
SHORT
Specified Module's port number:
0. GX5731_PORT0: Module port 0
1. GX5731_PORT1: Module port 1
2. GX5731_PORT2: Module port 2.
pnState
PSHORT
Returned External Strobe Enable State mode:
0. External Strobe is disabled (‘0’).
1. External Strobe is enabled (‘1’).
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

This function returns the state of the External Strobe Enable input signal on the connector J6 pin 68. This input is used by the Handshake mechanism and can be read at any time.

Example

The following example returns modules port 0 external strobe enable state:

 

SHORT nState, nStatus;

Gx5731ModuleGetExtStrobeEnableState (nHandle, GX5731_PORT0, &nState, &nStatus);

 

See Also

Gx5731ModuleGetExtStrobeState, Gx5731ModuleSetExtStrobeEnablePolarity, Gx5731ModuleSetExtStrobePolarity, Gx5731ModuleSetStrobeSource, Gx5731ModuleSetInternalStrobeSource