MACROS AND VISUAL BASIC
LSM 710 and LSM 780
Carl Zeiss
Macros
Systems
30 M60-1-0025
e
02/2010
Sub Macro Actions Blocks
This block allows to set a sub macro within a main macro. The sup macro is
opened by clicking onto the arrow in the block icon and closed clicking the
top right of the program flow column. The number of program flow in- and
outputs as well as the number of program flow in- and outputs (= number of
available connection arrows indicated on the block icon) can be defined for
each sub macro. Multiple connections are therefore possible. The maximum of
inputs and outputs for each flow is ten.
Using this block allows to integrate macros or macro procedures programmed
with visual basic into a VME macro. The number of data flow inputs and
outputs can be set to a maximum number of ten. The name of the macro
indicates the name within the VME macro. The file name refers to the path and
name of the VBA macro to be loaded into the VME macro. If no procedure
available within the VBA macro is selected the whole VBA macro will be
executed.
5.1.8.3
Editing a Macro
Following Example shows a macro which acquires
five subsequent images and moves the stage
10 microns in X and Y following each image. The
images are stored and numbered in ascending
order.
•
Arrange and connect the action blocks (Fig. 24).
Fig. 24
Arrangement of action blocks