GX5701, GX5702, GX5704
Gx5733ModuleSetStrobeSource (nHandle, nPort, nSource, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX5733 board. |
nPort |
SHORT |
Module port 0 (GX5733_PORT0) only. |
pnSource |
SHORT |
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 function for more details.
If the Strobe Source is set to External see Gx5733ModuleSetExtStrobePolarity function for more details.
The following example set module port 0 Strobe Source to external:
SHORT nStatus;
Gx5733ModuleSetStrobeSource (nHandle, GX5733_PORT0, GX5733_MODULE_STROBE_EXTERNAL, &nStatus);
Gx5733ModuleGetStrobeSource, Gx5733ModuleSetInternalStrobeSource, Gx5733ModuleGetInternalStrobeSource, Gx5733ModuleSetExtStrobePolarity, Gx5733ModuleGetExtStrobePolarity Gx5733ModuleGetInternalStrobeSource, Gx5733ModuleGetExtStrobeEnablePolarity