User's Manual

Serial communication protocol
o 4 sum (1 param = nr_of_samples)
o 5 first value (1 param = nr_of_samples)
o 6 last value (1 param = nr_of_samples)
<nr_of_input_pcs> — The number of input channels used for this
calculation.
<pc> — The physical channel(s) (currently only 1, later on up to 3) used
as input(s).
<mask for which outputs to use> — A bitmask denoting the
position in the list of logical channels used as outputs.
<nr_of_output_lcs> — The number of output channels used for this
calculation.
<lc> — The logical channel(s) (currently only 1, later on up to 3) used as
output(s).
<nr_of_params> — The number of parameters given to this calculation.
<param> — The parameters for this calculation.
REMARKS: This command belongs to the new class of table commands.
RETURNS: The commands error of success code, or the current configuration.
REMOTE: Yes, via XCONF.
EXAMPLES:
COMP
DESCRIPTION: This command sets one or lists (all or one) ADCs compensation information. The
<adc_nr> specifies:
0: ADC on A740 motherboard
1: ADC on 1st expansion box
2: ADC on 2nd expansion box
3: ADC on 3rd expansion box
The offset values are per analog input line, and the gain values are valid per gain,
but are the same for all input lines and are used as a factor as in the formula:
measured-value{line} * k{gain} / 8191 + d{line}
PARAMETERS: COMP lists all ADCs compensation values
COMP <adc_nr>[+] lists ADC <adc_nr>'s compensation values
COMP <adc_nr> <4 gain(k) values> <8 offset (d) values>
set ADC <adc_nr>'s compensation values
COMP ? returns number of ADCs (both for max and used)
REMARKS: This command belongs to the new class of table commands. But it cannot and
does not implement the full syntax (e.g. deletions)
RETURNS:
REMOTE: Yes, via XCONF.
EXAMPLES:
41