The script SardanaChMg.py configures the measurement group, e.g.
SardanaChMg.py -g mg_haspp02ch2 -t exp_t01 -c exp_c01,exp_adc01,exp_vfc01 -m exp_mca01
If there is only one local MeasurementGroup, the name can be omitted.
If you want to add a new measurement group the option -p, with the name of the pool in
which the MeasurementGroup will be added, has to be used, e.g.
SardanaChMg.py -p my/pool/device -g mg_notexisting -t exp_t01 -c exp_c01,exp_adc01,exp_vfc01 -m exp_mca01
-c
: A comma-separated list of counters (countertimer devices in Sardana-speak).
Counters are e.g.: -c exp_c01,exp_adc01,exp_vfc01,exp_petra,exp_pilatus,sca_exp_mca01_0_8191.
Notice that there are no blanks near the commas.
The name sca_exp_mca01_0_8191 specifies a SCA. A corresponding Pool controller which drives a single device is created by this command. The user has to ensure that each MCA that is used by a SCA is selected by the -m option, see below. For sca_exp_mca01_0_8191 we have to supply a -m exp_mca01. The last two numbers (0, 8191) indicate the limits of the RoI (minimum, maximum) used by the SCA.
-e
: A comma-separated list of extra timers. They are operated in parallel to the master timer. This
parameter is optional.
-g
: The name of the MeasurementGroup.
-m
: A comma-separated list of MCAs, e.g.: -m exp_mca01,exp_mca02,exp_mca03
-n
: A comma-separated list of counters which are used during the measurement but not displayed.
--nd
: A comma-separated list of counters which are used during the measurement but not displayed.
--no
: A comma-separated list of counters which are used during the measurement but generate no
column in spock.
--ndo
: A comma-separated list of counters which are used during the measurement but not displayed and
generate no column in spock.
-p
: Selects the Pool. This parameter is optional. If the corresponding MeasurementGroup
exists, the Pool is found by the script.
-q
: Selects Pilatus detectors, e.g. pilatus300k.
-t
: Selects the master timer, mandatory.