GX5701, GX5702, GX5704
Sets the Module’s External Strobe Polarity.
Gx5733ModuleSetExtStrobePolarity (nHandle, nPort, pnPolarity, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX5733 board. |
nPort |
SHORT |
Module port 0 (GX5733_PORT0) only. |
pnPolarity |
SHORT |
External Strobe Polarity mode:0. GX5733_MODULE_STROBE_POSITIVE_EDGE: External Strobe active on positive edge.1. GX5733_MODULE_STROBE_NEGATIVE_EDGE: External Strobe active on negative edge. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The following example returns modules port 0 external strobe polarity:
SHORT nPolarity, nStatus;
Gx5733ModuleGetExtStrobePolarity (nHandle, GX5733_PORT0, &nPolarity, &nStatus);
Gx5733ModuleGetExtStrobePolarity, Gx5733ModuleSetExtStrobeEnablePolarity, Gx5733ModuleSetStrobeSource, Gx5733ModuleSetInternalStrobeSource