×

INDI Library v1.8.0 is Released (27 Jul 2019)

INDI Library v1.8.0 is mostly a maintenance release to fix a few bugs in several drivers.

Moonlite focuser times 2

  • Posts: 43
  • Thank you received: 7

Moonlite focuser times 2 was created by MikeCEM60

my CEM60 would allows me to carry both my scopes, and I am tempted to see if EKOS will will be able to recognize and address 2 Moonlite focusers...

Did anyone try this before?

Does anybody know if this is technically possible?

Thanks
Mike
1 month 1 week ago #41050

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

  • Posts: 1829
  • Karma: 19
  • Thank you received: 554

Replied by rlancaste on topic Moonlite focuser times 2

I am not 100 percent sure, since I haven’t tried it before, but I know how it *should* work

The first issue you will probably have is that both focusers will look the same to the OS and it won’t be able to tell the difference between them. They will probably get assigned names based on the order they get plugged in. The rules files are how a Linux system responds when the device gets plugged in and is how we keep our devices separate in INDI so we don’t tell our focuser to slew and our telescope to focus. What you want is a rules file that will recognize each focuser and assign each one the same unique port name each time. Unfortunately the focusers have the same manufacturer id so the usual method of writing a rules file identifying the device based on that number won’t work. The serial number might be different in which case you could try to use that in a custom rules file. But that might not work. If that doesn’t work, you can set aside a usb port for each one and only ever plug that focuser into that port. So your rules file could see that a device got plugged into that port and assume it is that particular focuser. I would definitely try to solve this problem first so that each time you plug in focuser 1 or focuser 2 they get the correct name.

The second problem is with the driver. The Moonlite driver would have all the settings of and be associated with one Moonlite focuser, not both. To fix that you need to use the “custom drivers” feature and call each focuser by a unique driver name and associate each one with the unique port name I discussed in the previous paragraph. This problem is easy to fix because Ekos has a great custom drivers tool.

Then it should work
The following user(s) said Thank You: TallFurryMan, MikeCEM60
1 month 1 week ago #41059

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

  • Posts: 728
  • Karma: 13
  • Thank you received: 229

Replied by TallFurryMan on topic Re:Moonlite focuser times 2

As an illustration of Robert's post, the following So answer has a user creating a symbolic link with an arbitrary name to a specific USB port (1-1.2 or 1-1.3) when a device is recognized there.

unix.stackexchange.com/questions/394411/...-ports/394481#394481

This is for udev under Linux. Note that udev rules are notoriously tricky to set up :)

-Eric
HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access
The following user(s) said Thank You: MikeCEM60
1 month 1 week ago #41066

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

  • Posts: 162
  • Thank you received: 49

Replied by ChrisRowland on topic Re:Moonlite focuser times 2

When I did ASCOM drivers for two identical devices I ended up generating and installing two driver DLLs from the same code, identical except for the Guid, progID and Served Class Name. This would allow two devices to be selected separately and have their own configuration information.

Keeping track of a device could be more tricky, in some cases a serial number could be read from the device and for COM ports devices using the FTDI drivers would remember the COM port ID even when moved from one USB port to another. Otherwise plugging into the same port would preserve the port ID.

This is different but maybe there's something here that will help.
The following user(s) said Thank You: TallFurryMan, MikeCEM60
1 month 1 week ago #41070

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

  • Posts: 43
  • Thank you received: 7

Replied by MikeCEM60 on topic Moonlite focuser times 2

Thank you guys,

OMG, will have to get into "rules file" and " DLLs ,Guid, progID, Served Class Name" and into that great customs drivers tool!
I thought I left DLLs when I fired my last Windows machine! 15 years ago....
:unsure: :ohmy:

Just reinforces the notion that we are all in a Hobby For Masochists!
1 month 6 days ago #41138

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

  • Posts: 1829
  • Karma: 19
  • Thank you received: 554

Replied by rlancaste on topic Moonlite focuser times 2

Fired? As in a kiln or a bonfire?
1 month 6 days ago #41149

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

  • Posts: 43
  • Thank you received: 7

Replied by MikeCEM60 on topic Moonlite focuser times 2

All of the above, but mostly as in "get the hell out of my office"
1 month 6 days ago #41151

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

  • Posts: 728
  • Karma: 13
  • Thank you received: 229

Replied by TallFurryMan on topic Re:Moonlite focuser times 2

I recently saw that you can now delay Windows 10 updates by up to 35 days so that they don't crash your imaging session with a reset. Well, sorry, not convincing enough to have me come back yet :)

-Eric
HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access
1 month 5 days ago #41166

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

  • Posts: 43
  • Thank you received: 7

Replied by MikeCEM60 on topic Moonlite focuser times 2

Sooo,
Played with the driver aliases, that was definitely not a success.

However, after scanning the ports, i just disconnect box1, change to the other port, reconnect moonlite, and voila, box2 is online...

Not super elegant but it works!

Mike
1 month 4 days ago #41213

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

Replied by knro on topic Moonlite focuser times 2

If they each have a unique serial number, you can create a udev rules to assign each one of them a designated port. This along with driver aliases will run 2-focusers at the same time.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 month 4 days ago #41229

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

Time to create page: 0.344 seconds