Hi Steve -- The weather interrupts are disabled during shutdown. The root of this problem is shown in the Scheduler Engine Log 20230315@151952.txt:
Code:
...
2023-03-16 10:27:10.3: -- Observatory Shutdown --
2023-03-16 10:27:10.3: Weather safety is now disabled
2023-03-16 10:27:10.3: Start ACP Sequencer's ShutdownObs script
2023-03-16 10:27:49.9: ** ACP script "ShutdownObs" failed:
2023-03-16 10:27:49.9: **Script Error (Tracking has been stopped)**
Source: ASCOM V2 AstroPhysics GTO Driver
Message: APCC Park failed:
Location: line 81 column 9.
2023-03-16 10:27:49.9: Weather safety is re-enabled
2023-03-16 10:27:49.9: **EXCEPTION IN SCHEDULER:
2023-03-16 10:27:49.9: Observatory shutdown failed, cannot continue.
2023-03-16 10:27:49.9: Traceback:
at DC3.Scheduler.Engine.DoShutdownIf()
at DC3.Scheduler.Engine.Run()
2023-03-16 10:27:50.2: Weather safety is now disabled
2023-03-16 10:27:50.2: Weather safety is re-enabled
2023-03-16 10:27:53.4: Running C:\Windows\SYSWOW64\cscript.exe
2023-03-16 10:27:53.4: Arguments: '"C:\Users\Public\Documents\ACP Config\Scheduler\OperatorInterventionScript.vbs"'
2023-03-16 10:28:12.5: Results look OK, the tool returned this text:
2023-03-16 10:28:12.5: 'Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
Scheduler closing the roof...
(this may take minutes)
... roof should now be closed
'
2023-03-16 10:28:12.5: Operator Intervention tool returned message:
2023-03-16 10:28:12.5: 'Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
Scheduler closing the roof...
(this may take minutes)
... roof should now be closed
'
[...]
2023-03-16 10:28:16.0: ACPSequencer: Failed to get ACP's DispatcherEnabled property. ACP is compromised.
2023-03-16 10:28:16.0: Object reference not set to an instance of an object.
Log closed at Thu, Mar 16 2023 10:28:17 UTC (actual time)
Analysis:
1. Disabled weather interrupts
2. Tried to park your scope but that failed. "APCC Park failed"
3. Shutdown script failed due to the APCC runtime error
4. Enabled weather interrupts
5. Declared a Scheduler Operator Intervention due to the mount parking failure (It's getting wet or ???)
6. Ran your Operator Intervention script, which appears to try to close the roof but ACP has failed at this point.
This was a chain of failures caused by the APCC park error. I can't guess why ACP died out from under Scheduler.