GX5701
Gx5731ModuleSetVThreshold (nHandle, nPort, dVThreshold, 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. |
dVThreshold |
SHORT |
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 sets module port 0 the threshold voltage to 6.5 volts:
SHORT nStatus;
Gx5731ModuleSetVThreshold (nHandle, GX5731_PORT0, 6.5, &nStatus);