GX5701
Gx5733ModuleSetVThreshold (nHandle, nPort, dVThreshold, pnStatus)
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. |
The following example sets module port 0 the threshold voltage to 6.5 volts:
SHORT nStatus;
Gx5733ModuleSetVThreshold (nHandle, GX5733_PORT0, 6.5, &nStatus);
Gx5733ModuleGetVThreshold, Gx5733ModuleGetType