BNMR: Run numbering: Difference between revisions
en>Suz mNo edit summary |
en>Suz mNo edit summary |
||
Line 9: | Line 9: | ||
== Introduction == | == Introduction == | ||
{{bnmqr|join=and}} experiments use the MUSR run number scheme, whereby "Real" runs are assigned a run number in a certain [[#Run Number Ranges|range]] depending on the beamline. All "Test" runs have a run number selected from the test run number [[#Run Number Ranges|range]] (independent of beamline). | {{bnmqr|join=and}} experiments use the MUSR run number scheme, whereby "Real" runs are assigned a run number in a certain [[#Run Number Ranges|range]] depending on the beamline. All "Test" runs have a run number selected from the test run number [[#Run Number Ranges|range]] (independent of beamline). | ||
This means that the selection of the next run number is controlled by software (see [[#Automatic selection of the run number]]). | |||
== User selects TEST or REAL run == | |||
On the [[BNMR: Custom Status page|custom Status page]] the user selects either a TEST or REAL run by pressing the appropriate button. These buttons are custom script buttons, which call a perlscript to [[#Automatic selection of the run number|select the next run number]]. | |||
== Run Number Ranges == | == Run Number Ranges == | ||
Line 25: | Line 27: | ||
users are prevented from [[#Prevent User from editing run number|editing the run number]]. | users are prevented from [[#Prevent User from editing run number|editing the run number]]. | ||
== | == User prevented from editing run number == | ||
By default, the MIDAS system allows the user to edit the run number at the begin-of-run. MIDAS provides a way of | By default, the MIDAS system allows the user to edit the run number at the begin-of-run. MIDAS provides a way of | ||
[https://midas.triumf.ca/MidasWiki/index.php/Edit-on-start_Parameters#Prevent_the_run_number_being_edited_at_Run_Start preventing editing of the run number]. | [https://midas.triumf.ca/MidasWiki/index.php/Edit-on-start_Parameters#Prevent_the_run_number_being_edited_at_Run_Start preventing editing of the run number]. |
Revision as of 13:38, 6 November 2018
Introduction
bnmr and bnqr experiments use the MUSR run number scheme, whereby "Real" runs are assigned a run number in a certain range depending on the beamline. All "Test" runs have a run number selected from the test run number range (independent of beamline). This means that the selection of the next run number is controlled by software (see #Automatic selection of the run number).
User selects TEST or REAL run
On the custom Status page the user selects either a TEST or REAL run by pressing the appropriate button. These buttons are custom script buttons, which call a perlscript to select the next run number.
Run Number Ranges
The following run number ranges have been assigned:
- BNMR
- 40001 - 44499 inclusive
- BNQR
- 45001 - 49999 inclusive
- test
- 30001 - 30499 inclusive
Automatic selection of the run number
The selection of the next run number is done automatically, controlled by the perlscript get_next_run_number.pl. This script is called by mdarc which saves the data, and indirectly by the test and real buttons on the BNMR: Custom Status page.
Without the automatic checking, duplicate runs between I-MUSR and TD-MUSR and holes in the run numbering are inevitable. To preserve the automatic run numbering scheme, users are prevented from editing the run number.
User prevented from editing run number
By default, the MIDAS system allows the user to edit the run number at the begin-of-run. MIDAS provides a way of preventing editing of the run number. This is implemented in the ODB of both the bnmr and bnqr experiments, e.g.
[local:bnqr:Stopped]/>ls "/experiment/Edit on start/Edit run number" Edit run number n