GX5701, GX5702, GX5704
Returns the Module’s External Strobe State.
Gx5733ModuleGetExtStrobeState (nHandle, nPort, pnState, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX5733 board. |
nPort |
SHORT |
Module port 0 (GX5733_PORT0) only. |
pnState |
PSHORT |
Returned External Strobe Enable State mode:0. External Strobe state is low (‘0’).1. External Strobe state is high (‘1’). |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
This function returns the state of the External Strobe input signal on the connector J6 pin 67. This input is used by the Handshake mechanism and can be read at any time.
The following example returns modules port 0 external strobe state:
SHORT nState, nStatus;
Gx5733ModuleGetExtStrobeState (nHandle, GX5733_PORT0, &nState, &nStatus);
Gx5733ModuleGetExtStrobeEnableState, Gx5733ModuleSetExtStrobeEnablePolarity, Gx5733ModuleSetExtStrobePolarity, Gx5733ModuleSetStrobeSource, Gx5733ModuleSetInternalStrobeSource