Autofocusing in a Sequence

Questions, tips, information and discussions about using the SharpCap Sequencer and Sequence Planner tools
Post Reply
gcs
Posts: 13
Joined: Mon Jun 03, 2024 12:32 am

Autofocusing in a Sequence

#1

Post by gcs »

I have used the sequencer successfully many times, it's a great tool.
I've searched this forum and can't seem to find an answer for this problem.
I set the sequencer to autofocus at the beginning of a sequence, and that works well.
But I have set the sequence for 30 frames, and a repeat of 5 times for 150 frames total. That also works.
What I'm really wanting to do though is refocus every 30 frames.
Instead it autofocuses once for the entire 150 frame sequence.
Am I missing another setting or something?
User avatar
admin
Site Admin
Posts: 17574
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Autofocusing in a Sequence

#2

Post by admin »

Hi,

it sounds as though all you need to do is put the autofocus step inside the repeat loop rather than before the repeat loop - something like this
Screenshot 2024-10-14 151640.png
Screenshot 2024-10-14 151640.png (6.95 KiB) Viewed 2484 times
Note that this requires the use of the advanced sequence editor rather than using the deep sky sequence planner. If you have been using the deep sky sequence planner, then the trick is to get everything set up in the planner, then press the 'Advanced Edit' button which will transfer your plan to the advanced editor where you can make this sort of change before running the sequence.

cheers,

Robin
gcs
Posts: 13
Joined: Mon Jun 03, 2024 12:32 am

Re: Autofocusing in a Sequence

#3

Post by gcs »

Thanks Robin, I thought it was part of what was going to be done repeatedly.
I will try that!
Jerry
gcs
Posts: 13
Joined: Mon Jun 03, 2024 12:32 am

Re: Autofocusing in a Sequence

#4

Post by gcs »

I stumbled through editing to get what I want in the advanced editor.
But after doing this and saving the file I have a problem.
Powering down and starting up the next time, if I hit the sequence planner it defaults to a process different than I was using.
So to use what I used last I have to explicitly run or edit it from my saved file.
So if I click (mistakenly?) the sequence planner my previous sequence is now changed, and I have to then hit the advanced button and reload my file.
If possible, it would be nice if invoking the sequence planner could default to the last settings, or at least warn you that the settings will change.
Of if that's not reasonable because displaying the many changes that were made is incompatible with the simplified setting options, perhaps a selection just below "sequence planner" was something like "advanced sequence editor" that would fire off the editing window and default to the last settings.

Jerry
User avatar
admin
Site Admin
Posts: 17574
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Autofocusing in a Sequence

#5

Post by admin »

Hi Jerry,

what happens is that when you go 'advanced edit', it transfers the settings you have set up in the planner to the advanced editor, but that is a one way conversion - any changes that you make in the advanced editor cannot be taken back into the planner (in fact the planner doesn't understand the changes that you might have made). Sorry if I didn't make that clear.

What you need to do if you go to the advanced editor is make your changes and then save from the save button in the advanced editor. You can then come back the next time to the advanced editor, reload the saved file, make further changes (for instance change the target) and re-run from the advanced editor.

Another way you could attack this problem is to 'cheat'... Set SharpCap up to use the use the manual filter wheel option in the hardware settings. This is really designed so that those with a manual filter wheel can record which filter they are using in the image metadata, but SharpCap sees it as just another filter wheel (but one that happens to do nothing when the filter change buttons are pressed). With a filter wheel selected you can choose the option to refocus when a filter is changed in the sequence planner. Then you can set up your sequence to do 30 frames with 'Filter 1' and 30 with 'Filter 2'. SharpCap will think it is changing a filter between those two batches of frames, so it will trigger the refocus, even though there is really no filter wheel.

cheers,

Robin
Post Reply