×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

get/set GAIN and OFFSET in camera via Python bindings

  • Posts: 98
  • Thank you received: 8
Hi all,
It's been a while since I've written some Python to access INDI devices. I have a script that works great for a CCD (KAF8300). Now I have a CMOS camera (IMX571), and I'd like to programmatically set GAIN and OFFSET. But there aren't GAIN or OFFSET properties listed in the standard properties table :-(. Instead, it looks like they are part of CCD_CONTROLS. Can someone provide some example code that would just allow getting and setting of these values?

BTW, I'm using the PyIndy.py module. If there's something better or more recent, I'd be happy to update.

Thanks for any help,
Charles
Linux Mint 20.3 and AstroBerry
Mounts: iOptron CEM-60
Cameras: Atik 383L+, ZWO ASI290MM Mini
Focuser: Moonlite
4 months 2 weeks ago #100711

Please Log in or Create an account to join the conversation.

  • Posts: 278
  • Thank you received: 70

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

Time to create page: 0.269 seconds