[OpenSPIM] New Micro-Manager API: Home()

Johannes Schindelin johannes.schindelin at gmx.de
Fri May 8 05:31:24 CDT 2015


Hi Monika,

On 2015-05-07 19:11, m.pawlowska at nencki.gov.pl wrote:
> I tried to do it, just to see whether I can, but I can't and I feel
> that again the problem is not having sufficient information :/ How can
> I find out how this "SVN r15408" relates to the version available via
> Micro-Manager-Dev update site?

Unfortunately, it is not recorded. However, you can see the original 
Subversion revision (which the "SVN r15408" is referring to) in the 
commit message of our Git mirror, on the bottom of the commit messages. 
For example, r15408 corresponds to 
https://github.com/openspim/micromanager/commit/c46cd66d43e7fd55045ee690e281833dc0583d99 
which was committed on Tuesday, May 5th, so it should be in the nightly 
build as of Wednesday, May 6th (and as a consequence on the 
Micro-Manager-dev update site the same day, or at least one day later).

> 2015-05-07T18:49:23.194887 tid5692 [dbg,Core] Will home xy stage Picard 
> XY Stage
> 2015-05-07T18:49:23.208887 tid5692 [dbg,Core] Did home xy stage Picard 
> XY Stage
> 2015-05-07T18:49:23.208887 tid5692 [dbg,Core] Will home xy stage Picard 
> XY Stage
> 2015-05-07T18:49:23.224888 tid5692 [dbg,Core] Did home xy stage Picard 
> XY Stage
> 2015-05-07T18:49:23.224888 tid5692 [IFO,App] Could not home Z stage.
>                                    [       ] java.lang.Exception:
> Device "Picard Z Stage" is of the wrong type for the requested
> operation in Thread[AWT-EventQueue-0,6,main]

It appears that this error message comes from 
https://github.com/openspim/micromanager/blob/f88b6b5ff341061d777511e33c7291a3d498d431/MMCore/DeviceManager.h#L97 
(I called `git grep "of the wrong type"` to find out).

The commit you referenced replaced the `GetDeviceOfType()` call in 
`MMCore::home()` with a `GetDevice()` call: 
https://github.com/openspim/micromanager/commit/c46cd66d43e7fd55045ee690e281833dc0583d99#diff-66e4d1b12dce965612b0d94db6c9f1d6R1619 
-- therefore I think that this line:

>                                    [       ]   at
> mmcorej.MMCoreJJNI.CMMCore_home(Native Method)

hints at outdated Micro-Manager binaries. Having said that, it appears 
as if the Micro-Manager-dev update site has not been updated in a couple 
of days: http://sites.imagej.net/Micro-Manager-dev/mm/win64/?C=M;O=D

I have to run right now, but will investigate more later.

Thank you,
Johannes




More information about the OpenSPIM mailing list