Re: micro-manager-general Digest, Vol 127, Issue 26

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

Re: micro-manager-general Digest, Vol 127, Issue 26

MonikaP
W dniu .06.2017 o 14:12  
<[hidden email]> pisze:

> Hi Monika,
> On 6/29/2017 5:29 AM, [hidden email] wrote:
>> I am trying to update my scripts to Micromanager2. I managed part of
>> it, but I got stuck at the setPositionList method that used to be
>> called via gui.setPositionList(pl). I tried several combinations that
>> I could think of after reading this
>> https://valelab4.ucsf.edu/~MM/doc-2.0.0-beta/mmstudio/org/micromanager/PositionListManager.html
>> but I failed (my Java knowledge is very limited). How can I call this
>> method in mm2?
> import org.micromanager.PositionListManager;
> import org.micromanager.PositionList;
> PositionList pl = mm.positions().getPositionList();
> mm.positions().setPositionList( pl );

Thanks. My full script for creating a position list is here if somebody  
else finds this useful:
https://github.com/pawlowska/micro-manager-scripts/blob/master/mm2_PositionListXY.bsh

Sorry for not replying in proper thread - not sure how to do this when I  
get the emails as Digest.

Regards,
--
Dr Monika Pawłowska
Nencki Institute
02-093 Warsaw
Pasteura 3
Poland

------------------------------------------------------------------------------
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