GX5711, GX5712
Sets the Module’s channels direction.
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);
Gx5733ModuleGetDirection, Gx5733ModuleSetDirectionSource, Gx5733ModuleGetPort, Gx5733ModuleSetInternalStrobeSource