pymmcore-plus / napari-micromanager

GUI interface between napari and micromanager powered by pymmcore-plus and pymmcore-widgets
https://pymmcore-plus.github.io/napari-micromanager/
BSD 3-Clause "New" or "Revised" License
61 stars 21 forks source link

How to connect to ASI Stage on Linux #296

Closed nkhmicrographia closed 11 months ago

nkhmicrographia commented 11 months ago

Hi! Great job on napari-micromanager project!

I am trying to connect an ASI Stage to napari-micromanager on Linux (Ubuntu 22.04), my micromanager mmCoreAndDevices build has the ASI .so files, but when I connect the stage and run naoari-micromanager, I don't see it in the device browser, any specific tricks I am missing here?

The stage shows up under /dev/ttyUSB0 when I connect it so the serial/usb connection seems to be working.

Any guidance would be highly appreciated!

tlambert03 commented 11 months ago

is this specific to napari-micromanager? that is, does it appear when you load the same config file in mm-studio (the java based micro-manager app)?

If it works in the java app but not in napari-micromanager, can you share your config file please?

nkhmicrographia commented 11 months ago

does it appear when you load the same config file in mm-studio

Thanks @tlambert03 , that was a very helpful comment! I generated the config file using micro-manager and used it, works perfectly fine, it was more me expecting the device property browser to search for my connected devices without a config file - which I see now is clearly a wrong expectation.

Does napari-micromanager provide anything equivalent to micromanager's hardware configuration wizard GUI (or alternative CLI interface to generate a config file)? At the moment one still needs micromanager to generate the configs.

tlambert03 commented 11 months ago

Yep, the device prop browser only shows loaded devices... not all available devices.

We do have a setup wizard ready to go... see https://github.com/pymmcore-plus/pymmcore-widgets/pull/183

But it's not yet exposed with a button in napari micromanager. (That's generally true of a number of features that are implemented on a lower level, but not yet exposed in the gui). We'll add it soon and release an updated version.