Page: 58/81 User Manual PSU-CTRL-2D, Rev.1-00: Software Interface
Function COM_HVPSU2D_GetPSUEnable
int COM_HVPSU2D_GetPSUEnable
(WORD PortNumber, BOOL & PSU0,
BOOL & PSU1);
Command: e
©
Response: e
BB
©
Saves the state of the enable flags of the PSU modules in the vari-
ables
PSU0
and
PSU1
and returns an error code according to Tab. 10.
If the variable
PSU0
or
PSU1
is true the respective PSU module is en-
abled.
The response to the direct command (
e
©
) contains two Boolean
characters (
BB
) for the variables
PSU0
and
PSU1
, respectively.
Function COM_HVPSU2D_SetPSUEnable
int COM_HVPSU2D_SetPSUEnable
(WORD PortNumber, BOOL PSU0, BOOL PSU1);
Command: e
BB
©
Response: e
BB
©
Sets the enable flags of the PSU modules to the values given by the
variables
PSU0
and
PSU1
and returns an error code according to
For more details, see function
.
The direct command (
e
BB
©
) contains two Boolean characters (
BB
) for
the variables
PSU0
and
PSU1
, respectively. If the command is exe-
cuted successfully, the device responds by repeating the command
characters.
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]