top bar

File:Simplest mosaic experiment.bsh

Simplest_mosaic_experiment.bsh(file size: 1 KB, MIME type: unknown/unknown)
Warning: This file type may contain malicious code. By executing it, your system may be compromised.

/**

* Uses TTL trigger communcation between Micro-Manager and external
* software (Andor iQ) to fire Andor Mosaic device with iQ virtual
* camera.
*
* This program is meant to run concurrently with Andor iQ 2.7
* The iQ Protocol will look like this:
*
*     ...
*     Trigger In - In7.High
*     Trigger Out - Out6.Low
*     Frappa - Mosaic (Mosaic, All, _FRAPPA)
*     Trigger Out - Out6.High
*
* Notes:
*  1) iQ enumerates the PCU ports from 0-7, but Micro-Manager
*     enumerates from 1-8.  We will assume Micro-Manager's 
*     nomenclature, since Micro-Manager is right ;-)
*  2) Micro-Manager sends the Output 8 high, which iQ listens to
*  3) Micro-Manager then waits for Input 7 to be high.
*  4) There are 2 a bugs:
*     a) It's not possible for 2 programs to listen to the same
*        DAC input port
*     b) iQ has a bug where it cannot set Output 8 low (IDK why)
*     c) Therefore as workaround for (b) we actually read in both
*        7 and 8 as high at the end of the iQ protocol.
*
* Pariksheet Nanda <p.nanda@andor.com> September 2012
*/

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current16:37, 7 September 2012 (1 KB)P.nanda (Talk | contribs)* * Uses TTL trigger communcation between Micro-Manager and external * software (Andor iQ) to fire Andor Mosaic device with iQ virtual * camera. * * This program is meant to run concurrently with Andor iQ 2.7 * The iQ Protocol will look like this: * * ... * Trigger In - In7.High * Trigger Out - Out6.Low * Frappa - Mosaic (Mosaic, All, _FRAPPA) * Trigger Out - Out6.High * * Notes: * 1) iQ enumerates the PCU ports from 0-7, but Micro-Manager * enumerates from 1-8. We will assume Micro-Manager's * nomenclature, since Micro-Manager is right ;-) * 2) Micro-Manager sends the Output 8 high, which iQ listens to * 3) Micro-Manager then waits for Input 7 to be high. * 4) There are 2 a bugs: * a) It's not possible for 2 programs to listen to the same * DAC input port * b) iQ has a bug where it cannot set Output 8 low (IDK why) * c) Therefore as workaround for (b) we actually read in both * 7 and 8 as high at the end of the iQ protocol. * * Pariksheet Nanda <p.nanda@andor.com> September 2012
  • You cannot overwrite this file.

The following page links to this file:

© Micro-Manager : Vale Lab, UCSF 2006-2011 | All Rights Reserved | Contact