×

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

Bi-monthly release with minor bug fixes and improvements

New INDI Atik driver - Feedback requested

  • Posts: 211
  • Thank you received: 104
Sometime I also get this error with position 129, it was always present, also with the previous version of the driver.
For me this occur when the wheel is powered before the computer. This may cause some initialization problem.

A simple solution I use in this case is to stop the Indi server, remove the power from the EFW2 but not the usb, plug the power again, wait it finish to turn before to restart Indi server. After that I can use the 7 filters without problem.
The following user(s) said Thank You: Jasem Mutlaq
5 years 2 months ago #34655

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

  • Posts: 983
  • Thank you received: 375
Thanks for the hint. I have just tried this approach. Doesn't work for me.
I have looked into the sources. It is hardcoded in the latest version. I will try to find some time for a review and pull request. Unless somebody (let me guess who) will be quicker to do this change in the meantime ;-)
The following user(s) said Thank You: Jasem Mutlaq
5 years 2 months ago #34657

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

  • Posts: 211
  • Thank you received: 104
It is interesting if we can trace this problem but I not see anything hardcoded in the driver.
The max position is returned by ArtemisEFWNmrPosition() and the current position (the 128+1) by ArtemisEFWGetPosition(), so the problem is in the Atik library or the efw itself.
Maybe adding some debug print may help to understand the problem.
5 years 2 months ago #34677

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

  • Posts: 983
  • Thank you received: 375
Yes, you're right Patrick. I was too quick with conclusion. I took #define MAX_DEVICES 4 as a hardcoded number of filter slots, which is not the case.
I haven't encountered this behavior before. I will give it another try with debug on.
Last edit: 5 years 2 months ago by Radek Kaczorek.
5 years 2 months ago #34682

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

  • Posts: 211
  • Thank you received: 104
I make some testing today but I cannot find a sure way to reproduce the problem.

After many connection, disconnection, reboot I only get the issue one time. This is strange because at the telescope I get it every time if I connect in the wrong order. Maybe the powered usb hub make a difference in the power sequence? I will try later.
In this case the wheel position show 129, and if you try to set a new position it never finish. You ear the motor to turn a bit, stop, turn again and never finish.

A sure way to get position=129 is to connect the driver before the efw2 as completed it's rotation after power on. But in this case it work when you send a new valid position.

BTW, thank you Jasem for the x86 libatik, it work fine.
5 years 2 months ago #34696

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

  • Posts: 983
  • Thank you received: 375
Whatever I do, it detects only 5 filter slots on my system (Raspberry Pi 3B+). There's no debug mode available. However EFW2 is detected properly
<code>2019-02-07T18:04:09: [INFO] Detected EFW2 Serial Number 16171307</code>

Update 1:
Actually, filter control slider can be set in the range 1 - 9 (proper for my setup), but filter names fields are present only for the filters 1 - 5.
Last edit: 5 years 2 months ago by Radek Kaczorek.
5 years 2 months ago #34705

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

  • Posts: 2
  • Thank you received: 0
Hi Folks,

I have an ATIK ONE9 with internal filter wheel. I can switch filter position between 2-5 exept position 1. It is a driver issue or I make a some mistake? (Under windows, work fine)

log file:
INFO    4761.129188 sec : Setting current filter to slot 2
DEBUG   4761.129492 sec : ArtemisFilterWheelMove 1 1986322268
DEBUG   4761.130168 sec : ArtemisFilterWheelMove Done 0
DEBUG   4761.885635 sec : ArtemisFilterWheelInfo 101
DEBUG   4761.886282 sec : ArtemisFilterWheelInfo Done 0 5 0 1 1
INFO    4764.858557 sec : Setting current filter to slot 3
DEBUG   4764.858856 sec : ArtemisFilterWheelMove 2 1986322268
DEBUG   4764.859522 sec : ArtemisFilterWheelMove Done 0
DEBUG   4764.893202 sec : ArtemisFilterWheelInfo 101
DEBUG   4764.893848 sec : ArtemisFilterWheelInfo Done 0 5 2 1 2
DEBUG   4765.894796 sec : ArtemisFilterWheelInfo 101
DEBUG   4765.895499 sec : ArtemisFilterWheelInfo Done 0 5 4 1 2
DEBUG   4766.896389 sec : ArtemisFilterWheelInfo 101
DEBUG   4766.897061 sec : ArtemisFilterWheelInfo Done 0 5 8 2 2
DEBUG   4767.898905 sec : ArtemisFilterWheelInfo 101
DEBUG   4767.899543 sec : ArtemisFilterWheelInfo Done 0 5 0 2 2
INFO    4772.628770 sec : Setting current filter to slot 4
DEBUG   4772.628900 sec : ArtemisFilterWheelMove 3 1986322268
DEBUG   4772.629655 sec : ArtemisFilterWheelMove Done 0
DEBUG   4772.909924 sec : ArtemisFilterWheelInfo 101
DEBUG   4772.910699 sec : ArtemisFilterWheelInfo Done 0 5 4 2 3
DEBUG   4773.911771 sec : ArtemisFilterWheelInfo 101
DEBUG   4773.912513 sec : ArtemisFilterWheelInfo Done 0 5 4 2 3
DEBUG   4774.917187 sec : ArtemisFilterWheelInfo 101
DEBUG   4774.917733 sec : ArtemisFilterWheelInfo Done 0 5 16 3 3
DEBUG   4775.918691 sec : ArtemisFilterWheelInfo 101
DEBUG   4775.919262 sec : ArtemisFilterWheelInfo Done 0 5 0 3 3
INFO    4782.658546 sec : Setting current filter to slot 5
DEBUG   4782.658672 sec : ArtemisFilterWheelMove 4 1986322268
DEBUG   4782.659347 sec : ArtemisFilterWheelMove Done 0
DEBUG   4782.923535 sec : ArtemisFilterWheelInfo 101
DEBUG   4782.924764 sec : ArtemisFilterWheelInfo Done 0 5 4 3 4
DEBUG   4783.926194 sec : ArtemisFilterWheelInfo 101
DEBUG   4783.927339 sec : ArtemisFilterWheelInfo Done 0 5 4 3 4
DEBUG   4784.932994 sec : ArtemisFilterWheelInfo 101
DEBUG   4784.934241 sec : ArtemisFilterWheelInfo Done 0 5 16 4 4
DEBUG   4785.935585 sec : ArtemisFilterWheelInfo 101
DEBUG   4785.936171 sec : ArtemisFilterWheelInfo Done 0 5 0 4 4
INFO    4790.966302 sec : Setting current filter to slot 2
DEBUG   4790.966396 sec : ArtemisFilterWheelMove 1 1986322268
DEBUG   4790.967316 sec : ArtemisFilterWheelMove Done 0
DEBUG   4791.946704 sec : ArtemisFilterWheelInfo 101
DEBUG   4791.948077 sec : ArtemisFilterWheelInfo Done 0 5 4 4 1
DEBUG   4792.949454 sec : ArtemisFilterWheelInfo 101
DEBUG   4792.950764 sec : ArtemisFilterWheelInfo Done 0 5 4 5 1
DEBUG   4793.952038 sec : ArtemisFilterWheelInfo 101
DEBUG   4793.952755 sec : ArtemisFilterWheelInfo Done 0 5 4 5 1
DEBUG   4794.958771 sec : ArtemisFilterWheelInfo 101
DEBUG   4794.959366 sec : ArtemisFilterWheelInfo Done 0 5 16 1 1
DEBUG   4795.960127 sec : ArtemisFilterWheelInfo 101
DEBUG   4795.960691 sec : ArtemisFilterWheelInfo Done 0 5 0 1 1
INFO    4801.719232 sec : Setting current filter to slot 1
DEBUG   4801.719583 sec : ArtemisFilterWheelMove 0 1986322268
DEBUG   4801.720274 sec : ArtemisFilterWheelMove Done 7
INFO    4818.949796 sec : Setting current filter to slot 2
DEBUG   4818.950150 sec : ArtemisFilterWheelMove 1 1986322268
DEBUG   4818.950840 sec : ArtemisFilterWheelMove Done 0
DEBUG   4819.004202 sec : ArtemisFilterWheelInfo 101
DEBUG   4819.004938 sec : ArtemisFilterWheelInfo Done 0 5 0 1 1
INFO    4821.258637 sec : Setting current filter to slot 3
DEBUG   4821.258992 sec : ArtemisFilterWheelMove 2 1986322268
DEBUG   4821.259693 sec : ArtemisFilterWheelMove Done 0
DEBUG   4822.012513 sec : ArtemisFilterWheelInfo 101
DEBUG   4822.013215 sec : ArtemisFilterWheelInfo Done 0 5 4 1 2
DEBUG   4823.014559 sec : ArtemisFilterWheelInfo 101
DEBUG   4823.015170 sec : ArtemisFilterWheelInfo Done 0 5 4 1 2
DEBUG   4824.016429 sec : ArtemisFilterWheelInfo 101
DEBUG   4824.017041 sec : ArtemisFilterWheelInfo Done 0 5 16 2 2
DEBUG   4825.022379 sec : ArtemisFilterWheelInfo 101
DEBUG   4825.023199 sec : ArtemisFilterWheelInfo Done 0 5 0 2 2
INFO    4831.918618 sec : Setting current filter to slot 1
DEBUG   4831.918970 sec : ArtemisFilterWheelMove 0 1986322268
DEBUG   4831.919639 sec : ArtemisFilterWheelMove Done 7
INFO    4839.758555 sec : Setting current filter to slot 3
DEBUG   4839.758694 sec : ArtemisFilterWheelMove 2 1986322268
DEBUG   4839.759437 sec : ArtemisFilterWheelMove Done 0
DEBUG   4840.046998 sec : ArtemisFilterWheelInfo 101
DEBUG   4840.048394 sec : ArtemisFilterWheelInfo Done 0 5 0 2 2

Driver version:
root@astroberry:~# dpkg -l | grep atik
ii  indi-atik                                     2.1~201901081329~ubuntu16.04.1               armhf        INDI Driver for Atik cameras and filter wheels.
ii  libatik                                       2.1.0~201901081228~ubuntu16.04.1             armhf        Library for Atik Cameras.

Video:


Please help me! ;)
Thx,
Golyo
5 years 2 months ago #34948

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

  • Posts: 474
  • Thank you received: 168
This has been fixed in newer versions, so you could try with nightly build by "sudo add-apt-repository ppa:mutlaqja/indinightly"
The following user(s) said Thank You: Golyo
5 years 2 months ago #34965

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

  • Posts: 2
  • Thank you received: 0
with a new nightly indi-atik driver , seems to be working.
Thanks again!
Last edit: 5 years 2 months ago by Golyo.
5 years 2 months ago #34968

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

  • Posts: 983
  • Thank you received: 375

I think I nailed it! I went through deep inspection of Atik EFW2 and it looks like position=129 is set when the filter wheel cannot calibrate or set requested position.
Calibration (and number of filter slots detection) is based on hall sensor, which reads markers located on the edge of filters carousel. If any problem (motor locked, carousel stalled etc) occurs electronics sets position to 129.
In my case I found out that rubber ring around carousel was loose and was randomly blocking carousel rotation. During aggressive tests it even happened that the ring just fallen off the carousel making it nonoperational at all!
After gluing the ring to the carousel with just a few droplets of a glue the issue is gone. And startup/calibration procedure is consistently rendering proper results - no 129 and number of filter slots detected is always OK.

BTW. During the inspection I noticed that USB port on PCB of the filter wheel is quite loose. I needed to use some glue and resolder it so it sits still on the PCB.
BTW2. I believe that the rubber ring issue and poor USB port mounting should be considered by ATIK as an improvement for future versions. Not everybody has a solder station and willingness to fix mechanical issues in a commercial product.
The following user(s) said Thank You: Patrick Chevalley
Last edit: 5 years 1 month ago by Radek Kaczorek.
5 years 1 month ago #36898

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

  • Posts: 211
  • Thank you received: 104
Thank you to find that!
I cannot test with my wheel right now but as soon I can I look for this rubber ring.

Patrick
5 years 1 month ago #36931

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

  • Posts: 112
  • Thank you received: 9
Good morning,

I've been an (ab)user of CMOS for two years. I'm ready to dip my toe into CCD. A friend has an old Atik 314E that I can still find for sale. I've also looked at the Atik 428ex with great interest.
The 314E has TEC cooling but not set-point.
Does anyone know if either of these or both work with the latest INDI driver on Astroberry?

Thank you.
5 years 4 weeks ago #37005

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

Time to create page: 0.762 seconds