<div dir="ltr"><div><div><div>Hi Luke, <br></div>Now that I have added the Thorlabs shutter to the configuration as the default shutter, I don't get the error message about the configuration being invalid, and the OpenSPIM window never opens at all. A corelog is attached in case it's helpful. <br>
</div>I had a problem with the development environment self-installer - it seems upset that I don't have Visual Studio 2008 (I have 2010; a screen grab of the error message is attached) but it looks as though all the source files ended up where they should be anyway, so I'll start having a look. <br>
</div>Thank you again! <br>Aurelia<br><br><div><div>
<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 2, 2013 at 10:48 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">Aurelia,<br>
<br>
Is the ThorLabs shutter set as the default shutter for your setup? (i.e. does it respond to Micro-Manager's auto-shutter functionality?) This is specified during hardware configuration. If so, please attach a core log (any should do, as long as you got the 'setup is invalid' warning) -- the SPIM device manager should be trying to use it as a laser; if this isn't happening, an exception may be appearing in the core log. If the issue is as simple as this, I may be able to fix it with minimal work, which is arguably preferable to the alternative.<br>
<br>
<br>
The alternative: Although the ThorLabs shutter *should* be supported as a 'generic laser', it is possible to specifically add support for the device, though it requires some Java programming. If you're already familiar with our development environment (see <a href="http://openspim.org/How_to_build_the_software" target="_blank">http://openspim.org/How_to_build_the_software</a> -- fair warning: setting up the development environment can take some time), the place to start is plugins/SPIMAcquisition/src/main/java/; in here are various files like PicardStage.java and CoherentCube.java. I recommend reading the top of PicardStage.java for an explanation of the block at the top of the class, then copying and renaming CoherentCube.java to i.e. ThorLabsShutter.java. Rename the contained class and change the string "CoherentCube" to the appropriate device name -- according to the device adapter source code in DeviceAdapters/ThorlabsSC10/, the right string is "SC10" -- and change the rest of the functions however you see fit.<br>
<br>
<br>
Thanks,<br>
Luke<br>
<div><br>
On 10/01/13, Aurelia Honerkamp-Smith wrote:<br>
> Hi everyone,<br>
><br>
><br>
</div>> I guess now is a good time to mention that I built my SPIM using a laser line we already had instead of purchasing the Coherent Cube, by diverting the existing line to the SPIM with a flip mirror and a periscope. Laser power control is manual. The fact that I have no laser connected is causing a problem for SPIM acquisition, though. I get an error message that my setup is invalid when I first start the plugin; then, although acquisition through the Video tab works OK, I can't acquire a regular stack or timelapse: I get "Error acquiring: null" when I push the Oh Snap button. I need to change the plugin so that it ignores the laser power control, and uses a Thorlabs shutter for blinking instead of the laser. I realize this might be a tall order, so I'm ready to start working on it myself, but I would appreciate being pointed in the right direction for how to do this most efficiently.<br>
><br>
><br>
> Thanks again,<br>
> Aurelia<br>
<div>><br>
><br></div></blockquote></div></div></div></div></div>