Difference between revisions of "/Experiment ODB tree"

From MidasWiki
Jump to navigation Jump to search
(Created page with "== Creating the <span style="color: purple;">''/Experiment''</span> tree == The <span style="color: purple;">''/Experiment''</span> ODB tree is created automatically when the...")
 
Line 35: Line 35:
 
<br>
 
<br>
  
 +
=== <span style="color: purple;">''/Experiment/Buffer Sizes ''</span> subtree ===
 +
Contains the sizes of the Midas Buffers for the experiment. Created with default values. The sizes can be changed to optimize the memory usage. See [[Event Buffer]] Size(s) for details.
 +
<br>
 +
--------
 +
<br>
  
=== <span style="color: purple;">''/Experiment/Name ''</span>  ===
 
  
 +
=== <span style="color: purple;">''/Experiment/Menu Buttons ''</span>  ===
 +
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
 +
* '''Type:''' STRING
 +
* '''Default:'''  "Start, Pause, ODB, Messages, ELog, Alarms, Programs, History, Sequencer, Config, Help"
 +
</div>
 +
This key is added automatically by [[mhttpd]] to allow the Menu buttons that appear on the [[mhttpd Main Status Page]] to be customized.
 +
If [[MSCB]] support is built into MIDAS, the MSCB Menu button will also be shown.
 
<br>
 
<br>
 
--------
 
--------
 
<br>
 
<br>

Revision as of 19:16, 20 August 2013

Creating the /Experiment tree

The /Experiment ODB tree is created automatically when the ODB is first created.

Purpose

The /Experiment ODB tree contains information relevent to the experiment. Many optional keys can be added by the user to customize their experiment.


Example

When initially created, the /Experiment tree contains the following keys:

[local:midas:S]/>ls -lrt /experiment
Key name                        Type    #Val  Size  Last Opn Mode Value
---------------------------------------------------------------------------
Experiment                      DIR
   Name                        STRING  1     32    14s  0   RWD  midas
   Buffer sizes                DIR
       SYSMSG                  DWORD   1     4     11h  0   RWD  100000


Keys in /Experiment tree

The keys in the ODB /Experiment tree are described in the following sections.

/Experiment/Name

  • Type: STRING
  • Default:

Contains the name of the experiment. Filled automatically when the ODB is created with




/Experiment/Buffer Sizes subtree

Contains the sizes of the Midas Buffers for the experiment. Created with default values. The sizes can be changed to optimize the memory usage. See Event Buffer Size(s) for details.




/Experiment/Menu Buttons

  • Type: STRING
  • Default: "Start, Pause, ODB, Messages, ELog, Alarms, Programs, History, Sequencer, Config, Help"

This key is added automatically by mhttpd to allow the Menu buttons that appear on the mhttpd Main Status Page to be customized. If MSCB support is built into MIDAS, the MSCB Menu button will also be shown.