GX5701, GX5702, GX5704
Returns the Module’s Strobe Source.
Gx5733ModuleGetStrobeSource (nHandle, nPort, pnSource, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX5733 board. |
nPort |
SHORT |
Module port 0 (GX5733_PORT0) only. |
pnSource |
PSHORT |
Return the Strobe Source as follow:0. GX5733_MODULE_STROBE_INTERNAL: Strobe source is internal.1. GX5733_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 Gx5733ModuleSetInternalStrobeSource functions for more details.
If the Strobe Source is set to External see Gx5733ModuleSetExtStrobePolarity and Gx5733ModuleSetExtStrobeEnablePolarity functions for more details.
The following example set module port 0 Strobe Source to external:
SHORT nSource, nStatus;
Gx5733ModuleGetStrobeSource (nHandle, GX5733_PORT0, &nSource, &nStatus);
Gx5733ModuleSetStrobeSource, Gx5733ModuleSetInternalStrobeSource, Gx5733ModuleGetInternalStrobeSource, Gx5733ModuleSetExtStrobePolarity, Gx5733ModuleGetExtStrobePolarity, Gx5733ModuleGetInternalStrobeSource, Gx5733ModuleSetExtStrobeEnablePolarity