/Experiment ODB tree: Difference between revisions

From MidasWiki
Jump to navigation Jump to search
No edit summary
(The midas documentation has moved to https://midas.triumf.ca/docs/)
Tag: Replaced
 
(44 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Creating the <span style="color: purple;">''/Experiment''</span>  tree ==
The midas documentation has moved. See [https://midas.triumf.ca/docs/develop/reference/reference/odb_keys/#experiment /Experiment] on the ODB keys page for the new documentation about the /Experiment ODB keys.
The <span style="color: purple;">''/Experiment''</span> ODB tree is created automatically when the [[odbedit #Creating the ODB|ODB is first created]].
 
== Purpose ==
The <span style="color: purple;">''/Experiment''</span> 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 <span style="color: purple;">''/Experiment''</span> 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 <span style="color: purple;">''/Experiment''</span> tree==
 
The keys in the ODB <span style="color: purple;">''/Experiment tree''</span>
are described in the following sections.
 
=== <span style="color: purple;">''/Experiment/Name ''</span>  ===
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
* '''Type:''' STRING
* '''Default:''' 
</div>
Contains the name of the experiment. Filled automatically when the ODB is created with
 
<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/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>

Latest revision as of 22:00, 30 October 2026

The midas documentation has moved. See /Experiment on the ODB keys page for the new documentation about the /Experiment ODB keys.