CAEN
Electronic Instrumentation
803x Series 8-16 Ch. Programmable HV Power Supplies
25
The module response is the list of channel parameters:
#CMD:OK,VAL:<chpar_list><CR><LF>
The c
hannel parameters are separated by ‘;’
Parameter descriptor
Each parameter is associated with a descriptor, whose list is:
uint TYPE
-> parameter type = {NUMERIC, ONOFF, CHSTATUS, BDSTATUS, BINARY,
STRING,ENUM}
uint ACC
-> parameter Access = {READ, WRITE, READ / WRITE}
uint MIN
-> minimum value
uint MAX
-> maximum value
uint DEC
-> number of decimal digits
uint RES
-> resolution
int EXP
-> exponential of unit of measure
char UM[ ]
-> unit of measure
char ON_STATE[ ] -> state on of boolean type
char OFF_STATE [ ] -> state off of boolean type
// 'define' for parameter type described by data format
#define NUMERIC
0
#define ONOFF
1
#define CHSTATUS
2
#define BDSTATUS
3
#define BINARY
4
#define STRING
5
#define ENUM
6
#define READ
0
#define WRITE
1
#define READ_WRITE
2
INFO Commands
'INFO' attribute as response obtains the description of a board or channel parameter
The command :
$CMD:INFO,CH:<chan>,PAR:<ch_par><CR><LF>
Obtains the description of the channel parameter 'ch_par',
The command :
$CMD:INFO,PAR:<bd_par><CR><LF>
Obtains the description of the board parameter 'bd_par'
The response is:
#CMD:OK,VAL:<info_list><CR><LF>.
info_list is a string with the sequence of the values of the parameter descriptor, separated by ';' .
info_list = {par_type};{par_acc};{par_min};{par_max};{par_dec};{par_res};
{par_exp};{par_um};{par_onstate};{par_offstate}
Board Parameters
BDNAME
Module name
BDNCH
Module Channels number
BDFREL
Firmware Release
BDSNUM
Module serial number