I am trying to create a sequence that will image all targets in a target file, while handling dawn, horizon issues, and meridian flip.
My main issue is of course meridian flip.
What is the best way to handle it?
Note: My mount is configured to allow up to 30 minutes past the meridian and any goto to an area that would cause passing the meridian within 15 minutes will cause a flip.
I thought about 2 different approaches.
I first wanted to use STOP AT 0 FROM MERIDIAN.
But, after the END STOP AT, how can I tell that the reason for being there was a meridian issue and do the flip and finish the capture?
Then I thought about a "periodic" test of mount position that will test if flipping is an option and perform it if possible.
But once again, I could not find how to do it...
Can you help?
Thanks.
Code: Select all
SEQUENCE
DEF SUB "MeridianFlip"
# Can I test for meridian and do a flip if needed?
IF 0 FROM MERIDIAN
MOUNT FLIP # What will this do exactly? will it just do a goto to the current coordinate hopping for the mount to flip?
MOUNT SOLVEANDSYNC
ENDIF
END SUB
GUIDING CONNECT
PERIODIC "MeridianFlip" EVERY 60
STOP AT CivilDawn
LOOP EACH RADEC IN C:\Users\cydeb\Desktop\share\targets.txt
# The file can contain the name and coordinates. Would it be possible to add "variables" such as exposure times and frame count?
STOP AT 15 FROM HORIZON
SET EXPOSURE TO 1
MOUNT SOLVEANDSYNC
SAVE MOUNT COORDINATES
SET EXPOSURE TO 120
GUIDING START
GUIDING WAIT
STOP AT 0 FROM MERIDIAN
CAPTURE 11 FRAMES
END STOP AT
GUIDING STOP
IF 0 FROM MERIDIAN # How do I do that?
MOUNT FLIP # What will this do exactly? will it just do a goto to the current coordinate hopping for the mount to flip?
MOUNT SOLVEANDSYNC
GUIDING START
GUIDING WAIT
CAPTURE ??? FRAMES # How can I tell it how many frames???
GUIDING STOP
ENDIF
END STOP AT
END LOOP
END STOP AT
END PERIODIC
GUIDING DISCONNECT
MOUNT PARK
END SEQUENCE