2D Histogramming

This option requires Data Acquisition software release 191005 or later. MVME5500 as the processor is recommended.

Select MIDAS main menu => Experiment Control => Setup Options => 2D Histogram Configuration.



Here you can define the parameter pairs you wish to be histogrammed. You will require one table entry for each 2D histogram you require.
Supply the histogram name and X/Y dimensions. The data identification (label) for the X and Y coordinates can be supplied as either a 16 bit value or the group/item values (label = 256*item + group). For each cordinate (X/Y) the channel is calculated by (data - offset) >> shift. This permits, for example, a 12 bit adc data item (4096 channels) to be used in a 128*128 2D histogram by using a shift of 5. After processing any data item outside the range of the 2D histogram (ie < 0 or > dimension) will be ignored.
Finally when you have defined all 2D histograms click on Save configuration or Save configuration and finish.

The configuration save file is simple text. You can edit or create by any means you wish. Any line starting with a # is ignored but comment lines in the file will be lost if you edit using the GUI.
The file created by the Save Configuration option starts with a comment line which describes the file format.

#  format is  "%32s %8d %8d   0x%04x %8d %8d   0x%04x %8d %8d"   name xdim ydim xlabel xoffset xshift ylabel yoffset yshift
The 2D histogram configuration file will be used to create the histograms and configure the Data Acquisition program during SETUP.
Additionally you can reconfigure the 2D histogramming at any time by Select MIDAS main menu => Experiment Control => Setup Options => Create 2D Histograms.