Page: 52/81 User Manual PSU-CTRL-2D, Rev.1-00: Software Interface
Device Control
Function COM_HVPSU2D_GetInterlockEnable
int COM_HVPSU2D_GetInterlockEnable
(WORD PortNumber, BOOL & ConOut,
BOOL & ConBNC);
Command: l
©
Response: l
OB
©
Saves the interlock-enable flags in the variables
ConOut
and
ConBNC
and returns an error code according to Tab. 10.
If the variable
ConOut
is true, the interlock loop in the output connec-
tor is enabled and thus, if the loop is open, it disables the function of
the power supply units. The variable
ConBNC
serves the same pur-
pose for the interlock at the BNC connector. If both interlock loops are
enabled, they both must be closed to enable the function of the power
supply units.
The response to the direct command (
l
©
) contains two Boolean
characters (
OB
) for the variables
ConOut
and
ConBNC
, respectively.
Function COM_HVPSU2D_SetInterlockEnable
int COM_HVPSU2D_SetInterlockEnable
(WORD PortNumber, BOOL ConOut,
BOOL ConBNC);
Command: l
OB
©
Response: l
OB
©
Sets the interlock-enable flags to the values given by the variables
ConOut
and
ConBNC
and returns an error code according to Tab. 10.
For more details, see function
COM_HVPSU2D_GetInterlockEnable
.
The direct command (
l
OB
©
) contains two Boolean characters (
OB
) for
the variables
ConOut
and
ConBNC
, respectively. If the command is
executed successfully, the device responds by repeating the com-
mand 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]