The configuration file
The configuration files (/mnt/x1a/config_stxmi.dat, /mnt/x1a/config_stxmo.dat)
contain a set of parameters which are read in at startup of sm_server. They mainly tell
about the configuration of the ADC. After you have changed them, you will have to restart
sm_server, to make them become activated. They are (parameter example):
- microscope "x1ais"
A string containing the name/abbreviation of the microscope. Will be used as prefix to all
data files.
- adc_unipolar 0
A boolean variable.
0: the ADC is configured to read bipolar voltages (from -5V to +5V).
1: the ADC is configured to read unipolar voltages (from 0 to +10V).
Unfortunately this cannot be picked for each ADC channel individually.
- adc_channel_names "Unused01","Sidet01","Something",....
This is a vector of strings naming each of the 16 ADC channels, of which you HAVE to specify
all. They are given in their logical order (0-15). Channels starting with Sidet refer
to the silicon detector and are treated as such in all data acquisition/analysis programs.
They are sorted first in the data channels list. Channels starting with Unused are
treated as being inactive. They are sorted last of the ADC channels in the data channels list
and cannot be selected to be recorded. All other names denote channels which can be recorded
and displayed but are (currently) not used in any analysis software.
- adc_channel_gains 1,-1,2,....
A vector setting the gain of each of the 16 ADC channels, of which you HAVE to specify all.
1: No gain - Range of 10V at 153
V resolution.
2: Gain of 2 - Range of 5V at 76
V resolution.
-1: Gain of 1/2 - Range of 20V at 305
V resolution.
- adc_volt_offsets 0.0,2.34,0.12,...
A vector introducing a volt offset for each of the 16 ADC channels, of which you HAVE to
specify all. You can for example correct for an offset of a faulty channel (if constant) or
introduce some artificial offset to a signal.
- sidet_chip_name "Some Name"
A string specifying the name of the silicon chip in the segmented detector.
- sidet_chip_design "Some Design"
A string naming the design of the silicon chip in the segmented
detector. It should be the same as the corresponding
"configuration" which is accepted by the IDL routine
det_segments.pro (currently: "8
segment original").
Holger Fleckenstein
2008-07-08