Page: 68/81 User Manual PSU-CTRL-2D, Rev.1-00: Software Interface
Configuration Management
Function COM_HVPSU2D_ResetCurrentConfig
int COM_HVPSU2D_ResetCurrentConfig
(WORD PortNumber);
Command: *
©
Response: *
©
Resets the current configuration and returns an error code according
to Tab. 10.
This function resets all configuration values of the PSU modules.
It resets the values of the output voltages and currents
(see functions
COM_HVPSU2D_GetPSUOutputVoltage
and
COM_HVPSU2D_GetPSUOutputCurrent
), enables the device
(see function
), enables the PSU
modules (see function
), enables
their full range (see function
and disables the interlock loops (see function
COM_HVPSU2D_GetInterlockEnable
).
It is recommended to call this function before setting up a new con-
figuration.
If the direct command (
*
©
) is executed successfully, the device re-
sponds by repeating the command characters.
Function COM_HVPSU2D_SaveCurrentConfig
int COM_HVPSU2D_SaveCurrentConfig
(WORD PortNumber, unsigned ConfigNumber);
Command: J
NN
©
Response: J
NN
©
Saves the current device configuration to the configuration in the NVM
with the number given by the variable
ConfigNumber
and returns an
error code according to Tab. 10.
The configuration with the number given by the variable
ConfigNumber
can be any integer between 0 and
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]