Login  Register

Re: SensiCam camera capture

Posted by Gabriel Landini on Jun 24, 2006; 9:58am
URL: http://imagej.273.s1.nabble.com/no-subject-tp3702377p3702378.html

On Friday 23 June 2006 23:32, Girault France wrote:
> In one of my previous post, I had a question for an automatisation of a
> plugin (plugin for a SensiCam camera). I've played with the source code of
> the plugin and now it seems to work quite well when I open it... It takes
> automatically an image . Now I would like to let the plugin open while
> making a loop constiting of the movement of a microscope stage (written in
> the same macro that call my sensicam plugin). While the loop is running, I
> would like to take images by calling the plugin again (which has to stay
> open). On the interface of this sensicam plugin, capturing an image can be
> done by clicking on a specific button.

I want to solve a similar problem with the QImaging cameras plugin for IJ.
The plugin seems to be a wrapper of their QCapture windows program (which is
included in the CD that comes with the camera).

Now the problem (which I think is similar to yours?) is to trigger the capture
while the plugin is open.
Just recording the launch of the plugin opens a different thread that waits
for the user to push the "snap" button, so there is no way to snap an image
from a macro. (I asked QI for such function to be added, but I guess that one
has to wait and see...).

I have been wondering (I know this is a very ugly solution) if there is some
program that could be called from the macro language or from a plugin that
emulates or records a click on the snap button. I remember in the early days
of Windows there was some kind of macro recorder that could store this kind
of cursor movement and action.

This way, calling the recorded cursor movement/click would snap a new image
each time.
Is there such a program that runs on newer Windows versions?

Any suggestions are welcome.

Alternatively, if anybody has managed to run the QImaging SDK examples for
linux, please drop me a note. (Can't make it work in SuSE 10.1).

Cheers,

Gabriel