Closed tail-feather closed 4 months ago
If streaming aborting, break
is executed on this block.
https://github.com/indigo-astronomy/indigo/blob/41cc06eed5a8bbc8b43d478589b1404840eb6bdc/indigo_drivers/ccd_svb/indigo_ccd_svb.c#L556-L559
Since the res
variable is only updated by the above SVBSendSoftTrigger
function, it appears that streaming is not aborted as long as this function continues to succeed.
hopefully fixed: 7480328a9580b12b87a82cdb1712dd1ce613ed01
I've tried it. It seems to work. Thank you very much!
I found a condition that does not terminate when trying to abort streaming.
Normally, if streaming aborted, the
SVBGetVideoData
returns an error (SVB_ERROR_TIMEOUT
) and streaming stops.If the
SVBGetVideoData
does not return an error, theCCD_ABORT_EXPOSURE_PROPERTY
remains busy. (But it can be stopped by executing the abort process twice.)This problem occurs rarely under the following conditions:
CCD_STREAMING
propertyEXPOSURE
:0.05
COUNT
:-1
I have a question about the aborting process.
In the
svb_clear_video_buffer
function, theSVBGetVideoData
function is called until it returns an error (SVB_ERROR_TIMEOUT
).Am I correct in my understanding that in the
streaming_timer_callback
function, it stops when theSVBGetVideoData
function fails?