Gx5731ModuleGetOutputStrobeWidth

Applies To

GX5702, GX5704

Purpose

Sets the Module’s Output Strobe Width.

Syntax

Gx5731ModuleGetOutputStrobeWidth (nHandle, nPort, pnStrobeWidth, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX5731 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
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.

Example

The following example returns the module port 0 strobe width:

 

SHORT nStrobeWidth, nStatus;

 

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

 

See Also

Gx5731ModuleSetOutputStrobeWidth, Gx5731ModuleSetStrobeSource