Run Number not seen to be increasing on Status panel
We have found that the run number in the status diagram seems not to update if one stops the run, goes back to ready, and then starts a run from there again
#2 Updated by Esteban Cristaldo 8 months ago
- % Done changed from 0 to 30
- Status changed from Assigned to Under Discussion
I have found that there is an issue with the "show_recent_runs.sh" script which retrieves the <last N runs> as described in the usage. The issue at hand is that the script does not retrieve the last N runs. The GUI relies on this script to update the Run number in the state diagram.
#4 Updated by Esteban Cristaldo 8 months ago
- % Done changed from 30 to 100
- Status changed from Under Discussion to Resolved
In revision acac659a, a header file is added gui_utility_functions.hpp is added where daqInterfaceState::parseRun_number() is moved and used as a non-member function in daqinterfacestate.cpp and xmlrpc_gui_comm.cpp to fetch the current run number. The implemented function replaces the method of retrieving the run number iterating the run_records folder by parsing the output of "show_recent_runs.sh".