Gx5731ModuleGetVThreshold

Applies To

GX5701

Purpose

Returns the Module’s Threshold voltage.

Syntax

Gx5731ModuleGetVThreshold (nHandle, nPort, pdVThreshold, 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.   
pdVThreshold
PDOUBLE
Returned Module’s threshold voltage. Threshold voltage range is from –30 to +30 volts with resolution of 16 bits.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Example

The following example returns the threshold voltage of module port 0:

 

SHORT nStatus;

DOUBLE dVThreshold;

Gx5731ModuleSetVThreshold (nHandle, GX5731_PORT0, &dVThreshold, &nStatus);

 

See Also

Gx5731ModuleSetVThreshold, Gx5731ModuleGetType