×

INDI Library v1.9.3 Released (11 Nov 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones. Some highlights:

Multiple Config files for same piece of equipment.

  • Posts: 22
  • Thank you received: 9
I could not find this discussed, so posting this question.

I have two ASI EFWs. I use one with my monochrome camera and one with my color camera. I have separate profiles for monochrome and color, but I don't know how to have two ASI EFW config files (namely ~/.indi/'ASI EFW_config.xml'). Consequently I have to re-enter filter names for the filter slots whenever I switch between color and monochrome.

Since the "ASI EFW" name seems to be determined via selecting it from the pull-down menu for filter-wheels when building a profile, what is the proper technique to allow for distinct config files?
1 month 2 weeks ago #76766

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

  • Posts: 85
  • Thank you received: 16
Hi John

It can be done with 'Custom Drivers'! (Tools/Devices/Custom Drivers ...)
You can create as many aliases for a driver as you want. Name one 'ASI Color' and another 'ASI Monochrome'. After a restart of KStars you can create two profiles with the respective alias driver name. Start each one seperately and save the configuration. Now you can choose between mono-profile and color-profile with the correct filternames in the slots.
AOK Skywalker DDM
Celestron Edge HD 14"
Starlight Trius SX35
Starlight Lodestar X2
Starlight SX Maxi Filterwheel
Focus Boss II Focuser
KStars Ubuntu 20.04 LTS on NUC
The following user(s) said Thank You: Jasem Mutlaq, John Mocenigo
1 month 2 weeks ago #76794

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

  • Posts: 22
  • Thank you received: 9
Thanks so much. That worked!
1 month 2 weeks ago #76803

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

  • Posts: 22
  • Thank you received: 9
Well, let me update: I still thank you, but it actually did not work. It only works in some cases. Apparently MDPD drivers cannot be aliased. I am not 100% sure what a MDPD driver is, but I am guessing it is one supplied as an object file rather than as source. Anyhow, the 'ASI EFW' driver is supplied by ZWO and it tagged as MDPD so it cannot be aliased and I cannot do what I had hoped to do using aliases.

That is where things currently stand.

Can anyone confirm what an MDPD driver is and why it cannot be aliased?
1 month 1 week ago #76894

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

MDPD = Multiple Devices Per Driver. With such drivers, aliasing would not work. When you start this driver with two ASI EFWs plugged it, what are they exactly named in INDI control panel?
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 month 1 week ago #76903

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

  • Posts: 85
  • Thank you received: 16
Hi John

Sorry!  I personally used this possibility for SX-Wheels (not MDPD) successfully, and was not aware of the restrictions with MDPD-drivers. I remember however that it is/was? possible to tweak such drivers with custom XML-files (/usr/share/indi). Perhaps somebody has done it this way and can help?
AOK Skywalker DDM
Celestron Edge HD 14"
Starlight Trius SX35
Starlight Lodestar X2
Starlight SX Maxi Filterwheel
Focus Boss II Focuser
KStars Ubuntu 20.04 LTS on NUC
1 month 1 week ago #76910

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

  • Posts: 22
  • Thank you received: 9
I am not actually trying to use two filter wheels at the same time. I basically have one with color-related filters attached to my color camera and one with mono-related filters attached to my mono camera, so depending on what camera I am using on a night I need to distinguish between the color or mono filter wheel.

However, to answer your specific question, I just plugged them both in at the same time and one shows up as "ASI EFW 0" and the other shows up as "ASI EFW 1".
1 month 1 week ago #76920

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

  • Posts: 22
  • Thank you received: 9
Not a problem - I appreciate your help.

Basically any driver that shows up in the pull-down menu on the Custom Driver screen can be aliased as you described.

However, the code explicitly suppresses from that drop-down drivers marked by mdpd="true" in those XML files you mentioned (in this case indi_asi.xml).
1 month 1 week ago #76921

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

Unfortunately, aliasing wouldn't be possible in this case as the driver dynamically renames itself upon detecting connected filter wheels. The only way I can see this happening is by modifying the driver directly.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 month 1 week ago #76923

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

  • Posts: 22
  • Thank you received: 9
OK, thanks.

I'll play around with the asi_wheel driver for my own purposes and see what I learn.
1 month 1 week ago #76924

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

  • Posts: 22
  • Thank you received: 9
I implemented a simple change to the asi_wheel.cpp file that allows one to use the existing "Tools->Devices->Custom Drivers..." mechanism in conjunction with creating symbolic links back to the standard driver (indi_asi_wheel).

I will create and submit a PR later today and hopefully you will find it benign enough to accept it into the source base.
The following user(s) said Thank You: Radek Kaczorek
1 month 1 week ago #77003

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

Time to create page: 0.944 seconds