Is there a way to pause imaging while a target goes behind a tree say, wait until the target reaches the meridian and flip and continue imaging for an hour? I need to stop imaging for M63 when altitude reaches 71 degrees, continue tracking until a meridian flip is triggered, and then image until the target reaches HA +1, then shut down?
I have my dragscripts set up so that on error it retries the script every ten minutes with ten iterations before it gives up and parks the mount (Or if it is a two sequence script, moves on to the next sequence) If a band of cloud passed through that gives me nearly two hours for it to clear. For the sake of safety mine stops the mount tracking during the wait.
The same would apply to a tree (I am lucky in that I set up in an area with no obstructions above about 20 degrees) The guiding would fail and raise an error and it would keep trying to restart every ten minutes until it is clear again. You could set your wait time longer to clear the tree in less retries but then a cloud induced error might cost you imaging time that would otherwise be useful.
You are right that the DO IF HA BETWEEN part is not a wait. I have other blocks that also have DO IF HA BETWEENs. This fires off the appropriate sequences through the night and not wanting waits is deliberate since waits with things like Altitudes can cause problems if you need to restart the script.
But back to your real issue, guiding can certainly fire off errors. But that isn’t the only thing that can cause them. For example, if focusing fails, that will also cause an error condition. Likewise, if you reset your location with realign to target (which is under the guiding tab) that will cause error conditions if there aren’t stars since the platesolve will fail. A Meridian flip that occurs when there are clouds will cause a fail. Etc.
In my case, my “Cloud Monitor” is effectively my guiding.
It would be nice if there was the option to fail if the Star Index computed for a sub falls below a specified value.