×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Flat schedule/sequence stuck "focusing..." if clouds show up before

  • Posts: 37
  • Thank you received: 5
Sure, many thanks for your help!
 

File Attachment:

File Name: log_18-12-24.txt
File Size:1,548 KB
2 years 5 months ago #77830
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 37
  • Thank you received: 5
Same scheduler file incremented by one day. 
 

File Attachment:

File Name: MySchedule...4-NB.zip
File Size:1 KB


I was thinking I was being overly too agressive with immediate retry and 30s wait last week but forgot about it. I'll be changing that to 300s.
Last edit: 2 years 5 months ago by Palmito.
2 years 5 months ago #77831
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 1187
  • Thank you received: 370
It looks like the problem starts at 04:50:31.395. Here focusing and aligning both try to access the camera. What I do not understand is, why the focus module gets active while alignment is running.

Do you have the autofocus option set on the Lum filter that it should focus on filter set? Because focusing starts directly before align reports "Changing filter to Lum..."
2 years 5 months ago #77832

Please Log in or Create an account to join the conversation.

  • Posts: 37
  • Thank you received: 5
Yes I have autofocus checked for each filter. Also I remember checking "focus on filter change" somewhere, but couldn't find the option in current version.

Alignement is set to run using Lum filter and that night I was shooting Ha frames.
2 years 5 months ago #77834

Please Log in or Create an account to join the conversation.

  • Posts: 1187
  • Thank you received: 370
Hm, OK, there might be the source of the problem. I guess you also use the focus step in the scheduler job, right? If yes, which filter is set on the focuser tab?
2 years 5 months ago #77835

Please Log in or Create an account to join the conversation.

  • Posts: 37
  • Thank you received: 5
Yes indeed I have focus checked for all targets/sequences but the flat one.
I am not sure I get your question, initially I have Lum set in the focuser tab, but it changes according to my sequence filter.
2 years 5 months ago #77837

Please Log in or Create an account to join the conversation.

  • Posts: 1187
  • Thank you received: 370
It looks like we have a concurrency issue here somewhere with autofocus on filter change and alignment. It looks like the filter change for alignment triggers a refocus, which from my perspective does not make sense.

But that’s speculation, one run of a similar scenario got stuck, the next run went smoothly.
The following user(s) said Thank You: Eric
2 years 5 months ago #77869

Please Log in or Create an account to join the conversation.

  • Posts: 37
  • Thank you received: 5
I think your hypothesis is strong.

I have noticed that during alignment it switches filter sometimes. Sometimes before alignement, sometimes after, sometimes it focuses the "previous target" filter sometimes the Lum filter.

I think I found one reproductible case: Right after meridian flip is completed, it will do an alignment, followed by one focus on Lum and then a focus on target filter.
Another case I saw, when it doesn't manage to do focus, it seems to revert to focusing Lum filter at some point.

Perhaps this together with a concurrency lock could cause the issue I have.

I went through a few analysis files and could find one, with filter changing behavior:
 
 

File Attachment:

File Name: Analysis_a...0-29.zip
File Size:541 KB


and one with reverting to lum filter:
 
 

File Attachment:

File Name: Analysis_a...0-27.zip
File Size:501 KB
The following user(s) said Thank You: Eric
2 years 5 months ago #77871
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 1187
  • Thank you received: 370
I think I found the explanation.

The problem happens around 04:46:59. When your job IC_1805-Part2 reaches its end time, capturing was suspended due to guiding problems. And just after the scheduler aborts capturing and guiding, the guider reports at 04:46:59.644 a guiding deviation below the limit. Since a guide deviation also leads also to an ABORT state in Capture, the Capture module restarts the aborted job - that's not good! You can see this in the entry at 04:47:00.730 where capture reports capturing a 300s Ha image.

After this, I guess the capture module remains in the wrong state and will behave in an unexpected manner.

In such a situation, I'm afraid the only solution is restarting KStars.
The following user(s) said Thank You: Eric, Palmito
2 years 5 months ago #77879

Please Log in or Create an account to join the conversation.

  • Posts: 37
  • Thank you received: 5
Many thanks for your help, yes that makes so much sense.

I think, at least I hope  , this is linked to my aggressive 30 sec wait before retry aborted job.
Increasing it should help if not solve. I have set it to 300s, waiting for some clear, but not too much , skies to test it 
Last edit: 2 years 5 months ago by Palmito.
2 years 5 months ago #77892

Please Log in or Create an account to join the conversation.

  • Posts: 1187
  • Thank you received: 370
The problem should be fixed now. If you want to use it immediately, please build from sources. Otherwise, please wait for version 3.5.7 to come in a couple of weeks.
The following user(s) said Thank You: Palmito
2 years 5 months ago #78032

Please Log in or Create an account to join the conversation.

  • Posts: 37
  • Thank you received: 5
Jeez thank you so much!

Well heavy snow is forecast today and tomorrow, followed by two weeks of disgusting weather ^^ It is almost like when buying new gear 

But if weather does cooperate I will compile it and provide you with feedback, is it best to comment the pull-request or report here?
 
2 years 5 months ago #78068

Please Log in or Create an account to join the conversation.

Time to create page: 0.306 seconds