<div dir="ltr"><div><div><div><div>Hi again, <br><br>Yes, setting the pixel size lets the camera work again! I also had to switch the Picard serial numbers in the configuration file to their actual values, as I had switched them around initially to get the focus stage to be the correct one. The plugin is now functional. I can create a configuration file, start the SPIM plugin, then save it to get a pixel size. I still need to remove the extra COM3 line from the configuration file manually, and when I start live view there is a MicroManager error: <br>
</div>Error: org.micromanager.MMStudioMainFrame.updateCenterAndDragListener(MMStudioMainFrame.java.2240)<br></div><br>but when I dismiss it, everything seems to function normally. I am still getting sporadic Acquiring: null errors when I start acquisition, but that predated this change. Let me know if I should send any more info. <br>
</div>Thanks very much Luke! <br><br></div>Aurelia<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 1, 2014 at 7:12 PM, Luke Stuyvenberg <span dir="ltr"><<a href="mailto:stuyvenberg@wisc.edu" target="_blank">stuyvenberg@wisc.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There certainly seems to be something odd about the camera adapter right now. Specifically,<br>
<br>
2014-07-01T18:07:18.997408 tid6872 [IFO,dev:Camera-1] PVCAM API error: "C0_CAM_NAME_NOT_FOUND This is not a valid name for opening the camera", code: 14<br>
<br>
Do you get this error opening only the live view, without starting the SPIM Acquisition plugin? The core log seems to suggest that the camera works fine until the plugin is launched. Most likely, when the plugin defines an automatic pixel size, some sort of reset occurs in the core, but the camera adapter doesn't tolerate it well (I feel like I've encountered this issue before with a different camera adapter... I'll have to look into this; it might be a report for the MM team to look at.). As a short-term workaround, you can define a pixel size before launching the software, using Tools -> Pixel Size Calibration. (If a pixel size is predefined, the SPIM plugin won't try to add one.) After defining a pixel size, save the configuration (Tools -> Save Configuration Settings As...) so you won't need to re-make the pixel size definition each time.<br>
<br>
<br>
Please try that workaround and let me know if you still have issues; I'll add the immediate fixes on the update sites and see what I can do about tracking down this bug.<br>
<br>
<br>
Thanks!<br>
<div class="">Luke<br>
<br>
On 07/01/14, Aurelia Honerkamp-Smith wrote:<br>
> Hi again,<br>
><br>
><br>
</div><div class="">> Yep, the COM3 messages stop when I get rid of the extra line in the configuration file. Oh! This is exciting! After I start up and load the configuration file without the extra COM3 line, I can start the plugin, and move the stage! However, when I try to start live view, I then get a Micro-Manager error: "Error in device Camera-1: The device cannot set this property at the moment." Trying to use Snap gives "Error Acquiring: null."<br>
><br>
> Well, it was exciting for me anyhow. Another corelog is attached.<br>
><br>
><br>
> Aurelia<br>
><br>
><br>
><br>
><br>
</div><div class="">> On Tue, Jul 1, 2014 at 5:32 PM, Luke Stuyvenberg <<a href="mailto:aureliaomega@gmail.com">aureliaomega@gmail.com</a> <<a href="mailto:stuyvenberg@wisc.edu">stuyvenberg@wisc.edu</a>')" target="1"><a href="mailto:stuyvenberg@wisc.edu">stuyvenberg@wisc.edu</a>> wrote:<br>
><br>
> > Hi Aurelia,<br>
> ><br>
> > > Thanks! I've replaced rsyntaxtextarea.jar. I can now configure all 3 components, although I still get the COM3 error messages. The shutter and camera then seem to function, but I can't start the SPIM plugin to see if the stage is working. I don't get an error message that says my setup is invalid, the plugin just fails to start. I attach the configuration file that I have just made, and a corelog showing an attempt to start the plugin.<br>
> ><br>
</div>> > The COM3 error message is happening because of the duplicate line in the configuration file -- though, if the configurator is generating this file each time, there is probably an underlying issue that requires investigation. (Unfortunately, it isn't obvious to me why this might happen; finding this out could take time.) A quick fix would be to edit the config file in a text editor and remove line 7 or 8 ("Device,COM3,SerialManager,COM3").<br>
> ><br>
> ><br>
> > The SPIM plugin won't start because the stage configuration is confusing it. Two possibilities: Either the COM3 error is leaving the stages only partially initialized, so the stage position is invalid (out of the stage's range, according to its properties), or a stage (usually the twister) was left in a position outside its accepted range. Given the PVCAM exception earlier in the CoreLog, I would assume the former -- but to be sure, before starting the system, please try using the Picard software to home the three linear stages and zero the rotational stage, leaving them all inside the usual position range.<br>
<div class="">> ><br>
> ><br>
> > On 07/01/14, Aurelia Honerkamp-Smith wrote:<br>
> > > My system info is:<br>
> > > <br>
> > > --------------- S Y S T E M ---------------<br>
> > > <br>
> > > OS: Windows 7 Build 7601 Service Pack 1<br>
> > > <br>
> > > CPU:total 12 (6 cores per cpu, 2 threads per core) family 6 model 45 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht<br>
> > > <br>
> > > Memory: 4k page, physical 66506940k(61696496k free), swap 133012024k(127977948k free)<br>
> > > <br>
> > > vm_info: Java HotSpot(TM) Client VM (19.1-b02) for windows-x86 JRE (1.6.0_24-b07), built on Feb 2 2011 17:44:41 by "java_re" with MS VC++ 7.1 (VS2003)<br>
> > > <br>
> > > <br>
> > > Is that the system information you need? <br>
> ><br>
> ><br>
> ><br>
> ><br>
</div>> > Yes, thank you! It doesn't reveal much about the problem, but at the very least it confirms that the system should be working...<br>
> ><br>
> ><br>
> > Just to keep track of what we've done so far (so I know what to change in the next update):<br>
<div class="">> > - Updated mmgr_dal_SerialManager.dll and all system DALs to the latest versions.<br>
</div>> > - Replaced rsyntaxtextarea.jar with Micro-Manager's preferred version.<br>
<div class="">> ><br>
> ><br>
> > Nearly there, I think!<br>
> > Luke<br>
> ><br>
> ><br>
> > On 07/01/14, Aurelia Honerkamp-Smith wrote:<br>
> > > Hi again,<br>
> > ><br>
> > ><br>
> > > Thanks! I've replaced rsyntaxtextarea.jar. I can now configure all 3 components, although I still get the COM3 error messages. The shutter and camera then seem to function, but I can't start the SPIM plugin to see if the stage is working. I don't get an error message that says my setup is invalid, the plugin just fails to start. I attach the configuration file that I have just made, and a corelog showing an attempt to start the plugin. My system info is:<br>
> > ><br>
> > > --------------- S Y S T E M ---------------<br>
> > ><br>
> > > OS: Windows 7 Build 7601 Service Pack 1<br>
> > ><br>
> > > CPU:total 12 (6 cores per cpu, 2 threads per core) family 6 model 45 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht<br>
> > ><br>
> > > Memory: 4k page, physical 66506940k(61696496k free), swap 133012024k(127977948k free)<br>
> > ><br>
> > > vm_info: Java HotSpot(TM) Client VM (19.1-b02) for windows-x86 JRE (1.6.0_24-b07), built on Feb 2 2011 17:44:41 by "java_re" with MS VC++ 7.1 (VS2003)<br>
> > ><br>
> > ><br>
> > > Is that the system information you need?<br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> ><br>
</div><div class="">> > > On Mon, Jun 30, 2014 at 7:37 PM, Luke Stuyvenberg <<a href="http://openspim.org/mailman/listinfo/openspim(java_script:main.compose('new(java_script:main.compose('new(http://openspim.org/mailman/listinfo/openspim(java_script:main.compose('new(java_script:main.compose('new)'(java_script:main.compose('new(javascript:main.compose('new" target="_blank">http://openspim.org/mailman/listinfo/openspim(java_script:main.compose('new(java_script:main.compose('new(http://openspim.org/mailman/listinfo/openspim(java_script:main.compose('new(java_script:main.compose('new)'(java_script:main.compose('new(javascript:main.compose('new</a>', 't=<a href="mailto:aureliaomega@gmail.com">aureliaomega@gmail.com</a>> <<a href="mailto:stuyvenberg@wisc.edu">stuyvenberg@wisc.edu</a> <<a href="mailto:stuyvenberg@wisc.edu">stuyvenberg@wisc.edu</a>>')" target="1"><a href="mailto:stuyvenberg@wisc.edu">stuyvenberg@wisc.edu</a> <<a href="mailto:stuyvenberg@wisc.edu">stuyvenberg@wisc.edu</a>>> wrote:<br>
> > ><br>
> > > > Hi,<br>
> > > ><br>
> ><br>
> > > > One further thought -- the Java error at the top of the log file comes from a conflict in rsyntaxtextarea.jar (some e-mails on the MM mailing list discuss this issue, and we're working on porting Fiji/IJ2 to a newer version of the jar) -- I expected that having these in conflict would only disable the Micro-Manager script editor, but some testing suggests it might be more disruptive than that. Another fix you can try without waiting on me: From vanilla MM, copy: "plugins/Micro-Manager/rsyntaxtextarea.jar" -> (in OpenSPIM.app) "jars/rsyntaxtextarea.jar"; then, move, rename, or delete "jars/rsyntaxtextarea-2.0.4.1.jar".<br>
> > > ><br>
> > > ><br>
> > > > Thanks again,<br>
> > > > Luke<br>
> > > ><br>
> > > > On 06/30/14, Luke Stuyvenberg wrote:<br>
> > > > > Hi Aurelia,<br>
> > > > ><br>
> ><br>
> > > > > Could you attach your configuration file, and report your system specs (OS version/architecture) as well? The core log certainly seems to suggest it is attempting to load COM3 multiple times (it also seems to reset the serial port properties with each stage loaded from PicardStage), but short of that, I'm still not entirely certain what's going on. If the 24 June device adapters weren't correct, they probably wouldn't load at all, so presumably you've already copied all the right DLLs. (SerialManager and ThorlabsSC10 are self-contained, so just those files should be enough to run those devices; PVCAM has an external DLL, but your core log suggests the camera initializes without a problem.)<br>
> > > > ><br>
> > > > ><br>
> > > > > Thanks,<br>
> > > > > Luke<br>
> > > > ><br>
> > > > > On 06/30/14, Aurelia Honerkamp-Smith wrote:<br>
> > > > > > Sorry, I meant to also say that I can't load individual components, I get the same error messages about COM3. The only configuration I can actually complete is the shutter on its own, but it doesn't function.<br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> ><br>
</div><div class="">> > > > > > On Mon, Jun 30, 2014 at 6:55 PM, Aurelia Honerkamp-Smith <> > > > > On Mon, Jun 30, 2014 at 6:01 PM, Luke Stuyvenberg <<a href="mailto:stuyvenberg@wisc.edu">stuyvenberg@wisc.edu</a> <<a href="mailto:stuyvenberg@wisc.edu">stuyvenberg@wisc.edu</a>> <<a href="mailto:stuyvenberg@wisc.edu">stuyvenberg@wisc.edu</a> <<a href="mailto:stuyvenberg@wisc.edu">stuyvenberg@wisc.edu</a>>>(java_script:main.compose()> wrote:<br>
> > > > > > ><br>
> > > > > > > > Hi Aurelia,<br>
> > > > > > > ><br>
> > > > > > > > On 06/30/14, Aurelia Honerkamp-Smith wrote:<br>
> > > > > > > > > Thank you! I am still having a problem, probably because I'm using a nonstandard setup. There seems to be a conflict in loading my camera (a PVCam one) and the shutter I use to block the laser (Thorlabs SC10); when I try to configure, I get a message "the specified label COM3 is already in use" before anything has been configured, and then several times after I load both, one that says "Line8: device, COM3, serialmanager, COM3." The shutter should be on COM3 but not the camera, and I don't run into this conflict when I load both shutter and camera in the vanilla MM from 24 June. I attach a core log showing an attempt to load shutter and camera.<br>
> > > > > > > ><br>
> > > > > > > ><br>
> > > > > > > ><br>
> > > > > > > > Do the devices work individually in OpenSPIM? i.e. if only one is loaded, do you ever get that message? It sounds like a problem with the SerialManager, a device adapter which I hadn't updated -- you might try pulling mmgr_dal_SerialManager.dll from the 24 June nightly build. I'll also be looking into this.<br>
> > > > > > > ><br>
> > > > > > > ><br>
> > > > > > > > On 06/30/14, Aurelia Honerkamp-Smith wrote:<br>
> > > > > > > > > The Picard stage now appears in the list of available hardware, but when I try to load all three the computer bluescreens.<br>
> > > > > > > ><br>
> > > > > > > ><br>
> > > > > > > ><br>
> > > > > > > > Load all three devices (camera, shutter, stage), or load all three stages? Does it bluescreen reliably? (I've not seen/heard of this happening before...)<br>
> > > > > > > ><br>
> > > > > > > ><br>
> > > > > > > > I'll let you know what I work out. Thanks again!<br>
> > > > > > > > Luke<br>
> > > > > > > ><br>
> > > > > > > ><br>
> > > > > > > > On 06/30/14, Aurelia Honerkamp-Smith wrote:<br>
> > > > > > > > > Hi Luke,<br>
> > > > > > > > ><br>
> > > > > > > > ><br>
> > > > > > > ><br>
> > > > > > > > > Thank you! I am still having a problem, probably because I'm using a nonstandard setup. There seems to be a conflict in loading my camera (a PVCam one) and the shutter I use to block the laser (Thorlabs SC10); when I try to configure, I get a message "the specified label COM3 is already in use" before anything has been configured, and then several times after I load both, one that says "Line8: device, COM3, serialmanager, COM3." The shutter should be on COM3 but not the camera, and I don't run into this conflict when I load both shutter and camera in the vanilla MM from 24 June. I attach a core log showing an attempt to load shutter and camera. The Picard stage now appears in the list of available hardware, but when I try to load all three the computer bluescreens.<br>
> > > > > > > > ><br>
> > > > > > > > ><br>
> > > > > > > > > Thanks again,<br>
> > > > > > > > > Aurelia<br>
> > > > > > > > ><br>
> > > > > > > > ><br>
> > > > > > > > ><br>
> ><br>
</div><div><div class="h5">> > > > > > > > > On Mon, Jun 30, 2014 at 3:03 PM, Luke Stuyvenberg <<a href="mailto:openspim@openspim.org">openspim@openspim.org</a> <<a href="mailto:openspim@openspim.org">openspim@openspim.org</a>> <<a href="mailto:openspim@openspim.org">openspim@openspim.org</a> <<a href="mailto:openspim@openspim.org">openspim@openspim.org</a>>>(java_script:main.compose() <<a href="mailto:stuyvenberg@wisc.edu">stuyvenberg@wisc.edu</a> <<a href="mailto:stuyvenberg@wisc.edu">stuyvenberg@wisc.edu</a>> <<a href="mailto:stuyvenberg@wisc.edu">stuyvenberg@wisc.edu</a> <<a href="mailto:stuyvenberg@wisc.edu">stuyvenberg@wisc.edu</a>>>(java_script:main.compose()')" target="1"><a href="mailto:stuyvenberg@wisc.edu">stuyvenberg@wisc.edu</a> <<a href="mailto:stuyvenberg@wisc.edu">stuyvenberg@wisc.edu</a>> <<a href="mailto:stuyvenberg@wisc.edu">stuyvenberg@wisc.edu</a> <<a href="mailto:stuyvenberg@wisc.edu">stuyvenberg@wisc.edu</a>>>(java_script:main.compose()> wrote:<br>
> > > > > > > > ><br>
> > > > > > > > > > Hi Aurelia,<br>
> > > > > > > > > ><br>
> > > > > > > ><br>
> > > > > > > > > > Sorry about that; it seems a lot more had changed than I had expected. I've updated the update site again, with a number of changes (new MMCore, new versions of the device adapters). It tested okay on my virtual machine, but if there's still a problem, please let me know. If you run into other device adapter problems (i.e. not with PicardStage), try getting updated device adapter versions from the nightly build as of 24 June or so.<br>
> > > > > > > > > ><br>
> > > > > > > > > ><br>
> > > > > > > > > > Thanks!<br>
> > > > > > > > > > Luke<br>
> > > > > > > > > ><br>
> > > > > > > > > > On 06/29/14, Aurelia Honerkamp-Smith wrote:<br>
> > > > > > > > > > > Hello,<br>
> > > > > > > > > > ><br>
> > > > > > > > > > > I am afraid that after updating to the newest PicardStage dll, my previous configuration is unable to load the stage. I get an error message:<br>
> > > > > > > > > > ><br>
> > > > > > > > > > > Line 8: Device,Picard Twister,PicardStage,Picard Twister<br>
> > > > > > > > > > > Failed to load device adapter "PicardStage" from "C:\Users\ah659\Desktop\OPENSP~1\OpenSPIM.app\mm\win32\mmgr_dal_PicardStage.dll"<br>
> > > > > > > > > > ><br>
> > > > > > > > > > > Line 9: Device,Picard Z Stage,PicardStage,Picard Z Stage<br>
> > > > > > > > > > > Failed to load device adapter "PicardStage" from "C:\Users\ah659\Desktop\OPENSP~1\OpenSPIM.app\mm\win32\mmgr_dal_PicardStage.dll"<br>
> > > > > > > > > > ><br>
> > > > > > > > > > > Line 10: Device,Picard XY Stage,PicardStage,Picard XY Stage<br>
> > > > > > > > > > > Failed to load device adapter "PicardStage" from "C:\Users\ah659\Desktop\OPENSP~1\OpenSPIM.app\mm\win32\mmgr_dal_PicardStage.dll"<br>
> > > > > > > > > > ><br>
> > > > > > > > > > > Line 22: Property,Picard Twister,Serial Number,60<br>
> > > > > > > > > > > No device with label "Picard Twister"<br>
> > > > > > > > > > ><br>
> > > > > > > > > > > Line 23: Property,Picard Z Stage,Serial Number,181<br>
> > > > > > > > > > > No device with label "Picard Z Stage"<br>
> > > > > > > > > > ><br>
> > > > > > > > > > > Line 24: Property,Picard XY Stage,Serial Number (X),182<br>
> > > > > > > > > > > No device with label "Picard XY Stage"<br>
> > > > > > > > > > ><br>
> > > > > > > > > > > Line 25: Property,Picard XY Stage,Serial Number (Y),180<br>
> > > > > > > > > > > No device with label "Picard XY Stage"<br>
> > > > > > > > > > ><br>
> > > > > > > > > > > Line 26: Property,Picard XY Stage,X-Max,8000<br>
> > > > > > > > > > > No device with label "Picard XY Stage"<br>
> > > > > > > > > > ><br>
> > > > > > > > > > > Line 27: Property,Picard XY Stage,X-Min,1<br>
> > > > > > > > > > > No device with label "Picard XY Stage"<br>
> > > > > > > > > > ><br>
> > > > > > > > > > > Line 28: Property,Picard XY Stage,Y-Max,8000<br>
> > > > > > > > > > > No device with label "Picard XY Stage"<br>
> > > > > > > > > > ><br>
> > > > > > > > > > > Line 29: Property,Picard XY Stage,Y-Min,1<br>
> > > > > > > > > > > No device with label "Picard XY Stage"<br>
> > > > > > > > > > ><br>
> > > > > > > > > > > Line 44: Property,Core,Focus,Picard Z Stage<br>
> > > > > > > > > > > Cannot set Core property Focus to invalid value "Picard Z Stage"<br>
> > > > > > > > > > ><br>
> > > > > > > > > > ><br>
> > > > > > > > > ><br>
> > > > > > > > > ><br>
> > > > > > > > > > > I can still load the camera and my shutter. The Picard Stage now appears unavailable in the hardware configuration wizard. I am also using 32-bit Fiji on a 64-bit machine, but haven't had trouble loading the stage before (it appeared to work normally, with the exception of the occasional communication delay that I mentioned earlier). I attach a core log.<br>
> > > > > > > > > > ><br>
> > > > > > > > > > ><br>
> > > > > > > > > > ><br>
> > > > > > > > > > ><br>
> > > > > > > > > > ><br>
> > > > > > > ><br>
> > > > > > > ><br>
> ><br>
> ><br>
> > > > > > > > > > > On Sat, Jun 28, 2014 at 6:00 PM, <> _______________________________________________<br>
> > > > > OpenSPIM mailing list<br>
</div></div>> > > > > <a href="mailto:OpenSPIM@openspim.org">OpenSPIM@openspim.org</a> <<a href="mailto:OpenSPIM@openspim.org">OpenSPIM@openspim.org</a>> <<a href="mailto:OpenSPIM@openspim.org">OpenSPIM@openspim.org</a> <<a href="mailto:OpenSPIM@openspim.org">OpenSPIM@openspim.org</a>>><br>
> > > ><br>
> > > > > <a href="http://openspim.org/mailman/listinfo/openspim" target="_blank">http://openspim.org/mailman/listinfo/openspim</a><br>
> > > ><br>
> ><br>
</blockquote></div><br></div>