[SCHEDULER-1165]  Dawn Cal Frames After Weather Interrupts Dawn Flats
Type Bug
Priority Medium
Severity Minor
Component Dispatch Scheduler Engine
Fixed In Version [3.73.7
Versions Affected [3.63.6
Severity Closed
Resolution Complete
Reported By Bob Denny
Resources Bob Denny
Start Date 7/26/2014

Description
See this Comm Center thread by Andre Ioda.

Every time, when weather become unsafe during acquiring dawn flats i get error to take cal frames. The bug (as i suppose) is in checking shutter while it is closing. In my dome (ScopeDome v3) shutter is closing during 50 seconds and when weather becomes unsafe the script of weather starts and close shutter. But in this time ACP Scheduler is starting acquiring cal frames and getting error that shutter is open.



Comments
7/26/2014 10:31:08 AM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 371
Affected files /trunk/Help/RelNotes.htm (Modified)
/trunk/Scheduler/ACPSequencer.cs (Modified)
/trunk/Scheduler/ISequencer.cs (Modified)
Check-in comment Wait for completion of weather safety script if called-for script is interrupted by weather unsafe event. GEM:1165
7/26/2014 10:18:57 AM   Bob Denny
After much logic tracing and analysis, the simple solution is to have ISequencer.RunScript() wait for the weather safety script to complete before returning. This prevents problems in several areas, actually. In other words, we can now depend on RunScript() not to return until all script activity in ACP has finished.