|
Back
Midas
Rome
Roody
Rootana
|
Midas DAQ System |
Not logged in |
|
|
15 Aug 2024, Scott Oser, Forum, "Safe" abort of sequencer scripts
|
19 Aug 2024, Stefan Ritt, Forum, "Safe" abort of sequencer scripts
|
22 Aug 2024, Scott Oser, Forum, "Safe" abort of sequencer scripts
|
02 Dec 2024, Stefan Ritt, Forum, "Safe" abort of sequencer scripts
|
11 Sep 2024, Konstantin Olchanski, Forum, "Safe" abort of sequencer scripts
|
|
Message ID: 2805
Entry time: 19 Aug 2024
In reply to: 2804
Reply to this: 2809
|
Author: |
Stefan Ritt |
Topic: |
Forum |
Subject: |
"Safe" abort of sequencer scripts |
|
|
This request came more than once in the past. One thing I could implement is a "atexit" function similarly to the C funciton atexit().
Then we would have a function in the script which gets called whenever one does "stop immediately". This function can then restore
some ODB values or do whatever is necessary.
If the sequencer gets killed in the middle, it can safely be restarted since the complete sequencer state is kept in the ODB under
/Sequencer/State. After the restart, the sequencer continues exactly where it has been killed before.
Would that solve your problem?
Stefan |