Page: 69/81 User Manual PSU-CTRL-2D, Rev.1-00: Software Interface
COM_HVPSU2D_MAX_CONFIG-1
(see the declaration file
COM-HVPSU2D.h
).
Note that the call to the function
overwrites the previously
saved configuration data without any warning.
Any configuration stored in the NVM can be restored, i.e.
loaded as the current device configuration by the function
.
The direct command (
J
NN
©
) contains two hexadecimal digits (
NN
) for
the variable
ConfigNumber
. If the command is executed success-
fully, the device responds by repeating the command characters.
Function COM_HVPSU2D_LoadCurrentConfig
int COM_HVPSU2D_LoadCurrentConfig
(WORD PortNumber, unsigned ConfigNumber);
Command: j
NN
©
Response: j
NN
©
Loads the current device configuration from the configuration in the
NVM with the number given by the variable
ConfigNumber
and re-
turns an error code according to Tab. 10.
There must be a saved configuration in the NVM from a prior call to
the function
, otherwise the call
to the function
For more details, see function
.
The direct command (
j
NN
©
) contains two hexadecimal digits (
NN
) for
the variable
ConfigNumber
. If the command is executed success-
fully, 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]