What I want to do is take several images while two conditions:
- The Hour Angle is between -3 and +3, and
- It is not Nautical Night end
Here is what I have (pseudo code):
1 Block: Images
2 Do if HA between a and b
3 Expose
4 If skipped
5 go to other block
6 Repeat block until nautical night end
Line 1 defines the imaging block
Line 2 only does an exposure if the star is within the HA range
Line 3 camera exposure
Line 4,5 if the expose was skipped because it was not in the HA range then jumps to a block
Line 6 repeat the imaging block until Nautical Night end
I think all of it is correct except I am not sure about the skipped instruction (If SKIPPED). If the DO if HA between a and b fails (because it is outside the range) does the If SKIPPED catch this and jump to another block. If not then it will remain looping, doing no exposures, until Nautical Night end.
Craig