Hello, I’m upgrading a system from MM1.4 to MM2. I need to set the camera settings (in particular the ROI, which cannot be set within a “config preset”) automatically at initialisation. In MM1.4, I used this MMStartup.bsh script and it worked perfectly:
mmc.loadSystemConfiguration("C:/Users/max/ConfigurationFile.cfg"); mmc.setProperty("Grasshopper3 GS3-U3-91S6M", "Binning", "Mode1"); mmc.setExposure(3); mmc.setROI(406,238,934,936);
I know the syntax changed in MM2. In particular,
mmc is probably not correct. I tried
core but without success. I read the documentation about scripting with MM2, but I cannot find the proper way to write this MMStartup.bsh file.
Thanks a lot for your help,