Gx5731ModuleGetExtStrobeEnablePolarity

Applies To

GX5701, GX5702, GX5704

Purpose

Returns the Module’s External Strobe Enable Polarity.

Syntax

Gx5731ModuleGetExtStrobeEnablePolarity (nHandle, nPort, , pnPolarity, 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.
pnPolarity
PSHORT
Returned External Strobe Enable Polarity mode:
0. GX5731_MODULE_STROBE_POSITIVE_EDGE: External Strobe will be enabled on positive edge.
1. GX5731_MODULE_STROBE_NEGATIVE_EDGE: External Strobe will be enabled on negative edge.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Example

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

 

SHORT nPolarity, nStatus;

Gx5731ModuleGetExtStrobeEnablePolarity (nHandle, GX5731_PORT0, &nPolarity, &nStatus);

 

See Also

Gx5731ModuleSetExtStrobeEnablePolarity, Gx5731ModuleSetExtStrobePolarity, Gx5731ModuleSetStrobeSource, Gx5731ModuleSetInternalStrobeSource