Gx5733ModuleGetExtStrobePolarity

Applies To

GX5701, GX5702, GX5704

Purpose

Returns the Module’s External Strobe Polarity.

Syntax

Gx5733ModuleGetExtStrobePolarity (nHandle, nPort, pnPolarity, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX5733 board.
nPort
SHORT
Module port 0 (GX5733_PORT0) only.
pnPolarity
PSHORT
Returned External Strobe Polarity mode:
0. GX5733_MODULE_STROBE_POSITIVE_EDGE: External Strobe is active on positive edge.
1. GX5733_MODULE_STROBE_NEGATIVE_EDGE: External Strobe is active on negative edge.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Example

The following example returns modules port 0 external strobe polarity:

 

SHORT nPolarity, nStatus;

Gx5733ModuleGetExtStrobePolarity (nHandle, GX5733_PORT0, &nPolarity, &nStatus);

 

See Also

Gx5733ModuleSetExtStrobePolarity, Gx5733ModuleSetExtStrobeEnablePolarity, Gx5733ModuleSetStrobeSource, Gx5733ModuleSetInternalStrobeSource