MACROS AND VISUAL BASIC
LSM 710 and LSM 780
Carl Zeiss
Macros
Systems
32 M60-1-0025
e
02/2010
•
The movement of the stage is defined
highlighting the Move stage action block,
chosing the Mode Relative Position in the
Property list and typing in the value 10 for X
and Y which then will move the stage 10
microns into X and Y direction starting with the
current stage position on passing that action
block.
•
Now the first complete scan has been
performed and the image is stored. For the next
cycle the variable Index has to get another value
to make sure the numbering of the images
works. Using the
Assignments
action block,
the Variable Index is chosen and the value
assigned is
Index + 1
. Such the variable will get
the transient value 2 for the next cycle, the
value 3 for the over next cycle and so on.
•
The number of repeats can be defined using a
Decision block and using the value of the
variable as base for the decision. By defining
that if the Expression of the variable is larger
than 5 and not connecting the output arrow
marked with ‘yes’ to any other block, the macro
will stop after the acquisition of five images.
Alternatively one can use at this part of the
program flow the Repeat block and define the
number of repeats to be performed, which
would be 5 in this case (The first scan is already
counted!)
Fig. 29
Property list of the Move stage action
block.
Fig. 30
Property list of the Assignments action
block
Fig.
31
Property list of the Decision action
block