[OpenSPIM] HamamatsuHam, Windows 7 & OpenSPIM
Alexis Maizel
Alexis.Maizel at cos.uni-heidelberg.de
Fri Jun 7 08:47:01 CDT 2013
Hi Luke,
I have used CoherentCube's as a template and modified the Cobolt code to implement the Shutter API.
It compiles seamlessly.
However, OpenSPIM now complains about this new device adapter: "Version Mismatch" (and list it as "unavailable").
I assume that I use the wrong code base; but I must confess I am now totally lost. Given that my version of OpenSPIM utilises MM v1.4.xx Dev, which MM source code version should I use?
Alexis
On 6 Jun 2013, at 19:23, Luke Stuyvenberg <stuyvenberg at wisc.edu> wrote:
> Hi Alexis,
> On 06/06/13, Johannes Schindelin wrote:
>> I *think* all you have to do is extend the CShutterBase class:
>> https://github.com/openspim/micromanager/blob/openspim/DeviceAdapters/DemoCamera/DemoCamera.h#L695
>
>
> I suspect you'll also have to implement some specific member functions -- DemoCamera is a reasonable source, though I'd suggest using CoherentCube's DeviceAdapter for reference -- it doesn't contain code for a camera, and is more relevant to laser controllers. A quick overview of what I think will need changing:
> - Cobolt.h line 30: change CGenericBase<Cobolt> to CShutterBase<Cobolt>
> - Cobolt.h: add shutter API calls (see CoherentCube.h lines 153 - 156)
> - Cobolt.cpp: Implement the shutter API functions -- probably, they will just call LaserOnOff with the right value.
>
>
>> Seems that the "reg" tool is not as universally present as we originally
>> thought!
>
>
>
> Oops! Sorry; I don't yet have a Win7 machine/VM to test on, so I wasn't aware of this. tclsh is included in our dev env package, so I suppose we'd best switch to that. Thanks Johannes for the substitute.
>
>
> Please let us know how the tests go!
>
>
> Thanks again,
> Luke Stuyvenberg
More information about the OpenSPIM
mailing list