python-microscope / microscope

Python library for control of microscope devices, supporting hardware triggers and distribution of devices over the network for performance and flexibility.

Home Page:https://www.python-microscope.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some stage sizes are not known until stage runs init

iandobbie opened this issue · comments

Cockpit struggles as it doesn't know the stage size of many stages, including the Ludl until the stage has been init'd and moved to its limits to find it own size.

I don't understand what the issue is. Can you expand what you mean with "struggles"? Cockpit calls enable right at the start (which triggers all this) and even checks if enable will cause that move to display a message at start.

I just wanted to check that the current behavior was fully working before closing this issue. I believe that it was all fixed with the additional function in microscope and changes in cockpit but I need to actually test this functionality.

This was to separate this issue from the fact that the Ludl controller returned useless info if the controller was off or otherwise no connected. I will check probably on Friday and close with a relevant comment if it is truly fixed.

There remains a slight problem, on startup the stage homes but it doesn't appear to update the limits properly so the cockoit limits are mad. Not sure if this is a microscope or a cockpit problem, or more likely something in the interface.

This is definitely a cockpit problem and I am now fixing it, marking this issue as closed. Cockpit changes are now in microscope-cockpit/cockpit#842