GX5701, GX5702, GX5704
Returns the Module’s External Strobe Enable Polarity.
Gx5731ModuleGetExtStrobeEnablePolarity (nHandle, nPort, , pnPolarity, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX5731 board. |
nPort |
SHORT |
Specified Module's port number:0. GX5731_PORT0: Module port 01. GX5731_PORT1: Module port 12. 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. |
The following example returns modules port 0 external strobe enable polarity:
SHORT nPolarity, nStatus;
Gx5731ModuleGetExtStrobeEnablePolarity (nHandle, GX5731_PORT0, &nPolarity, &nStatus);
Gx5731ModuleSetExtStrobeEnablePolarity, Gx5731ModuleSetExtStrobePolarity, Gx5731ModuleSetStrobeSource, Gx5731ModuleSetInternalStrobeSource