Page: 76/81 User Manual PSU-CTRL-2D, Rev.1-00: Software Interface
The response to the direct command (
V
©
) contains 4 hexadecimal
digits (
vvvv
) for the variable
Version
.
Function COM_HVPSU2D_GetFWDate
int COM_HVPSU2D_GetFWDate (WORD PortNumber,
char * DateString);
Command: D
©
Response: D
dd
..
d
©
Saves the device's firmware date in the variable
DateString
and re-
turns an error code according to Tab. 10.
The return value in the variable
DateString
is a null-terminated
character string with the firmware compilation date. The buffer passed
to the function must be created before the function call, it must be at
least 16 bytes long.
The response to the direct command (
D
©
) usually contains 11 charac-
ters (
dd..d
) for the variable
DateString
.
Function COM_HVPSU2D_GetProductNo
int COM_HVPSU2D_GetProductNo
(WORD PortNumber, DWORD & Number);
Command: N
©
Response: N
nnnnnnnn
©
Saves the device's product number in the variable
Number
and re-
turns an error code according to Tab. 10.
The response to the direct command (
N
©
) contains 8 hexadecimal
digits (
nnnnnnnn
) for the variable
Number
.
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]