×

INDI Library v1.9.9 Released (30 Nov 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

INDI Driver for SVBONY cameras

  • Posts: 149
  • Thank you received: 31
Hi folks,

I'm working on the temperature control on the SV405CC, and I have a question.

The SVBony SDK controls for camera cooling are somewhat different from the INDI default controls.

SVBony provides :

- Powering the cooler ON/OFF
- Setting the cooler power (0 - 100%)
- Reading the current temperature
- Setting the target temperature

INDI provides :

- Setting the target temperature
- Setting the cooling/warming ramp
- Setting the temperature hysteresis

What should I do ?

- Try to wrap all the SVBony controls onto the INDI controls, and only them ?
- Try to mix the INDI Controls and the SVBony SDK, with extra controls ?
- Provide only the SVBony controls, as a proprietary panel, without the INDI default controls ?

Please notice that I don't have the camera yet (waiting for delivery), so, I'm note able to see how the SDK controls really act.

Best regards !

Thx9411
7 months 1 week ago #82625
The topic has been locked.
  • Posts: 13
  • Thank you received: 7
First implement and release the INDI control, then implement the SVBONY control. Or vice versa. Why not implement it in whichever way can be released sooner?

I too am waiting for SV405CC to ship, and SVBONY tells me it will ship at the end of this month.
Hopefully the SV405CC will arrive in your hands soon.
7 months 1 week ago #82626
The topic has been locked.
  • Posts: 117
  • Thank you received: 9
Hi Collin

are you saying the settings are stored in the camera and retained through power cycles?

That sounds a rather pointless and error prone thing for them to decide to do. Would have thought it would be cheaper/easier and thus more profitable to leave it to a client to set.

Is there some form of reset to defaults call that could be made when the indi driver is initialised otherwise people are just going to keep hitting what seems like random errors?


Regards

Nigel
7 months 1 week ago #82627
The topic has been locked.
INDI has CoolerSP (Cooler ON / OFF) control. You can also add your own property for setting the cooler power. I presume there is "automatic" mode when the power is set automatically, and another where it is manual. You can also add another switch for that.
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: Collin
7 months 1 week ago #82630
The topic has been locked.
  • Posts: 149
  • Thank you received: 31
Hi Nigel,

I agree with you, pointless and sensitive.

<< Is there some form of reset to defaults call that could be made when the indi driver is initialised otherwise people are just going to keep hitting what seems like random errors? >>

I don't know yet. I have to explore the APIs deeper.

Best regards,

Thx8411
7 months 2 days ago #82735
The topic has been locked.
  • Posts: 149
  • Thank you received: 31
Hi Jasem,

Thanks for your answer.

I think I will choose this option :

<< - Try to mix the INDI Controls and the SVBony SDK, with extra controls ? >>

Best regards !

Thx8411
The following user(s) said Thank You: R Dan Nafe
7 months 2 days ago #82736
The topic has been locked.
  • Posts: 13
  • Thank you received: 7
Hi Collin

Did you receive your SV405CC?
I received mine last week.
I am testing it with SharpCap but have not done astrophotography yet.

If you don't mind, can you tell me when the SV405CC INDI driver will be released?
6 months 4 days ago #83350
The topic has been locked.
  • Posts: 13
  • Thank you received: 7
I have created an indi_sv305_ccd driver for the SV405CC.

After a little while, I'll send a pull request to GitHub.
The following changes were made in addition to the SV405CC support.
  1. Improvement: OFFSET suppot on Ekos Camera module.
  2. Fixed a mutex conflict that occurred when two or more SVBONY cameras are connected.
  3. Added break to case SVB_BLACK_LEVEL of Sv305CCD::Connect.

Thanks
The following user(s) said Thank You: Jasem Mutlaq, Collin, Albert Tamayo, R Dan Nafe
Last edit: 5 months 3 weeks ago by tkakura.
5 months 3 weeks ago #83473
Attachments:
The topic has been locked.
  • Posts: 10
  • Thank you received: 1
Don't know if this is related to this change but now, the indi_sv305_ccd crashes with or without any camera plugged-in:
Driver indi_sv305_ccd: indi_sv305_ccd: symbol lookup error: indi_sv305_ccd: undefined symbol: _ZN4INDI3CCD15addFITSKeywordsEP8fitsfilePNS_7CCDChipE


Ubuntu 20.04.4 LTS
Linux XXXXXXXX 5.13.0-51-generic #58~20.04.1-Ubuntu SMP Tue Jun 14 11:29:12 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

KStars
Version 3.6.0 Beta

indiserver --version
[...]
INDI Library: 1.9.7
Code 1.9.7-tgz. Protocol 1.7.
Last edit: 5 months 1 week ago by Deneb-l. Reason: Error message did not appear when quoted
5 months 1 week ago #83926
The topic has been locked.
  • Posts: 13
  • Thank you received: 7
Arguments of addFITSKeywords has been changed form INDI 1.9.7.
You have to rebuild indi-3rdparty drivers when drivers run with INDI 1.9.7.
The following user(s) said Thank You: Deneb-l
5 months 1 week ago #83928
The topic has been locked.
  • Posts: 10
  • Thank you received: 1
Rebuilding the3rd party made the trick.
Anyway, I had previously installed the Ubuntu package (apt install indi-sv305), so, had to make my first 3rd party install.
For those who are in the same situation:
  • Remove previous package:
    sudo apt remove indi-sv305
  • Clean previous packages:
    sudo apt autoremove
  • Download or pull the code from: github.com/indilib/indi-3rdparty
  • Install packages requested for the build:
    sudo apt-get -y install libnova-dev libcfitsio-dev libusb-1.0-0-dev zlib1g-dev libgsl-dev build-essential cmake git libjpeg-dev libcurl4-gnutls-dev libtiff-dev libfftw3-dev libftdi-dev libgps-dev libraw-dev libdc1394-22-dev libgphoto2-dev libboost-dev libboost-regex-dev librtlsdr-dev liblimesuite-dev libftdi1-dev libavcodec-dev libavdevice-dev
  • in my case, I had to remove and reinstall libraw19 (???)
  • From the folder whre you pulled indi-3rdparty-master, follow the README instructions
    $ cmake -DCMAKE_INSTALL_PREFIX=/usr .
    $ make
    $ sudo make install
Now, the drivers does not crash anymore (haven't test yest with the Camera though)
Hope it helps
5 months 1 week ago #83952
The topic has been locked.
  • Posts: 10
  • Thank you received: 1
Rebuilding the3rd party made the trick.
Anyway, I had previously installed the Ubuntu package (apt install indi-sv305), so, had to make my first 3rd party install.
For those who are in the same situation:
  • Remove previous package:
    sudo apt remove indi-sv305
  • Clean previous packages:
    sudo apt autoremove
  • Download or pull the code from: github.com/indilib/indi-3rdparty
  • Install packages requested for the build:
    sudo apt-get -y install libnova-dev libcfitsio-dev libusb-1.0-0-dev zlib1g-dev libgsl-dev build-essential cmake git libjpeg-dev libcurl4-gnutls-dev libtiff-dev libfftw3-dev libftdi-dev libgps-dev libraw-dev libdc1394-22-dev libgphoto2-dev libboost-dev libboost-regex-dev librtlsdr-dev liblimesuite-dev libftdi1-dev libavcodec-dev libavdevice-dev
  • in my case, I had to remove and reinstall libraw19 (???)
  • From the folder whre you pulled indi-3rdparty-master, follow the README instructions
    $ cmake -DCMAKE_INSTALL_PREFIX=/usr .
    $ make
    $ sudo make install
Now, the drivers does not crash anymore (haven't test yest with the Camera though)
Hope it helps
5 months 1 week ago #83953
The topic has been locked.
Time to create page: 0.856 seconds