SequenceSettings issue

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

SequenceSettings issue

Thomas Etheridge
Hi

I am just starting to learn scripting in MM with no previous coding experience. 

I am trying to automate our microscope and I am starting with just taking a white light burst of 100 frames. I am having issues with getting the SequenceSettings class to save my acquisition.

This is the part of the code I am struggling with:

SequenceSettings settingsWL = gui.getAcquisitionSettings();
settingsWL.numFrames = 100;
settingsWL.save = true;
settingsWL.root = "/Users/te38/Desktop";
settingsWL.prefix = "WL";
gui.setAcquisitionSettings(settingsWL);
gui.runAcquisition();

When I run this, the microscope will acquire the 100 frames, display it, but it won’t have saved it in the directory and it doesn’t give it a prefix….and there are no errors

Am I doing something obviously wrong?

Thanks

Tom


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
micro-manager-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general