[micro-manager-general] "Safe" pausing multi-D acquisition / monitoring progress of a current acqui
Status: Beta
Brought to you by:
nicost
|
From: PAVAK S. <pa...@uc...> - 2020-03-10 18:39:10
|
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 |