GX5701, GX5702, GX5704
Returns the Module’s Strobe Source.
Gx5731ModuleGetStrobeSource (nHandle, nPort, pnSource, 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. |
pnSource |
PSHORT |
Return 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 Gx5731ModuleSetStrobeSource 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 nSource, nStatus;
Gx5731ModuleGetStrobeSource (nHandle, GX5731_PORT0, &nSource, &nStatus);
Gx5731ModuleSetStrobeSource, Gx5731ModuleSetExtStrobePolarity, Gx5731ModuleGetExtStrobePolarity, Gx5731ModuleSetExtStrobeEnablePolarity, Gx5731ModuleGetExtStrobeEnablePolarity