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
139 stars 64 forks source link

Script function indigo_enable_blob not working as expected #488

Closed je-lamiaud closed 10 months ago

je-lamiaud commented 10 months ago

When calling indigo_enable_blob in a script, if the argument is "true", BLOB transfer is disabled. The script line is: indigo_enable_blob(CcdName, "CCD_IMAGE", true) The log traces: <enableBLOB device='Atik Large Format Camera' name='CCD_IMAGE'>Never</enableBLOB>

When called with argument "false", the blob transfer is enabled, and my script is able to save the image. The log traces: <enableBLOB device='Atik Large Format Camera' name='CCD_IMAGE'>Also</enableBLOB>

Note: as expected, without calling indigo_enable_blob at all, the BLOB transfer is disabled.

polakovic commented 10 months ago

Hopefully fixed here: fe18595c284201e34d115ece9a94a5cca9a8accb

3rd parameter false should map to "Never" and true to "URL" (for INDIGO) or "Also" (for legacy INDI backend).

je-lamiaud commented 10 months ago

Yes, it works fine. Thanks.