<div dir="ltr"><div><div>Hello, <br></div>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></div>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>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jun 28, 2014 at 6:00 PM, <span dir="ltr"><<a href="mailto:openspim-request@openspim.org" target="_blank">openspim-request@openspim.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send OpenSPIM mailing list submissions to<br>
<a href="mailto:openspim@openspim.org">openspim@openspim.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://openspim.org/mailman/listinfo/openspim" target="_blank">http://openspim.org/mailman/listinfo/openspim</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:openspim-request@openspim.org">openspim-request@openspim.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:openspim-owner@openspim.org">openspim-owner@openspim.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of OpenSPIM digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Problems with OpenSPIM system (Ke Li)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 27 Jun 2014 22:35:42 -0400<br>
From: Ke Li <<a href="mailto:tianlankeke@gmail.com">tianlankeke@gmail.com</a>><br>
To: Kieran Short <<a href="mailto:kieran.short@gmail.com">kieran.short@gmail.com</a>><br>
Cc: <a href="mailto:openspim@openspim.org">openspim@openspim.org</a><br>
Subject: Re: [OpenSPIM] Problems with OpenSPIM system<br>
Message-ID:<br>
<<a href="mailto:CANQL1FuGbrN-Sm4v%2BW4utYF1hQTVW_C__xYaguRgf3dEJ3wGKA@mail.gmail.com">CANQL1FuGbrN-Sm4v+W4utYF1hQTVW_C__xYaguRgf3dEJ3wGKA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Kieran,<br>
<br>
Thanks for your detailed info. The 4D stage can be controlled normally by<br>
the software from Picard in my system. While I just can't add the Z stage<br>
when I try to create the hardware configuration wizard by micro-manager. So<br>
there is no place I can put the serial number of the Z stage in. (I can add<br>
XY stage and the twister normally and change -1 into the correct serial<br>
number of the XY stage).<br>
<br>
I can also reproduce the problem exactly as what Mark did and encountered<br>
(From Mark: I can reproduce the problem: with no Picard hardware connected<br>
to the computer, no configuration dialog for the pre-initialization<br>
settings (including the serial number) is displayed in the hardware<br>
configuration<br>
wizard. This is the case for the Twister and Z stage, but not the XY stage<br>
(at least on my computer).)<br>
<br>
Thanks,<br>
Ke<br>
<br>
Ke Li<br>
Research Assistant<br>
Biomedical Engineering<br>
Johns Hopkins University<br>
Phone: <a href="tel:410-934-9802" value="+14109349802">410-934-9802</a><br>
Email: <a href="mailto:kli26@jhu.edu">kli26@jhu.edu</a><br>
<br>
<br>
On Fri, Jun 27, 2014 at 6:49 PM, Kieran Short <<a href="mailto:kieran.short@gmail.com">kieran.short@gmail.com</a>><br>
wrote:<br>
<br>
> Hi Ke,<br>
><br>
> You still can add the seral number to the Z in the Picard<br>
> application/program. This is totally independent of micromanager.<br>
><br>
> The other thing is, the 4D stage axes are labeled with stickers which have<br>
> 2 bits of info . 1st is stage name and the other is the serial number. The<br>
> stage name doesn't necessarily represent what you think it does. Our "Z"<br>
> actually translates the stage toward and away from the detection objective!<br>
> That doesn't really matter though, I see Z as just a name that doesn't<br>
> truly reflect its function. It still works fine.<br>
><br>
> Once you enter in the correct serial number in the Picard application the<br>
> indicators for the stage communication in the software should turn from red<br>
> to green.<br>
><br>
> The picard software is*very* strict about this serial number setting. I<br>
> could use just about any numbers and micromanager worked -- but this really<br>
> wont.<br>
> My feeling is that if you at least have picards app working you will know<br>
> if its a "driver" problem or not.<br>
><br>
> It'll make Luke's job a lot easier if this is done. Have you already done<br>
> this and is there communication between the 4d stage and its own software<br>
> once you have entered tge correct serial numbers?<br>
><br>
> Cheers Kieran<br>
> On 28/06/2014 8:17 AM, "Ke Li" <<a href="mailto:tianlankeke@gmail.com">tianlankeke@gmail.com</a>> wrote:<br>
><br>
>> Hi Luke,<br>
>><br>
>> Thanks so much. Could you please send the link of the changed version to<br>
>> me? And since my system is 64-bit, how can I solve the Z stage problem (no<br>
>> field to change the serial number since I can't add the Z stage first)?<br>
>><br>
>> Thanks,<br>
>> Ke<br>
>><br>
>> Ke Li<br>
>> Research Assistant<br>
>> Biomedical Engineering<br>
>> Johns Hopkins University<br>
>> Phone: <a href="tel:410-934-9802" value="+14109349802">410-934-9802</a><br>
>> Email: <a href="mailto:kli26@jhu.edu">kli26@jhu.edu</a><br>
>><br>
>><br>
>> On Fri, Jun 27, 2014 at 2:55 PM, Luke Stuyvenberg <<a href="mailto:stuyvenberg@wisc.edu">stuyvenberg@wisc.edu</a>><br>
>> wrote:<br>
>><br>
>>> Hi everyone,<br>
>>><br>
>>> On 06/27/14, Luke Stuyvenberg wrote:<br>
>>> > I'll report back after fixing/testing and committing/uploading the<br>
>>> device adapter.<br>
>>><br>
>>><br>
>>> And so here I am. I've committed the changes to SVN and uploaded the<br>
>>> 32-bit version of the DLL to the OpenSPIM update site.<br>
>>><br>
>>><br>
>>> Mark -- Following your suggestion, those lines were removed -- in<br>
>>> hindsight, it's not really the correct behavior, and the possible issue<br>
>>> with obtaining an invalid serial number shouldn't be common at all. Thanks!<br>
>>><br>
>>><br>
>>> Kieran -- I recently became aware of the homing problem; the stage<br>
>>> sometimes resets its internal location (when it loses power, perhaps?), so<br>
>>> over time it will be pushed away. The X/Y stage can be homed using the MM<br>
>>> Script Panel, running mmc.home("Picard XY Stage") -- the Z stage has no<br>
>>> appropriate API call, so for the time being, there is a property "GoHome"<br>
>>> that will home that stage when set to 1. It's a workaround until I can<br>
>>> submit a more useful patch to the MM team (though, as an API change, that<br>
>>> may take a little while).<br>
>>><br>
>>><br>
>>> Ke -- Please let me know if there are any more problems; hope this helps!<br>
>>><br>
>>><br>
>>> Luke<br>
>>><br>
>>><br>
>>> On 06/27/14, Luke Stuyvenberg wrote:<br>
>>> > Hi Ke, Mark, Johannes,<br>
>>> ><br>
>>> ><br>
>>> > On 06/26/14, Mark Tsuchida wrote:<br>
>>> > > Johannes, I also found the cause: OnSerialGeneric() is calling the<br>
>>> > > Initialize() function, which fails. This happens before the Hardware<br>
>>> > > Wizard calls Initialize (actually, when the wizard is trying to get<br>
>>> > > the initial values of the pre-init properties), so the wizard has no<br>
>>> > > chance to display the configuration dialog.<br>
>>> > ><br>
>>> > > Simply taking out the calls to Initialize (PicardStage.cpp lines<br>
>>> > > 243-245, 258) seems to fix this, but I'm not sure if that is all that<br>
>>> > > needs to be done (since I don't have a Picard stage and cannot figure<br>
>>> > > out what the intent of calling Initialize() at this point was).<br>
>>> > > Johannes, can you take a look at this?<br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > The intent of the Initialize call was to test the serial number<br>
>>> received from the Pi-detector, but I didn't account for the possibility of<br>
>>> CPiDetector returning DEFAULT_SERIAL_UNKNOWN, which it does if the<br>
>>> requested device hadn't been found. I'm preparing a fix for this that I<br>
>>> will submit via SVN as soon as possible.<br>
>>> ><br>
>>> ><br>
>>> > The ultimate issue is this: The Pi-detector only tested serial numbers<br>
>>> up to 250. I've doubled this for now, but this is a stop-gap measure that<br>
>>> causes an ugly pause in the device adding process while it probes the<br>
>>> serial numbers; I will need to seek a different approach to detecting the<br>
>>> motors.<br>
>>> ><br>
>>> ><br>
>>> > I'll report back after fixing/testing and committing/uploading the<br>
>>> device adapter.<br>
>>> ><br>
>>> ><br>
>>> > Luke<br>
>>> ><br>
>>> ><br>
>>> > On 06/26/14, Mark Tsuchida wrote:<br>
>>> > > Hi Ke and Johannes,<br>
>>> > ><br>
>>> > > On Thu, Jun 26, 2014 at 11:57 AM, Mark Tsuchida <<br>
>>> <a href="mailto:marktsuchida@gmail.com">marktsuchida@gmail.com</a>> wrote:<br>
>>> > > > On Wed, Jun 25, 2014 at 10:27:54PM -0400, Ke Li wrote:<br>
>>> > > >> 1. I still can't add the Z stage when I create the hardware<br>
>>> configuration.<br>
>>> > > >> I tried both 64-bit and 32-bit Windows system, neither can work.<br>
>>> Since the<br>
>>> > > >> problem report doesn't give much info, I'm not sure whether there<br>
>>> are other<br>
>>> > > >> ways to solve this problem? And what possible reasons can cause<br>
>>> the<br>
>>> > > >> problem?<br>
>>> > > ><br>
>>> > > > Are you sure you have the correct serial number for the Z stage (as<br>
>>> > > > Johannes suggested)? In the problem report you sent us, it looked<br>
>>> like<br>
>>> > > > you had not set the serial number when adding the Z stage in the<br>
>>> > > > Hardware Configuration Wizard. This causes the device adapter to<br>
>>> use the<br>
>>> > > > serial number "-1", which always results in an error.<br>
>>> > > ><br>
>>> > > > Do you see a field to enter the serial number for the Z stage? If<br>
>>> you cannot<br>
>>> > > > get it to work even when entering the correct serial number, could<br>
>>> you try<br>
>>> > > > sending another Problem Report?<br>
>>> > ><br>
>>> > > Sorry, I hadn't seen your reply to Johannes that answered that<br>
>>> question of mine.<br>
>>> > ><br>
>>> > > I can reproduce the problem: with no Picard hardware connected to the<br>
>>> > > computer, no configuration dialog for the pre-initialization settings<br>
>>> > > (including the serial number) is displayed in the hardware<br>
>>> > > configuration wizard. This is the case for the Twister and Z stage,<br>
>>> > > but not the XY stage (at least on my computer).<br>
>>> > ><br>
>>> > > Johannes, I also found the cause: OnSerialGeneric() is calling the<br>
>>> > > Initialize() function, which fails. This happens before the Hardware<br>
>>> > > Wizard calls Initialize (actually, when the wizard is trying to get<br>
>>> > > the initial values of the pre-init properties), so the wizard has no<br>
>>> > > chance to display the configuration dialog.<br>
>>> > ><br>
>>> > > Simply taking out the calls to Initialize (PicardStage.cpp lines<br>
>>> > > 243-245, 258) seems to fix this, but I'm not sure if that is all that<br>
>>> > > needs to be done (since I don't have a Picard stage and cannot figure<br>
>>> > > out what the intent of calling Initialize() at this point was).<br>
>>> > > Johannes, can you take a look at this?<br>
>>> > ><br>
>>> > > Best,<br>
>>> > > Mark<br>
>>> > ><br>
>>> > > --<br>
>>> > > Mark Tsuchida<br>
>>> > > Micro-Manager Team (UCSF Vale Lab)<br>
>>> > ><br>
>>> > > _______________________________________________<br>
>>> > > OpenSPIM mailing list<br>
>>> > > <a href="mailto:OpenSPIM@openspim.org">OpenSPIM@openspim.org</a><br>
>>> > > <a href="http://openspim.org/mailman/listinfo/openspim" target="_blank">http://openspim.org/mailman/listinfo/openspim</a><br>
>>> ><br>
>>> > _______________________________________________<br>
>>> > OpenSPIM mailing list<br>
>>> > <a href="mailto:OpenSPIM@openspim.org">OpenSPIM@openspim.org</a><br>
>>> > <a href="http://openspim.org/mailman/listinfo/openspim" target="_blank">http://openspim.org/mailman/listinfo/openspim</a><br>
>>><br>
>><br>
>><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://openspim.org/pipermail/openspim/attachments/20140627/6a368a1d/attachment-0001.html" target="_blank">http://openspim.org/pipermail/openspim/attachments/20140627/6a368a1d/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
OpenSPIM mailing list<br>
<a href="mailto:OpenSPIM@openspim.org">OpenSPIM@openspim.org</a><br>
<a href="http://openspim.org/mailman/listinfo/openspim" target="_blank">http://openspim.org/mailman/listinfo/openspim</a><br>
<br>
<br>
End of OpenSPIM Digest, Vol 14, Issue 20<br>
****************************************<br>
</blockquote></div><br></div>