Gx5733ModuleGetVThreshold

Applies To

GX5701

Purpose

Returns the Module’s Threshold voltage.

Syntax

Gx5733ModuleGetVThreshold (nHandle, nPort, pdVThreshold, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX5733 board.
nPort
SHORT
Module port 0 (GX5733_PORT0) only.
pdVThreshold
PDOUBLE
Returned Module’s threshold voltage. Threshold voltage range is from –12 to +12 volts with resolution of ….
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;

Gx5733ModuleSetVThreshold (nHandle, GX5733_PORT0, &dVThreshold, &nStatus);

 

See Also

Gx5733ModuleSetVThreshold, Gx5733ModuleGetType