indigo-astronomy / indigo

INDIGO is a system of standards and frameworks for multiplatform and distributed astronomy software development designed to scale with your needs.
http://www.indigo-astronomy.org
Other
149 stars 67 forks source link

ccd_playerone: Cannot stop CCD_STREAMING #541

Closed tail-feather closed 4 months ago

tail-feather commented 4 months ago

The problem occurs when the streaming frame count is set to -1. This does not occur when a positive integer is set for the streaming frame count.

CCD_ABORT_EXPOSURE_PROPERTY->state is not referenced in the streaming loop. https://github.com/indigo-astronomy/indigo/blob/1aed5efb959caa23efbc3bda0051520c34a6038a/indigo_drivers/ccd_playerone/indigo_ccd_playerone.c#L566

rumengb commented 4 months ago

The problem is related to exposure time actually if exposure < 1s the streaming can not be stopped. fixed with d80f56115abe63653e1c8fac6ead6b1bb506792c

tail-feather commented 4 months ago

I have confirmed that this has been fixed. Thank you.