Query about calling custom macro through visual macro editor in Zen 2011

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

Query about calling custom macro through visual macro editor in Zen 2011

*****
To join, leave or search the confocal microscopy listserv, go to:
http://lists.umn.edu/cgi-bin/wa?A0=confocalmicroscopy
*****

Hello everyone,

We are trying to write a text file through Zen 2011's visual macro
editor (VME) during custom acquisition, but unable to figure out how
to call custom procedure though VME. The microscope is Zeiss LSM 780.

We have a variable in the visual macro editor that gets updated during
acquisition and needs to be written to text file. Amitabh wrote a VBA
macro to write to a text file. It works fine when called from Macro...
interface of Zen and the function that does the writing can also be
added as a menu to Zen interface.

But, we cannot associate the VBA function to a Sub Macro block of
visual macro editor. After we set the File Name to the macro file, the
list for Procedure is not populated by functions written in the macro.

Here is a screenshot
(https://docs.google.com/file/d/0B-mA2Q2RdhdoNmtkNmxjR2RWcWc/)  of
example flow (with Sub Macro block
highlighted) to clarify what we are trying to do.

Tips and examples  from Zeiss folks and listers greatly appreciated.

Thank you
Shalin
website: http://mshalin.com
www.openpolscope.org
(office) Lillie 110, (ph) 508-289-7374.

HFSP Postdoctoral Fellow,
Marine Biological Laboratory,
7 MBL Street, Woods Hole MA 02543, USA