Page: 61/81 User Manual PSU-CTRL-2D, Rev.1-00: Software Interface
variable
Voltage
(
VVVVV
). The voltage value is in mV, i.e. in order to
convert it into a value in V, it has to be divided by 10
3
.
Function COM_HVPSU2D_SetPSUOutputVoltage
int COM_HVPSU2D_SetPSUOutputVoltage
(WORD PortNumber, unsigned PSU,
double Voltage);
Command: O
nVVVVV
©
Response: O
nVVVVV
©
Sets the output voltage of the PSU module with the number
PSU
to the
value in the variable
Voltage
and returns an error code according to
For more details, see function
COM_HVPSU2D_GetPSUOutputVoltage
.
The direct command (
O
nVVVVV
©
) contains one decimal character (
n
)
for the variable
PSU
followed by 5 hexadecimal digits for the variable
Voltage
(
VVVVV
). The voltage value is in mV, for the parameter unit
conversion, see function
COM_HVPSU2D_GetPSUOutputVoltage
. If
the command is executed successfully, the device responds by re-
peating the command characters.
Function COM_HVPSU2D_GetPSUSetOutputVoltage
int COM_HVPSU2D_GetPSUSetOutputVoltage
(WORD PortNumber, unsigned PSU,
double & VoltageSet,
double & VoltageLimit);
Command: o
n
©
Response: o
nSSSSSLLLLL
©
Saves the set output voltage and the voltage limit of the PSU module
with the number
PSU
in the variables
VoltageSet
and
Volt-
ageLimit
, and returns an error code according to Tab. 10.
CGC Instruments
Tel.: +49 (371) 355 098–55
Hübschmannstr. 18 | D–09112 Chemnitz
Fax: +49 (371) 355 098–60
internet: www.cgc-instruments.com
e–mail: [email protected]