GX5701, GX5702, GX5704
Gx5731ModuleSetStrobeSource (nHandle, nPort, nSource, 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. |
nSource |
SHORT |
Sets the Strobe Source as follow:0. GX5731_MODULE_STROBE_INTERNAL: Strobe source is internal.1. GX5731_MODULE_STROBE_EXTERNAL: Strobe source is external. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
If the Strobe Source is set to Internal see Gx5731ModuleSetInternalStrobeSource functions for more details.
If the Strobe Source is set to External see Gx5731ModuleSetExtStrobePolarity and Gx5731ModuleSetExtStrobeEnablePolarity functions for more details.
The following example set module port 0 Strobe Source to external:
SHORT nStatus;
Gx5731ModuleSetStrobeSource (nHandle, GX5731_PORT0, GX5731_MODULE_STROBE_EXTERNAL, &nStatus);
Gx5731ModuleGetStrobeSource, ,Gx5731ModuleSetExtStrobePolarity Gx5731ModuleGetExtStrobePolarity, Gx5731ModuleSetExtStrobeEnablePolarity, Gx5731ModuleGetExtStrobeEnablePolarity