-
Notifications
You must be signed in to change notification settings - Fork 1
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
problem with live image display from pycromanager #25
Comments
Hi @Olaa4 Thanks for the report. Could you check if there is any error in the browser console when you run it. (This is how to open it: https://balsamiq.com/support/faqs/browserconsole/) |
Hi @oeway ! It looks like camera image buffer issue but I could not find any robust solution. Do you have any suggestions? Traceback (most recent call last): (anonymous) @ index.js?v=20211029164638:148
_encode @ rpc.js:557
_decode @ rpc.js:768 |
Hi, thanks for the info. Yes, it seems this is the cause of the issue: And the error is from micro-manager itself, however, I have no idea how to address it. I did a quick search and found this, maybe you can give it a try: LC-PolScope/LC-PolScope#26 (comment) Otherwise, maybe you can ask in the micro-manager forum? |
Hi, I'm trying the plugin for displaying the live image from
https://pycro-manager.readthedocs.io/en/latest/application_notebooks/pycro_manager_imjoy_tutorial.html that uses https://gist.github.com/oeway/f59c1d1c49c94a831e5e21ba4c6111dd
Specifically, I'm trying to run the code below, but it seems that after pushing 'start live' the function get_image() is called only twice (I checked it with a global counter)
Many thanks,
`import time
import numpy as np
from imjoy import api
from pycromanager import Bridge
class MyMicroscope:
async def setup(self):
bridge = Bridge()
self._core = bridge.get_core()
exposure = self._core.get_exposure()
api.showMessage("MMcore loaded, exposure: " + str(exposure))
api.export(MyMicroscope())`
The text was updated successfully, but these errors were encountered: