Dither Issue
Posted: Tue Jun 13, 2023 1:37 pm
Hey Robin,
Trying to figure out what I'm doing wrong. I'm trying to implement dithering in my sequence but I'm erroring out right after I autofocus. Here is the sequence. I'm pausing guiding while I autofocus and then after reloading the camera settings and unpausing guiding I issue a wait until guiding resumes. After I issue the command I'm getting the Dither error at the bottom because guiding is not active. Its as though it's not waiting until guiding is active to check to see if it's time to dither.
What am I doing wrong?
GUIDING DITHER EVERY 3 FRAMES
STOP AT LOCALTIME "4:00 AM"
LOOP 25 TIMES
CAPTURE 20 FRAMES REQUIREGUIDING False
BEGIN GUIDING PAUSE
PRESERVE CAMERA SETTINGS
FOCUSER CONNECT
SET EXPOSURE TO 4
SET CONTROL Brightness TO 0
SET GAIN TO 300
DELAY 5
DISPLAY STRETCH AUTO
AUTOFOCUS OFFSET -80 TO 90 STEP COUNT 12 BACKLASH 30
DISPLAY STRETCH RESET
DELAY 5
END PRESERVE
END GUIDING PAUSE
GUIDING WAIT
END LOOP
END STOP AT
Debug 00:32:03.656577 #1 Sequencer : Completed : Autofocus from offset -80 to 90 with 12 steps allowing for backlash up to 30 in void SharpCap.Sequencer.SequencerContext.OnProgress(string e)
Debug 00:32:03.661551 #1 Sequencer : Pausing main sequence to run periodic task Dither every 3 frames in void SharpCap.Sequencer.SequencerContext.OnProgress(string e)
Debug 00:32:03.666534 #1 Sequencer : Starting : Request a single dither from Guiding Application in void SharpCap.Sequencer.SequencerContext.OnProgress(string e)
Error 00:32:03.671517 #1 Running step Request a single dither from Guiding Application : Exception of type 'Exception' : Cannot dither - PHD2 needs to be guiding, but is Stopped
Trying to figure out what I'm doing wrong. I'm trying to implement dithering in my sequence but I'm erroring out right after I autofocus. Here is the sequence. I'm pausing guiding while I autofocus and then after reloading the camera settings and unpausing guiding I issue a wait until guiding resumes. After I issue the command I'm getting the Dither error at the bottom because guiding is not active. Its as though it's not waiting until guiding is active to check to see if it's time to dither.
What am I doing wrong?
GUIDING DITHER EVERY 3 FRAMES
STOP AT LOCALTIME "4:00 AM"
LOOP 25 TIMES
CAPTURE 20 FRAMES REQUIREGUIDING False
BEGIN GUIDING PAUSE
PRESERVE CAMERA SETTINGS
FOCUSER CONNECT
SET EXPOSURE TO 4
SET CONTROL Brightness TO 0
SET GAIN TO 300
DELAY 5
DISPLAY STRETCH AUTO
AUTOFOCUS OFFSET -80 TO 90 STEP COUNT 12 BACKLASH 30
DISPLAY STRETCH RESET
DELAY 5
END PRESERVE
END GUIDING PAUSE
GUIDING WAIT
END LOOP
END STOP AT
Debug 00:32:03.656577 #1 Sequencer : Completed : Autofocus from offset -80 to 90 with 12 steps allowing for backlash up to 30 in void SharpCap.Sequencer.SequencerContext.OnProgress(string e)
Debug 00:32:03.661551 #1 Sequencer : Pausing main sequence to run periodic task Dither every 3 frames in void SharpCap.Sequencer.SequencerContext.OnProgress(string e)
Debug 00:32:03.666534 #1 Sequencer : Starting : Request a single dither from Guiding Application in void SharpCap.Sequencer.SequencerContext.OnProgress(string e)
Error 00:32:03.671517 #1 Running step Request a single dither from Guiding Application : Exception of type 'Exception' : Cannot dither - PHD2 needs to be guiding, but is Stopped