View Issue Details

IDProjectCategoryView StatusLast Update
0002022CCdciel[All Projects] Generalpublic18-11-15 23:04
ReporterCedric RaguenaudAssigned ToPatrick Chevalley 
PrioritynormalSeverityminorReproducibilityN/A
Status confirmedResolutionopen 
Product Version 
Target Version2.0Fixed in Version 
Summary0002022: Suggestion: keep track of targets in sequence
DescriptionI think this is on the roadmap already, but I had a quick stab at the idea.

It's the next big thing for me (and probably for anyone who uses filters, long sequences, or long exposure sequences): as tagets are visited, keep track of them in a file so that next time the sequence is run, targets that have already been visited aren't revisited.

This needs to also record filters, number of exposures (compared to what the plan requires) and other possible variable parameters of a target.
Steps To ReproduceThis will require a checkbox to say "ignore history" in the sequence start tab (e.g. near "run unattended") so that a sequence can be restarted from scratch (default not checked).

My best guess looking at the code quickly:
- in T_Targets.InitTarget, load the history file for the sequence (e.g. sequencename.history.xml). If the target/filter/# exposures have already been run, return not ok for this target.
- if the plan is partially completed, set the last saved status.
- in T_Plan.Start adjust the current step based on the history of the target.
- in T_Plan.NextStep record each completed step to the history file.
- in T_Targets.NextTargetAsync once the sequence is completed without error, record the fact in the history file.

I wish I could implement that, but I don't have enough time to relearn Pascal.
TagsNo tags attached.

Relationships

related to 0001894 assignedPatrick Chevalley Flexibility in sequence editing while running 

Activities

Patrick Chevalley

18-11-15 23:04

administrator   ~0005083

Yes this is something very useful but I not want to do that before a complete rework of the scheduler.
The actual code is a complete mess because at start I wanted something very simple but I added feature over feature until I get this big spaghetti plate. It work but it is very difficult to touch something without introducing new bug.

I plan this change for version 2.0, and I attache this issue to 0001894 where there is already a few other.

Issue History

Date Modified Username Field Change
18-11-15 13:59 Cedric Raguenaud New Issue
18-11-15 23:04 Patrick Chevalley Assigned To => Patrick Chevalley
18-11-15 23:04 Patrick Chevalley Status new => confirmed
18-11-15 23:04 Patrick Chevalley Target Version => 2.0
18-11-15 23:04 Patrick Chevalley Note Added: 0005083
18-11-15 23:04 Patrick Chevalley Relationship added related to 0001894