ADC channel information

The part of the configuration file that pertains to ADC channels and the signals connected to them (typically the Segmented silicon detector segments) reads as follows:

% Specify the usage of ADC channels in their natural order (0-15)
adc_channel_names "Sidet05","Sidet02","Unused",...,"Something"

% Specify the desired gains of the ADC channels
% in their natural order (0-15)
%1: no gain; 2: gain of 2; -1: gain of 0.5
adc_channel_gains  1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1

% Specify possible volt offsets of the ADC channels
% in their natural order (0-15)
adc_volt_offsets 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
In this example, the adc_channel_names tells the signals connected to each ADC channel. The order is strictly the order of ADC channels (from channel 0 to channel 15, with pinouts as described in Table 8.4). adc_channel_gains will contain integers indicating the gain to use on each ADC channel. Use gain=1 for 0-10 Volt signals, gain=2 for 0-5 Volt signals at twice the resolution, and gain=-1 for 0-20 Volt signals at half the resolution. The order is again the order of the ADC channels (0-15). adc_volt_offsets contains possible values by which to correct the voltage values for each channel (again in their order). The equation will be:

\begin{displaymath}
\mbox{\tt voltage}=\mbox{\tt binary}\cdot
\mbox{\tt adc\_voltsperbit}-\mbox{\tt adc\_voltoffset}
\end{displaymath}



Holger Fleckenstein 2008-07-08