×

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

Bi-monthly release with minor bug fixes and improvements

Xagyl Filter Wheel Driver

  • Posts: 20
  • Thank you received: 12
Hi,

Additionally to my new mono cam I ordered a Xagyl FW8x125 and had some troubles to get it to run. After a few mails with Dan I was able to fix the indi driver:

All commands have to be exactly 2 bytes long -> at the moment tty_write uses strlen(command)+1 (calculates to 3) and sends the string terminator to the wheel.
With the string terminator the wheel returns a timeout or a unknown command error if two commands are sent fast after each other.
With the removal of "+1" I was able to send correct commands to the wheel.

In the connect function the driver parses the firmware version. It seems like there is a mistake in the Xagyl manual as the wheel returns only the FW number without a preceding "FW". Removing the FW string in scanf (line 188) removes the problem and I am now able to connect to the wheel :)

CS Markus
8 years 3 months ago #6631

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

Please send a patch.
8 years 3 months ago #6632

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

  • Posts: 20
  • Thank you received: 12

Replied by Markus on topic Xagyl Filter Wheel Driver

Hi,

Here we go. I only tested the basic functionality -> Connect, Disconnect, move to filter (without even checking if it moves to the correct filter)....

CS Markus
The following user(s) said Thank You: Jasem Mutlaq
Last edit: 8 years 3 months ago by Markus.
8 years 3 months ago #6633
Attachments:

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

Great, I applied the patch but more testing is appreciated!
8 years 3 months ago #6634

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

  • Posts: 20
  • Thank you received: 12

Replied by Markus on topic Xagyl Filter Wheel Driver

Thanks a lot

I only tested if it is moving to the correct filters now -> test passed :P
I'll test everything else if I need it (jitter, offset, ...)

CS Markus
8 years 3 months ago #6643

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

Time to create page: 0.748 seconds