Gx5731ModuleSetOutputStrobeWidth

Applies To

GX5702, GX5704

Purpose

Sets the Module’s Output Strobe Width.

Syntax

Gx5731ModuleSetOutputStrobeWidth (nHandle, nPort, pnStrobeWidth, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX5733 board.
nPort
SHORT
Specified Module's port number:
0. GX5731_PORT0: Module port 0
1. GX5731_PORT1: Module port 1
2. GX5731_PORT2: Module port 2.  
pnStrobeWidth
PSHORT
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.

Example

The following example set module port 0 strobe width to 100nSec:

 

SHORT nStrobeWidth, nStatus;

 

Gx5731ModuleSetOutputStrobeWidth (nHandle, GX5731_PORT0, &nStrobeWidth, &nStatus);

 

See Also

Gx5731ModuleGetOutputStrobeWidth, Gx5731ModuleSetStrobeSource