<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<STYLE type=text/css> P, UL, OL, DL, DIR, MENU, PRE { margin: 0 auto;} </STYLE>
<META name=GENERATOR content="MSHTML 11.00.9600.17631"></HEAD>
<BODY leftMargin=1 rightMargin=1 topMargin=1><FONT color=black size=2 face="Segoe UI">
<DIV>Hi Seth,</DIV>
<DIV> </DIV>
<DIV>I'm no expert in the OpenSPIM code, but I am very familiar with the diSPIM plugin in Micro-Manager which does something very similar.</DIV>
<DIV> </DIV>
<DIV>If I understand the question correctly, you want to know how to tell Micro-Manager which images are from which channels so they will get saved correctly in a multi-dimensional dataset. Make sure you add the metadata tag "ChannelIndex" to the TaggedImage you are presumably getting from the camera's circular buffer and then passing along to the Micro-Manager internals. You'll also want to call <FONT size=2 face="Segoe UI">setChannelName</FONT>() so that the index is linked to a meaningful name. See code at <FONT size=2 face="Segoe UI"><A href="https://valelab.ucsf.edu/trac/micromanager/browser/plugins/ASIdiSPIM/src/org/micromanager/asidispim/AcquisitionPanel.java"><FONT color=#0000ff>https://valelab.ucsf.edu/trac/micromanager/browser/plugins/ASIdiSPIM/src/org/micromanager/asidispim/AcquisitionPanel.java</FONT></A>, look at <FONT size=2 face="Segoe UI">
runAcquisitionPrivate</FONT>() (line 1506) which sets up the acquisition and then calls <FONT size=2 face="Segoe UI">addImageToAcquisition</FONT>() (line 2210) which adds the correct metadata and inserts the images into the ImageCache queue. See also <A href="https://micro-manager.org/wiki/Multi-Dimensional_Acquisition_Programming">https://micro-manager.org/wiki/Multi-Dimensional_Acquisition_Programming</A>.</FONT></DIV>
<DIV> </DIV>
<DIV>If you are interested in the GUI aspects, see Micro-Manager's MDA window or the diSPIM plugin's simplified channel selection table.</DIV>
<DIV> </DIV>
<DIV>Good luck!</DIV>
<DIV> </DIV>
<DIV>Jon</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV></DIV>
<DIV><FONT color=blue>> Johannes and list,<BR>><BR>> I’ve made pretty good progress on the hardware implementation of multiple<BR>> channels for our L-SPIM. On the software side I’ve adapted drivers and<BR>> firmware to control my homebuilt DAC (6ch for now) and NEOS-AOTF setup in<BR>> micromanager and pulled everything into the SPIMAcquisition plugin with the<BR>> Device abstraction, a new DAC class and DAC voltage GUI. Eventually there<BR>> will be a wattage calibration. I also have a Sutter 10-2 implemented inthe<BR>> SPIMAcquisition plugin via Device and a FilterWheel class. Right now these<BR>> new devices can be accessed and controlled through SPIMsetup. I do need to<BR>> push all these changes to a new branch… getting there.<BR>><BR>
> I’m now thinking through the acquisition side of things and before I get to<BR>> far down a particular path I wanted to see if there were any strong opinions<BR>> about the implementation of multiple channels. I believe I understand how<BR>> you’ve implemented acquisition and haven’t found a simple way to add the<BR>> extra dimension of channels (DAC and filter wheel). This could be because<BR>> I’m missing something in the implementation though.<BR>><BR>> Thanks in advance for your thoughts!<BR>><BR>> Seth<BR>><BR>> Seth Winfree<BR>> Indiana Center for Biological Microscopy<BR>> Indiana University Medical Center<BR>> 950 West Walnut St, R2-202<BR>> Indianapolis, IN 46202-5116<BR>><BR>
> _______________________________________________<BR>> OpenSPIM mailing list<BR>> <A href="mailto:OpenSPIM@openspim.org"><FONT color=#0000ff>OpenSPIM@openspim.org</FONT></A><BR>> <A href="http://openspim.org/mailman/listinfo/openspim"><FONT color=#0000ff>http://openspim.org/mailman/listinfo/openspim</FONT></A></FONT><BR> </DIV>
<DIV><FONT size=2 face="Segoe UI">
<DIV> </DIV>
<DIV></DIV>
<DIV><BR> </DIV></FONT>
<STYLE> #sig a:link{color: #00579b;} #sig a:visited{color: #00579b;} #sig a:hover{color: #00579b;} </STYLE>
<DIV id=sig style="FONT-SIZE: 10px; BORDER-TOP: #999 1px dotted; FONT-FAMILY: 'Lucida Grande', Verdana, Arial, Sans-Serif; BORDER-BOTTOM: #999 1px dotted; COLOR: #555; PADDING-BOTTOM: 6px; PADDING-TOP: 6px; PADDING-LEFT: 6px; MARGIN: 6px 0px; LINE-HEIGHT: 14px; PADDING-RIGHT: 6px">
<TABLE width=500 border=0>
<TBODY>
<TR>
<TH height=88 width=125 scope=col><IMG alt=ASI src="http://www.ASIimaging.com/images/ASIlogo.jpg" width=100 align=left height=72></TH>
<TH vAlign=top width=365 scope=col align=left>
<P><FONT size=2>Jon Daniels</FONT><FONT size=2><BR><EM><A href="http://www.ASIimaging.com">Applied Scientific Instrumentation</A></EM><BR></FONT><FONT size=1><EM>29391 West Enid Rd, Eugene, OR 97402</EM><BR><EM>Phone: (541) 461-8181</EM> x118<BR><EM>US & Canada: (800) 706-2284</EM><BR><EM>Fax: (541) 461-4018</EM></FONT></P></TH></TR></TBODY></TABLE></DIV></DIV></FONT></BODY></HTML>