×

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

Bi-monthly release with minor bug fixes and improvements

Twin focuser, single indi driver? [SOLVED]

  • Posts: 2257
  • Thank you received: 223
I currently have the following focuser control box (two of them) github.com/sebo-b/TicFocuser-ng for my twin lens system.
When I run the indi driver for it, I can only see 1 focuser at a time. The only way to connect to one or the other is to specify the serial number in the indi control panel.

How would I connect two of the same items running under a single driver? It works well for my twin Player One cameras, both the same and showing twice in Ekos with a single indi driver running.
8 months 4 weeks ago #94500

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

  • Posts: 1187
  • Thank you received: 370
There are two ways to do this:
  1. Start the INDI server from the command line and use a FIFO file to start and stop single drivers. In this mode you can define your own driver names and start drivers twice. Here is an example for starting two Avalon drivers with different names:
    mkfifo -m 666 /tmp/indiFIFO
    /usr/bin/indiserver -v -f /tmp/indiFIFO -m 256 -d 0 &
    echo "start indi_lx200stargo -n \"Avalon M-zero\"" > /tmp/indiFIFO
    echo "start indi_lx200stargo -n \"Avalon Linear\"" > /tmp/indiFIFO
  2. The second version is using dedicated driver files, typically located in /usr/share/indi. Here is an example for a driver with the name "Avalon Linear":
    <?xml version="1.0" encoding="UTF-8"?>
    <driversList>
    <devGroup group="Telescopes">
        <device label="Avalon Linear" manufacturer="Avalon">
            <driver name="LX200 StarGo">indi_lx200stargo</driver>
            <version>1.11</version>
        </device>
    </devGroup>
    </driversList>

HTH
Wolfgang
The following user(s) said Thank You: Gonzothegreat
8 months 3 weeks ago #94534

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

  • Posts: 2257
  • Thank you received: 223
Hello Wolfgang,

Thanks, I just tried the first version and it appears to be working ("appears" as I have not connected the Tic focuser to the actual motors, waiting for some longer cables).
At least I now see two drivers in the control panel and can specify the SerialNumber of each focusers.

dmesg:
[31394.027953] usb 1-1.1.2: Product: Pololu Tic T825
[31394.027957] usb 1-1.1.2: Manufacturer: Pololu Corporation
[31394.027961] usb 1-1.1.2: SerialNumber: 00379431
===CUT===
[31394.307970] usb 1-1.1.3: Product: Pololu Tic T825
[31394.307974] usb 1-1.1.3: Manufacturer: Pololu Corporation
[31394.307977] usb 1-1.1.3: SerialNumber: 00375290


8 months 3 weeks ago #94535
Attachments:

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

  • Posts: 1187
  • Thank you received: 370
Good to hear! Do you plan to run your setup with cameras in parallel?
8 months 3 weeks ago #94536

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

  • Posts: 2257
  • Thank you received: 223
For the second version, are you creating a second xml file? or just add that section to the main xml file of the driver?
Do you have a full example of that twin Avalon driver please?
8 months 3 weeks ago #94537

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

  • Posts: 2257
  • Thank you received: 223

This is my twin setup:


You can see more about it here discord.com/channels/693401540744183859/.../1016760448764350474
8 months 3 weeks ago #94538
Attachments:

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

  • Posts: 1187
  • Thank you received: 370
You can place both definitions into the same XML file.

I posted already the full double Avalon setup. I start the drivers as shown. And for KStars I have two XML files, one for each mount.
8 months 3 weeks ago #94539

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

  • Posts: 2257
  • Thank you received: 223

cool beans, it works, thanks for the help.
8 months 3 weeks ago #94540

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

  • Posts: 1187
  • Thank you received: 370
Very cool setup!

I'm also experimenting with a twin setup on my Avalon m-Zero. In my case it's the other way round, I'm waiting for shorter cables :-)
8 months 3 weeks ago #94541
Attachments:

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

  • Posts: 2257
  • Thank you received: 223
That's a nice setup you got there. My twin lens setup is ultra compact. I'll post something about it once the observatory box is assembled and ready.
8 months 3 weeks ago #94542

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

Time to create page: 0.475 seconds