Gx5733ModuleSetVThreshold

Applies To

GX5701

Purpose

Sets the Module’s Threshold voltage.

Syntax

Gx5733ModuleSetVThreshold (nHandle, nPort, dVThreshold, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX5733 board.
nPort
SHORT
Module port 0 (GX5733_PORT0) only.
dVThreshold
SHORT
Returned Module’s threshold voltage. Threshold voltage range is from –12 to +12 volts with resolution..
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Example

The following example sets module port 0 the threshold voltage to 6.5 volts:

 

SHORT nStatus;

 

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

 

See Also

Gx5733ModuleGetVThreshold, Gx5733ModuleGetType