I wanted to know whether it is somehow possible to use the Stage Control plug-in not only with the GUI but also with the arrows on the keyboard. I tried to use the same command which is used in StageControlFrame.java in a Beanshell script but it does not work.
No unfortunately not. But maybe it is also because I have tried it with my cheap camera which is not detected by the OpenCVGrabber so I had no live image. For a quick test I used the demo camera with a live image but it wasn't working either.
I was just wondering whether there is a quick way to do this with a Beanshell script. I mean with a proper camera and live image it should work I guess with the Interactive Stage Movements.
We are having the same problem controlling our XY stage with the keyboard using MM v2.1 beta. "Hand moves mouse" does not work either. Does the live window need to have the focus for this to work? Maybe there is something we simple are missing?
On Thu, May 26, 2016 at 10:00 AM, pforsche <[hidden email]> wrote:
> We are having the same problem controlling our XY stage with the keyboard
> using MM v2.1 beta. "Hand moves mouse" does not work either. Does the live
> window need to have the focus for this to work? Maybe there is something we
> simple are missing?
You need to have the ImageJ hand tool to be selected. Then, dragging
should work and double-clicking should move that point to the center.
You won't see anything unless Live is running (or you manually snap a
new image), since the mouse action only moves the stage and does not
update the image on its own.
And yes, this currently only works with the Snap/Live window (not
Albums or MDA images).
Also, if the stage moves in the wrong direction, you may need to tweak
(The "Transpose*" properties.)
I dig out this old thread since I'm in the process of upgrading our 2 setups
to MM2-gamma (using the nightly builds). Is it still possible to move the
stage with arrow keys when the live window is active and "mouse moves stage"
> I dig out this old thread since I'm in the process of upgrading our 2 setups
> to MM2-gamma (using the nightly builds). Is it still possible to move the
> stage with arrow keys when the live window is active and "mouse moves stage"
> I got all configs in place, the stage control window working well when I
> click the arrow buttons and mouse moves stage working as well as expected.
> However, hitting arrow keys does not move the stage. So I start wondering
> whether the feature was disabled in MM2... all the more so as the
> corresponding help section has been removed.
Not so much "explicitly removed", more "a by-product of extensive
refactoring, and not restored yet, since nobody brought it up or
seriously looked at it".
Most of the code is still there, it is not hooked up, and needs some
updating of the internals. Since you brought it up, I'll look at it soon.