Re: [micro-manager-general] "Safe" pausing multi-D acquisition / monitoring progress of a current a
Status: Beta
Brought to you by:
nicost
|
From: PAVAK S. <pavak@g.ucla.edu> - 2020-03-11 16:48:54
|
Relating to this, I found the getNextWakeTime method in the acquisition engine, but the returned value (which seems to be a number roughly 82E6 ms) doesn't look like posix time. Does anyone know how to compare this value against the current physical time? Thanks, Pavak On Tue, Mar 10, 2020, 11:38 AM PAVAK SHAH <pa...@uc...> wrote: > Hi All, > > I've recently started my first major effort to integrate some custom code > with MM 2.0g and am having trouble finding a bit of functionality in the > API. The goal is for my MATLAB code to "safely" pause an acquisition during > the interval between timepoints, do some stuff, then move back to the first > stage position before unpausing (in case the "stuff" takes longer to > accomplish than the interval). > > At the moment, I can see how to grab a handle to the datastore containing > the current acquisition and monitor the number of frames acquired to check > if the acquisition should be in a "safe" state (ie. the number of frames is > an integer multiple of the number of slices and stage positions acquired), > but this is a bit clunky. > > The "messages" window seems to be able to receive updates about the > current status of the acquisition, but I can't find obvious documentation > as to where that data is coming from? > > If someone can point me in the right direction I'd be greatly appreciative! > > Thank you, > Pavak > |