Project

General

Profile

Feature #23490

Last archived run number

Added by Gennadiy Lukhanin 9 months ago. Updated 7 months ago.

Status:
Work in progress
Priority:
Normal
Category:
artdaq-database
Target version:
-
Start date:
10/29/2019
Due date:
% Done:

70%

Estimated time:
Experiment:
-
Co-Assignees:
Duration:

Description

Add the ability to return the last archived run number.


Related issues

Related to ArtDaq RunControl GUI - Feature #23769: Display run numberClosed12/16/2019

History

#1 Updated by Gennadiy Lukhanin 9 months ago

  • % Done changed from 0 to 70
  • Status changed from New to Work in progress

#2 Updated by Iker de Icaza Astiz 7 months ago

#3 Updated by Iker de Icaza Astiz 7 months ago

On the Run Control GUI we are currently using show_recent_runs.sh and parsing the output to show the current run number.

However I feel like a cleaner way and easier to maintain in the future would be to have daqinterface writing a local variable that we can read.

#4 Updated by John Freeman 7 months ago

Please note that you can have the GUI directly control the run number - i.e., instead of it calling

send_transition.sh start

and having DAQInterface figure out the highest run number and then add +1 to it, you could make the run number explicit when sending the start transition, like so:
send_transition.sh start <run number>

...and DAQinterface will use whatever you pass it. That way the GUI will know all along what the run number is.



Also available in: Atom PDF