GX5701, GX5702, GX5704
Sets the specified Module to Run mode.
Gx5733ModuleRun (nHandle, nPort, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX5733 board. |
nPort |
SHORT |
Module port 0 (GX5733_PORT0) only. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
Calling this function will take the Module from Run to Halt state. Use Gx5733ModuleGetState in order to monitor the module state.
The following example set module port 0 to RUN mode:
SHORT nPolarity, nStatus;
Gx5733ModuleRun (nHandle, GX5733_PORT0, &nStatus);
Gx5733ModuleGetState, Gx5733ModuleHalt, Gx5733ModuleSetExtStrobePolarity, Gx5733ModuleSetExtStrobeEnablePolarity, Gx5733ModuleSetStrobeSource, Gx5733ModuleSetInternalStrobeSource