python-microscope / microscope

Python library for control of microscope devices, supporting hardware triggers and distribution of devices over the network for performance and flexibility.
https://www.python-microscope.org
GNU General Public License v3.0
66 stars 39 forks source link

Issue with multiple Andor iXons on one computer. #211

Closed iandobbie closed 3 years ago

iandobbie commented 3 years ago

Had a very strange issue with cryosim software today. We were attempting to update microscope  to current master branch. Everything appeared to  work except ONE of the andor cameras. Both cameras are connected to a single system. The old software worked fine, but the current master failed consistently on one camera. Selecting only a single camera worked with one but failed with the other.

I think it might be the floating device code and one camera is picked up first and works whereas the other is picked second and fails. Unfortunately I didn't think to turn off or disconnect each camera in turn to see if this is correct. I am going back on Tuesday and will see if I can find the root of the issue to help solve it.

carandraug commented 3 years ago

When you say fails to start do you mean it fails to initialize the device server for the second camera? Or does it fail later during enable or something like that? Do the logs say where it fails?

iandobbie commented 3 years ago

I didnt have time to properly explore this as I had to leave and needed to leave a working system. I am back next week and will investigate in more detail.

I realise that this is not a fundamental microscope issue as the recently updated deepsim setup is basically identical, 2 ixons connected to a single computer. The fact that the hardware works fine with the older microscope with the same config makes me think it is not HW related. I guess it might be some weird interaction of microscope versions and configs?

iandobbie commented 3 years ago

I realise I didn't answer you question. The second camera did not initialise and so the deviceserver was restarting the process every 5 seconds. I didn't capture the error output but will make a serious effort on this issue on Tuesday.

iandobbie commented 3 years ago

fixed with pull #212