Description
I am using Micro-Manager 2.0 (nightly 2025-03-27) with a Zeiss AxioCam MRc5 (Zeiss AxioCam adapter) and a Zeiss Imager.M2M microscope (Zeiss CAN29 adapter, RS232 connection to microscope body, not the MCU controller).
Problem:
When the camera property Color mode is set to Color, I cannot acquire any image:
- Clicking Snap gives an error:
Error in device "Zeiss AxioCam": Invalid parameters (110)
- Clicking Live shows no image (black window, or the Live button does nothing)
- Changing
Binning after this triggers an additional message: Missing pixel type
If I change Color mode to Monochrome, everything works correctly (black-and-white images, exposure and white balance adjustable).
The same hardware configuration works fine in Micro-Manager 1.4.21 with Color mode = Color (color images are displayed without any error).
Steps to reproduce:
- Load hardware configuration (Zeiss CAN29 + Zeiss AxioCam) in MM 2.0.
- In Device Property Browser, set camera
Color mode = Color (other settings default: Scan Mode = Interpolated, Exposure = 10, etc.)
- Click Snap.
- Observe the error popup.
Error logs (relevant excerpts):
[ERR,Core] Failed to snap image from current camera
[ERR,Core] Error occurred in device CMMCore::snapImage: Error in device "Zeiss AxioCam": Invalid parameters (110)
java.lang.Exception: Error in device "Zeiss AxioCam": Invalid parameters (110)
at mmcorej.MMCoreJJNI.CMMCore_snapImage(Native Method)
at mmcorej.CMMCore.snapImage(CMMCore.java:951)
...
Additionally, the log repeatedly shows a parse exception (may be unrelated, but occurs during GUI updates):
java.text.ParseException: Unparseable number: " 6"
at org.micromanager.internal.utils.NumberUtils.coreStringToInt(NumberUtils.java:114)
...
Comparison table (properties):
| Property |
MM1.4 (works) |
MM2.0 Color (fails) |
MM2.0 Monochrome (works) |
| Color mode |
Color |
Color |
Monochrome |
| Scan Mode |
Interpolated |
Interpolated |
Progressive |
| Binning |
1 |
1 |
2 |
| Color processing |
Off |
Off |
Off |
All other white balance and exposure settings are identical.
Additional findings (tested with DLL replacement)
To further isolate the issue, I attempted to replace the MM 2.0 device adapter DLL with the one from MM 1.4 (which works correctly with color mode on my system). After copying mmgr_dal_AxioCam.dll from MM 1.4 into the MM 2.0 installation folder, Micro-Manager 2.0 fails to load the hardware configuration with the following error:
Error: Failed to load hardware configuration
Line 17: Device, ZeissAxioCam, AxioCam, ZeissAxioCam
Failed to load device adapter "AxioCam" from "D:/ProgramFiles\Micro-Manager-2.0\mmgr_dal_AxioCam.dll"
[Incompatible device interface version (MMCore requires 75; device adapter has 70)]
After this replacement, even when I try to create a new hardware configuration from scratch, the Zeiss AxioCam device is no longer selectable in the device list (presumably because the adapter fails the version check and is rejected by MMCore).
Testing environment:
I am debugging a custom plugin in IntelliJ IDEA. All logs shown in this issue were captured from the IDEA console during plugin execution (green triangle run). No other modifications were made to the system.
Thank you very much for taking the time to look into this issue. I am happy to provide any additional information, run further tests, or try experimental builds if that helps to identify the root cause of the color‑mode failure in MM 2.0.
Please let me know if there are specific diagnostic steps, log levels, or code patches you would like me to apply. I will respond promptly.
Best regards,
Ryan
Description
I am using Micro-Manager 2.0 (nightly 2025-03-27) with a Zeiss AxioCam MRc5 (Zeiss AxioCam adapter) and a Zeiss Imager.M2M microscope (Zeiss CAN29 adapter, RS232 connection to microscope body, not the MCU controller).
Problem:
When the camera property
Color modeis set toColor, I cannot acquire any image:Error in device "Zeiss AxioCam": Invalid parameters (110)Binningafter this triggers an additional message:Missing pixel typeIf I change
Color modetoMonochrome, everything works correctly (black-and-white images, exposure and white balance adjustable).The same hardware configuration works fine in Micro-Manager 1.4.21 with
Color mode = Color(color images are displayed without any error).Steps to reproduce:
Color mode = Color(other settings default:Scan Mode = Interpolated,Exposure = 10, etc.)Error logs (relevant excerpts):
Additionally, the log repeatedly shows a parse exception (may be unrelated, but occurs during GUI updates):
Comparison table (properties):
All other white balance and exposure settings are identical.
Additional findings (tested with DLL replacement)
To further isolate the issue, I attempted to replace the MM 2.0 device adapter DLL with the one from MM 1.4 (which works correctly with color mode on my system). After copying mmgr_dal_AxioCam.dll from MM 1.4 into the MM 2.0 installation folder, Micro-Manager 2.0 fails to load the hardware configuration with the following error:
After this replacement, even when I try to create a new hardware configuration from scratch, the Zeiss AxioCam device is no longer selectable in the device list (presumably because the adapter fails the version check and is rejected by MMCore).
Testing environment:
I am debugging a custom plugin in IntelliJ IDEA. All logs shown in this issue were captured from the IDEA console during plugin execution (green triangle run). No other modifications were made to the system.
Thank you very much for taking the time to look into this issue. I am happy to provide any additional information, run further tests, or try experimental builds if that helps to identify the root cause of the color‑mode failure in MM 2.0.
Please let me know if there are specific diagnostic steps, log levels, or code patches you would like me to apply. I will respond promptly.Best regards,
Ryan