Micro-Manager FPS issue

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Micro-Manager FPS issue

Bryan Fowler
I'm using a Hammatsu Orcaflash 4.0, C13440 and Micromanager 1.4.23 on a Dell XPS 8920.
This is an odd issue because I'm trying to reduce my FPS to 5 to limit file size, but anything slower than a 100ms interval is collecting much slower than it should.

My exposure is at 100ms, when I set my interval to 100ms it works fine, does 200 frames in 20.3 seconds, or about the 10FPS I asked for.  But at 200 ms interval it takes 69.3 seconds.  This time of 1 minute and 9 seconds is relatively constant  straight down to an interval of 101ms. (I tried 150, 120, 110, and 101ms intervals, all four of these came in at 65.X seconds.)

Any suggestions are welcome.  Thank you.


_______________________________________________
micro-manager-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general
Reply | Threaded
Open this post in threaded view
|

Re: Micro-Manager FPS issue

Stuurman, Nico
Hi Bryan,

> I'm using a Hammatsu Orcaflash 4.0, C13440 and Micromanager 1.4.23 on
> a Dell XPS 8920.
> This is an odd issue because I'm trying to reduce my FPS to 5 to limit
> file size, but anything slower than a 100ms interval is collecting
> much slower than it should.
>
> My exposure is at 100ms, when I set my interval to 100ms it works
> fine, does 200 frames in 20.3 seconds, or about the 10FPS I asked
> for.  But at 200 ms interval it takes 69.3 seconds.  This time of 1
> minute and 9 seconds is relatively constant  straight down to an
> interval of 101ms. (I tried 150, 120, 110, and 101ms intervals, all
> four of these came in at 65.X seconds.)

Cameras have two modes: "single shot" and "video mode".  Taking multiple
single shots often takes much longer than running a video sequence. 
When you have an exposure of 100 ms and you set an interval of 100ms or
less, MM will automatically run the camera in video mode.  When you set
the interval higher, it will switch to single shots, which gives you the
longer time period.

One solution would be to decrease your illumination intensity and set a
200 ms exposure and a 0 ms interval.  If that results in motion
artifacts, you would need to find a way to strobe your light source.


Best,


Nico


_______________________________________________
micro-manager-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general
Reply | Threaded
Open this post in threaded view
|

Re: Micro-Manager FPS issue

nanthony
In reply to this post by Bryan Fowler
Hi Bryan,

Are you collecting these images using the MultiDimension Acquisition window
or using a script?

My guess would be that when you are at a 100ms interval Micromanager is just
telling the camera to take images continuously and is collecting the new
images when they are ready. When you set the interval higher Micromanager is
probably handling the timing on it's own and is repeatedly telling the
camera to snap a single image.

I'm not sure if this is a micromanager issue or a problem with the hamamatsu
adapter but I have found that  there can be a significant delay (100-500 ms)
when telling the camera to snap a single image. The length of this delay
seems to depend on the `Trigger Source` property of the hamamatsu adapter. I
have found the setting this to `Software` is faster than the default of
`Internal`, I have no idea what other effects this change might have though.

Hope that helps,
   Nick




--
Sent from: http://micro-manager.3463995.n2.nabble.com/


_______________________________________________
micro-manager-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general