Sequencer

From MidasWiki
Revision as of 14:36, 17 December 2013 by Pierre (talk | contribs)
Jump to navigation Jump to search

A new sequencer for starting and stopping runs was implemented in Jun 2011. Since then development has continued, with more commands being added, and the option of using a Midas Script Language (MSL) for commands, in addition to the XML language.

The sequencer runs inside mhttpd, and creates a new ODB subdirectory /Sequencer. Pressing the Sequencer button (if shown) on the mhttpd main status page will display the Sequencer page. The sequencer runs scripts in XML or MSL (Midas Script Language) format, which reside on the server (where mhttpd is running).

The sequencer is stateless, meaning that even if mhttpd is stopped and restarted, it resumes operation from where it has been stopped.

Sequencer Commands

The following commands are implemented in the MIDAS sequencer. The upper syntax is for the XML file, the lower for the MSL (Midas Script Language).

Variable names are indicated in italic, options are enclosed in [brackets].