GX5702, GX5704
Sets the Module’s Output Strobe Width.
Gx5731ModuleGetOutputStrobeWidth (nHandle, nPort, pnStrobeWidth, 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. |
pnStrobeWidth |
PSHORT |
Returned integer value representing the Output Strobe Width in nSec. Strobe Width value range is 50 to 5000 with resolution of 50nSec. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The following example returns the module port 0 strobe width:
SHORT nStrobeWidth, nStatus;
Gx5731ModuleGetOutputStrobeWidth (nHandle, GX5731_PORT0, &nStrobeWidth, &nStatus);
Gx5731ModuleSetOutputStrobeWidth, Gx5731ModuleSetStrobeSource