GX5701
Gx5731ModuleGetVThreshold (nHandle, nPort, pdVThreshold, pnStatus)
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. |
The following example returns the threshold voltage of module port 0:
SHORT nStatus;
DOUBLE dVThreshold;
Gx5731ModuleSetVThreshold (nHandle, GX5731_PORT0, &dVThreshold, &nStatus);