<div dir="ltr">Hi Mark and Johannes,<div><br></div><div>Thanks so much for finding the fundamental cause of this wired phenomenon. Hope to get your reply later. </div><div><br></div><div>Best, </div><div> </div><div>Ke</div>
</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">Ke Li<div>Research Assistant </div><div>Biomedical Engineering</div><div>Johns Hopkins University</div><div>Phone: 410-934-9802</div><div>Email: <a href="mailto:kli26@jhu.edu" target="_blank">kli26@jhu.edu</a></div>
</div></div>
<br><br><div class="gmail_quote">On Thu, Jun 26, 2014 at 5:46 PM, Mark Tsuchida <span dir="ltr"><<a href="mailto:marktsuchida@gmail.com" target="_blank">marktsuchida@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Ke and Johannes,<br>
<div class=""><br>
On Thu, Jun 26, 2014 at 11:57 AM, Mark Tsuchida <<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>
</div><div class="">>> 1. I still can't add the Z stage when I create the hardware configuration.<br>
>> I tried both 64-bit and 32-bit Windows system, neither can work. Since the<br>
>> problem report doesn't give much info, I'm not sure whether there are other<br>
>> ways to solve this problem? And what possible reasons can cause 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 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 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 you cannot<br>
> get it to work even when entering the correct serial number, could you try<br>
> sending another Problem Report?<br>
<br>
</div>Sorry, I hadn't seen your reply to Johannes that answered that 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>
<div class="HOEnZb"><div class="h5"><br>
Best,<br>
Mark<br>
<br>
--<br>
Mark Tsuchida<br>
Micro-Manager Team (UCSF Vale Lab)<br>
</div></div></blockquote></div><br></div>