napari-micromanager icon indicating copy to clipboard operation
napari-micromanager copied to clipboard

Shutters and channel setting

Open MasafumiTsuboi opened this issue 3 years ago • 4 comments

Hi,

I have 2 problems with shutter and channel setting. ・In the main window, the shutter button in microscope is grayed out and can't be selected. ・I can't add channels in the Snap/Live or multi-D acquisition tabs.

Micro-manager configuration worked in imageJ, but it didn't work as a plug-in tool on the Napari platform.

Is there any reason why this would be the case?

Thanks for all your help!

MasafumiTsuboi avatar Sep 27 '22 07:09 MasafumiTsuboi

Did you load your micromanager configuration in the widget at the top right?

tlambert03 avatar Sep 27 '22 11:09 tlambert03

Thanks for your reply! I loaded my micromanager configuration, and some functions (laser, lens, etc.) did work. Is this the problem on the configuration setting?

MasafumiTsuboi avatar Sep 27 '22 11:09 MasafumiTsuboi

@MasafumiTsuboi Hi! Can you please post here the content of your micromanager configuration file?

In general, the channel widget works only if you have some channel cfg already defined in the micromanager configuration file (maybe called "Channels").

About the shutters, in the current release there is no shutter control (that's why the widget is grayed out). We will add more functionalities/widgets in the next release. If you want to test the shutter widgets you can install napari-micromanager using the line below (I suggest you to create a new environment):

pip install napari-micromanager@git+https://github.com/fdrgsp/napari-micromanager.git@with_shutter

fdrgsp avatar Sep 27 '22 13:09 fdrgsp

Thank you for your reply! Here is my configuration file. I will install the micromanager with shutter version. Thank you again for your kind help! MMConfig_orca_CSUW1.cfg.zip

MasafumiTsuboi avatar Sep 28 '22 01:09 MasafumiTsuboi

https://github.com/pymmcore-plus/pymmcore-widgets/pull/121

should also help here - shutters not modified by autofocus will be able to be manually controlled

ianhi avatar Jan 19 '23 22:01 ianhi

closing. fixed in https://github.com/pymmcore-plus/pymmcore-widgets/pull/121.

fdrgsp avatar Jul 28 '23 17:07 fdrgsp