This is another intermittent problem I have been experiencing. Don't know where to go to debug it further
ACP is running a plan with 2 filters (Red and Green). It focuses, runs the first 5 Red exposures. Now it wants to switch to the Green filter, so it sends a command to move the focuser based on the FilterInfo.txt file. Somehow, this interaction with FocusMax fails with the error
**Imaging error: Object variable or With block variable not set
This looks to me like ACP is reporting the error from FM failing?
Previous focus runs were fine, and the focuser was shifted other times just fine.
I have attached the run log. I looked in the FocusMax logs and these requests are not reported there; only the focusing runs show up.
Ignore the manual abort of the script after the scope is parked. After the FM error, ACP tries to shut down the scope and dome; the scope is correctly parked and disconnected, then ACP hangs (correctly) while it tries to park and close the dome. The dome process has issues with the hardware and Foster driver, so ACP "hangs normally". ACP ends up waiting for the dome closure, so I manually abort the script. That last part is fine, I am working on the dome issues. The FocusMax problem is what I am concerned with.
When it happens, FocusMax and ACP continue running - it does not crash the programs.
Version info:
Win 7/64 bit
ACP 7
Maxim 6 beta3
Ascom 6
SkyX, Paramount MX, updated a couple of months ago.