×
INDI Library v1.8.3 Released (02 Jan 2020)

Minor monthly bugfix release with a new RainbowAstro mount driver and improved pier side simulation.

Help needed for INDI client development

1 week 4 days ago
wbirk
Expert Boarder
Expert Boarder
Posts: 121
Karma: 3
More
Topic Author
Help needed for INDI client development #47980
hi!
i wrote a little client that reads images from cameras using INDI - and as i want to refine this a little bit, I have a few questions:
- where can i find driver specific properties that go beyond the standard ones from indilib.org/develop/developer-manual/101...dard-properties.html ?
for instance: i can get 8 or 16 bit data from ZWO cameras, but how can i set the bit depth in the code? (i assume it is a switch, but what are the properties?)

- and: how can i get more details on the way the raw data are represented aside from using fitsio to analyze the incoming data blob?

yours wolfi

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

6 days 21 hours ago
wbirk
Expert Boarder
Expert Boarder
Posts: 121
Karma: 3
More
Topic Author
Help needed for INDI client development #48134
hi!
well, let me specify my question:
- where can i find documentation about the parameters to be sent for, for instance, setting a ZWO 120MM from 16 bit to 8 bit mode and so on?
yours wolfi

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

6 days 4 hours ago
knro
Administrator
Administrator
Posts: 7556
Karma: 51
Help needed for INDI client development #48149
use indi_getprop to see the list of properties available and then indi_setprop to set them. The video mode are switches, so it's a matter of selecting the right switch.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You wbirk

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

5 days 20 hours ago
wbirk
Expert Boarder
Expert Boarder
Posts: 121
Karma: 3
More
Topic Author
Help needed for INDI client development #48162
hi jaseem!

well - that is a cool command line tool, but how do it set it from C++? of course via switches, but my problem is that i don't find the documentation which switches are available, which range of values (for instance for gain of the camera) is available and so on in my client. maybe i am stuck in a total rut :D
yours wolfi

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

4 days 18 hours ago
RoMe
Junior Boarder
Junior Boarder
Posts: 23
Karma: 1
More
Help needed for INDI client development #48201
You can take a look at the tools directory in the INDI repository:

github.com/indilib/indi/blob/master/tools/getINDIproperty.c
github.com/indilib/indi/blob/master/tools/setINDIproperty.c

These are C files but it shouldn't be too difficult to use them in C++.
The following user(s) said Thank You wbirk

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

4 days 8 hours ago
knro
Administrator
Administrator
Posts: 7556
Karma: 51
Help needed for INDI client development #48210

wbirk wrote: hi jaseem!

well - that is a cool command line tool, but how do it set it from C++? of course via switches, but my problem is that i don't find the documentation which switches are available, which range of values (for instance for gain of the camera) is available and so on in my client. maybe i am stuck in a total rut :D
yours wolfi


For C++, you'd just use INDI Client API . You can check the INDI Client Tutorial as well for an example.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You wbirk

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

4 days 7 hours ago
wbirk
Expert Boarder
Expert Boarder
Posts: 121
Karma: 3
More
Topic Author
Help needed for INDI client development #48211
hi!
as said before, I may be stuck in a mental rut ... i have of course worked my way through the client tutorial, i can set a gain (but i cannot find out if the camera has a gain, and if it has gain, i cannot find out about the permitted range), i can get the basic image parameters via CCD_INFO, i can receive and decode a BLOB ... but i don't understnad how to get driver specific details. in other words - how can i find out about non standard properties that are not supported by every driver (like CCD_INFO, CCD_CFA and so on), but about things like the setting sin v4L2 control (if i connect, for instance, a webcam)?
yours wolfi

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

Time to create page: 0.632 seconds