Post event doesn't trigger Park (Solved with Workaround)

All i have issue with post events, does anyone have suggestion

I run last night sequence of m51 rond 5:30 i stopped my sequence and hoop that de post event triggers the park action. but that didn’t work
afbeelding

afbeelding

de status of sgp when i woke up.
afbeelding

the question is what did i do wrong why was it not parking. below the log it looks it kicks in the post events but i dont see the message park

be aware the sequenc status was 68/70.

Thanks in advance

Chris

[04/05/20 05:16:47.391][DEBUG][Sequence Thread][SQ;] GNS: Sent status message to GNS (Target terminated early due to target end time constraint…)…
[04/05/20 05:16:47.490][DEBUG][Sequence Thread][SQ;] Handling monitoring event (Good Night System, Status): Target m51 has terminated early due to target end time.
[04/05/20 05:16:47.490][DEBUG][Sequence Thread][SQ;] GNS: Sent status message to GNS (Target m51 has terminated early due to target end time.)…
[04/05/20 05:16:47.490][DEBUG][Sequence Thread][SQ;] Attempting to move to next event…
[04/05/20 05:16:47.490][DEBUG][Sequence Thread][SQ;] Finding first active group…
[04/05/20 05:16:47.490][DEBUG][Sequence Thread][SQ;] Looking at target m51…
[04/05/20 05:16:47.490][DEBUG][Sequence Thread][SQ;] Start time has time lock, calculating start alt for 04/04/2020 22:30:00
[04/05/20 05:16:47.503][DEBUG][Sequence Thread][SQ;] Start alt set to 53.7313190983917
[04/05/20 05:16:47.503][DEBUG][Sequence Thread][SQ;] End time has time lock, calculating end alt for 04/05/2020 05:20:00
[04/05/20 05:16:47.506][DEBUG][Sequence Thread][SQ;] End alt set to 60.4700914531085
[04/05/20 05:16:47.507][DEBUG][Sequence Thread][SQ;] Looking at event[0]…
[04/05/20 05:16:47.507][DEBUG][Sequence Thread][SQ;] Found event event[0] with remaining frames.
[04/05/20 05:16:47.507][DEBUG][Sequence Thread][SQ;] Event[0] frame count: 68/75…
[04/05/20 05:16:47.507][DEBUG][Sequence Thread][SQ;] Target is active: True
[04/05/20 05:16:47.507][DEBUG][Sequence Thread][SQ;] Target is complete: False
[04/05/20 05:16:47.507][DEBUG][Sequence Thread][SQ;] Target marked as past end time: True
[04/05/20 05:16:47.507][DEBUG][Sequence Thread][SQ;] Target has end time: True
[04/05/20 05:16:47.507][DEBUG][Sequence Thread][SQ;] Target end time: 04/05/2020 05:20:00
[04/05/20 05:16:47.507][DEBUG][Sequence Thread][SQ;] Sequence complete.
[04/05/20 05:16:47.507][DEBUG][Sequence Thread][SQ;] No valid targets remain, aborting…
[04/05/20 05:16:47.507][DEBUG][Sequence Thread][SQ;] ********* Run post sequence *********
[04/05/20 05:16:47.507][DEBUG][Sequence Thread][SQ;] SGPro capture cal frame mode is OFF…
[04/05/20 05:16:47.507][DEBUG][Sequence Thread][SQ;] Clearing timed monitoring events…
[04/05/20 05:16:47.517][DEBUG][Sequence Thread][SQ;] Checking RunEndOfSequenceEquipmentOptions, force = True
[04/05/20 05:16:47.517][DEBUG][Sequence Thread][SQ;] In RunEndOfSequenceEquipmentOptions
[04/05/20 05:16:50.258][DEBUG][Image History Worker][SQ;] Star detection using min star size of 3px…
[04/05/20 05:16:50.258][DEBUG][Image History Worker][SQ;] Star detection using max star size of 60px…
[04/05/20 05:16:50.348][DEBUG][Image History Worker][SQ;] Find stars took: 3431 ms…
[04/05/20 05:16:50.348][DEBUG][Image History Worker][SQ;] Star list contains 62 stars…
[04/05/20 05:16:50.348][DEBUG][Image History Worker][SQ;] Calculating HFR with sample size: 6
[04/05/20 05:16:50.535][DEBUG][Image History Worker][SQ;] Image analysis (async) END
[04/05/20 05:17:18.946][DEBUG][Sequence Thread][SQ;] Stopping auto guiding…
[04/05/20 05:17:18.946][DEBUG][Sequence Thread][SQ;] Attempting to stop PHD2 guiding…
[04/05/20 05:17:18.946][DEBUG][Sequence Thread][SQ;] Checking PHD2 state…
[04/05/20 05:17:18.946][DEBUG][Sequence Thread][SQ;] PHD2 GetPhdStatus - Pre-Wait : Guiding
[04/05/20 05:17:18.946][DEBUG][Sequence Thread][SQ;] Sending to PHD2:
{“method”: “get_app_state”, “id”: 1001}

[04/05/20 05:17:19.054][DEBUG][Sequence Thread][SQ;] PHD2 GetPhdStatus - Post-Wait: Guiding
[04/05/20 05:17:19.054][DEBUG][Sequence Thread][SQ;] Sending to PHD2:
{“method”: “stop_capture”, “id”: 1004}

[04/05/20 05:17:19.054][DEBUG][Sequence Thread][SQ;] Checking PHD2 state…
[04/05/20 05:17:19.054][DEBUG][Sequence Thread][SQ;] PHD2 GetPhdStatus - Pre-Wait : Guiding
[04/05/20 05:17:19.054][DEBUG][Sequence Thread][SQ;] Sending to PHD2:
{“method”: “get_app_state”, “id”: 1001}

[04/05/20 05:17:19.155][DEBUG][Sequence Thread][SQ;] PHD2 GetPhdStatus - Post-Wait: Guiding
[04/05/20 05:17:20.157][DEBUG][Sequence Thread][SQ;] Checking PHD2 state…
[04/05/20 05:17:20.157][DEBUG][Sequence Thread][SQ;] PHD2 GetPhdStatus - Pre-Wait : Guiding
[04/05/20 05:17:20.157][DEBUG][Sequence Thread][SQ;] Sending to PHD2:
{“method”: “get_app_state”, “id”: 1001}

[04/05/20 05:17:20.258][DEBUG][Sequence Thread][SQ;] PHD2 GetPhdStatus - Post-Wait: Stopped
[04/05/20 05:17:20.258][DEBUG][Sequence Thread][SQ;] PHD2: Successfully stopped PHD2…
[04/05/20 05:17:20.258][DEBUG][Sequence Thread][SQ;] Autoguider (PHD2) stopped Successfully
[04/05/20 05:17:20.258][DEBUG][Sequence Thread][SQ;] Waiting for Autoguider to stop…
[04/05/20 05:17:20.258][DEBUG][Sequence Thread][SQ;] Checking PHD2 state…
[04/05/20 05:17:20.258][DEBUG][Sequence Thread][SQ;] PHD2 GetPhdStatus - Pre-Wait : Stopped
[04/05/20 05:17:20.258][DEBUG][Sequence Thread][SQ;] Sending to PHD2:
{“method”: “get_app_state”, “id”: 1001}

[04/05/20 05:17:20.359][DEBUG][Sequence Thread][SQ;] PHD2 GetPhdStatus - Post-Wait: Stopped
[04/05/20 05:17:20.359][DEBUG][Main Thread][SQ;] Adding sequence level notification: Auto guider has been stopped successfully.
[04/05/20 05:17:20.437][DEBUG][Sequence Thread][SQ;] Sending Notification: Status - Auto guider has been stopped successfully.
[04/05/20 05:17:20.437][DEBUG][Sequence Thread][SQ;] Handling monitoring event (Good Night System, Status): Auto guider has been stopped successfully.
[04/05/20 05:17:20.437][DEBUG][Sequence Thread][SQ;] GNS: Sent status message to GNS (Auto guider has been stopped successfully.)…
[04/05/20 05:17:20.448][DEBUG][Main Thread][SQ;] Aborting sequence timer thread…
[04/05/20 05:17:20.448][DEBUG][Main Thread][SQ;] Sending sequence end notification…
[04/05/20 05:17:20.448][DEBUG][Main Thread][SQ;] Adding sequence level notification: Sequence has ended
[04/05/20 05:17:20.523][DEBUG][Main Thread][SQ;] Sending Notification: Status - Sequence has ended
[04/05/20 05:17:20.523][DEBUG][Main Thread][SQ;] Handling monitoring event (Good Night System, Status): Sequence has ended
[04/05/20 05:17:20.524][DEBUG][Main Thread][SQ;] GNS: Sent status message to GNS (Sequence has ended)…
[04/05/20 05:17:20.524][DEBUG][Main Thread][SQ;] Resetting UI elements…
[04/05/20 05:17:20.524][DEBUG][Main Thread][SQ;] Checking if sequence has work left…
[04/05/20 05:17:20.524][DEBUG][Main Thread][SQ;] No work left…
[04/05/20 05:17:20.524][DEBUG][Main Thread][SQ;] Updating big status…
[04/05/20 05:17:20.524][DEBUG][Main Thread][SQ;] Enabling menu items…
[04/05/20 05:17:21.073][DEBUG][Main Thread][SQ;] Set target icons…
[04/05/20 05:17:21.089][DEBUG][Main Thread][SQ;] Removing camera protection…
[04/05/20 05:17:21.103][DEBUG][Main Thread][SQ;] Attempting to find next event…
[04/05/20 05:17:21.104][DEBUG][Main Thread][SQ;] Error in GetNextEvent: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
[04/05/20 05:17:21.119][DEBUG][Main Thread][SQ;] Monitoring system shutdown…
[04/05/20 05:17:21.119][DEBUG][Main Thread][SQ;] SequenceEnds complete…
[04/05/20 05:17:21.120][DEBUG][Sequence Thread][SQ;] Restoring system standby state…

Hi Calberts,

Here are my settings for the Scope and the Dome.
Maybe this will help.

Mark

Your sequence ended on time constraint before that event was completed so it never ran. This is expected.

Mark, Ken

Thanks for you reactions. I wil try this this evening. Is there a simple way to calcuate how many exposure i can do in the give time or display when the time when de sequence ends in stead of remaining. And are the possibilities to force park when day time starts?

Thanks in advance
Chris

Because of a number of variables, sequence times are non-deterministic. Your best bet is to force the sequence to end at astronomical dawn. This will force the mount to park (assuming you have the option to park mount on sequence end).

https://www.mainsequencesoftware.com/Content/SGPHelp/SequenceOptions.html

Ken

This helps mast find out what for me the best combination is still.

p.s can you have a look at my suggestion how to implement the horizon in SGP. See the horizon treat
Custom horizon - in planner needed - #20 by calberts - Feature Requests - Main Sequence Software. hoop this helps

Chris

The suggestion works, but its not as is should. Suggestion for version 4.0 to get this right in kind of planning tool. Anyway thanks for the help with started and end times depending on the aumout of exposure. I created small script to cacluated the amount of exposures (Includes Flip and Focus times). I will upload this to gitlab comming week so i it can be used i will post the link here. Thanks all for your reaction