Difference between revisions of "Experiment.cfg"

From MCEWiki
(Created page with '= Overview = = Basic configuration = To setup an array for the first time, be sure to set the following parameters: * #array_id * #hardware_rc * [[ #hardware_sync ]…')
 
Line 13: Line 13:
  
 
== System parameters ==
 
== System parameters ==
 +
 +
===array_id===
 +
A string identifying the array.  Unless you have multiple array setups that require different configuration files, use "default".
  
 
== Array description parameters ==
 
== Array description parameters ==
  
 
===hardware_rc===
 
===hardware_rc===
A list of 4 integers, identifying the presence (in the MCE) of each readout card.  e.g. for RC1 and RC2 use:
+
A list of 4 integers (boolean), identifying the presence (in the MCE) of each readout card.  e.g. for RC1 and RC2 use:
 
  hardware_rc = [1,1,0,0];
 
  hardware_rc = [1,1,0,0];
 +
 +
===hardware_sync===
 +
An integer (boolean) identifying the presence of a sync box.  This doesn't actually do anything -- use [[ #config_sync ]] to enable or disable the MCE's use of a connected syncbox.
 +
 +
===hardware_rect===
 +
An integer (boolean) identifying the use of "rectangle mode" firmware on the MCE.  Firmware revisions from v5.0.0 are "rectangle mode".  The RC and CC configuration steps change substantially between non-rectangle and rectangle mode firmware so it is critical to set this flag correctly.
 +
  
 
== Tuning control parameters ==
 
== Tuning control parameters ==

Revision as of 13:20, 7 January 2011

Overview

Basic configuration

To setup an array for the first time, be sure to set the following parameters:

Parameter types

System parameters

array_id

A string identifying the array. Unless you have multiple array setups that require different configuration files, use "default".

Array description parameters

hardware_rc

A list of 4 integers (boolean), identifying the presence (in the MCE) of each readout card. e.g. for RC1 and RC2 use:

hardware_rc = [1,1,0,0];

hardware_sync

An integer (boolean) identifying the presence of a sync box. This doesn't actually do anything -- use #config_sync to enable or disable the MCE's use of a connected syncbox.

hardware_rect

An integer (boolean) identifying the use of "rectangle mode" firmware on the MCE. Firmware revisions from v5.0.0 are "rectangle mode". The RC and CC configuration steps change substantially between non-rectangle and rectangle mode firmware so it is critical to set this flag correctly.


Tuning control parameters