I have created two batch files to change the profile on my Dahua observatory camera from Day to Night profile, such that I may disable IR lights before a sequence runs, and re-eable them after the sequence completes.
I have configured the switch to Night profile (no IR) to run prior to an event, which is set up to take a bias frame. The switch to Day profile then runs upon sequence completion.
I have tested the batch files thoroughly, they perform as expected. Yet, when I run the sequence, while the log says it is running the scripts, there is no indication they have run, and the profile does not change on the camera. Indeed, for the post-event script, the log even indicates “End of sequence script ran successfully”, though it did not.
Link to Logs
Useful Info
OS: Microsoft Windows 10 Home
Ver: 4.0.0.643
.NET: 4.8
ASCOM: 6.5.1.3174