×

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

Bi-monthly release with minor bug fixes and improvements

C++ question - how to read the name of the available device

  • Posts: 151
  • Thank you received: 27
hello!
I have modified the INDI client example to quite an extent to read ccds - however, one thing I was not able to manage in the past few hours is the retrieval of the device connected. i have, for instance, an INDI server for the qhy running (as "indiserver - v indi_qh_ccd") and my old qhy device has the name "QHY CCD QHY5-0-M-" ... but upon connecting to the server, I fail to get the device name ... it should be INDI::BaseClient::getDevices(), right? does someone have a few lines of code where this works, I failed completely :D
yours
wolfi
7 years 3 days ago #16227

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

The name is in the tutorial_client.cpp line #145. This function displays the name.
The following user(s) said Thank You: Wolfgang Birkfellner
7 years 3 days ago #16234

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

  • Posts: 151
  • Thank you received: 27
thanks man ... this was a classical case of coders mental blockage ;)
yours
wolfi
7 years 2 days ago #16253

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

Time to create page: 0.386 seconds