-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with core.waitForSystem() and AxioImager in napari-micromanager #297
Comments
Can you post the relevant excerpt from the Corelog file? It may actually be easiest to do this in the Micro-Manager GUI, use Help > Report a Problem, and run a Beanshell script with the same commands. |
Also, can you try:
|
Thanks @nicost for your (very) quick reply! I am not sure which part of the report is the most relevant but I have a report on both script and attached the files. Problem_Report_AxioImagerZ2_1.txt Problem_Report_AxioImagerZ2_2.txt Please let me know if it's relevant or if you need anything else. |
Not quite sure what is happening.
Those are your two core-set_position() commands executed in rapid succession (fair, since you are not waiting for the stage to reach position 0 before executing the next command). Each of these will set the busy flag for the device (in the ZeissCAN29 microscope model) to true. However:
Note these are messages from two different threads. The monitoring thread sets the busy flag to true (even though it already was true). Then the main thread finished waiting for the device. That does not make sense. The busy flag has been set true 3 times in a row, and there is nothing in the code setting it false (that happens later in the logs, when the stage reaches its final position). Not sure how to trouble shoot this further without having the actual equipment. You may need to set up Visual Studio and set breakpoints in the ZeissCAN29 adapter code. B.t.w., you can use: |
Hello,
In napari-micromanager when trying:
I get 0 and the
core.waitForSystem()
seems to not be communicating properly see #pymmcore-plus/napari-micromanager#204 for some reference.I am working with a Zeiss AxioImager Z.2
Thanks!
Cedric
The text was updated successfully, but these errors were encountered: