LSM 710 and LSM 780
MACROS AND VISUAL BASIC
Systems Macros
Carl
Zeiss
02/2010 M60-1-0025
e
27
It is possible to export images choosing a certain file format from the pull down
list that appears when highlighting the line File Format in the properties list.
Specific parameters are assigned to each file format which can be set for the
image export.
Images can be imported within the program flow. The image to be loaded can
be selected by typing in the file path. The import of single images or an image
series is possible. The images to be imported as series must have the same
name and must be numbered in ascending order.
Program Flow Action Blocks
If any action(s) should be repeated a defined number of times, the Repeat block
should be set into the loop of the program flow. The number of repeats is set in
the properties list. The repeat is only performed using the connection of the
right arrow. After finishing the repeats, the program flow connected to the
arrow pointing down is performed.
Using this block in the program flow allows to assign new values to a selected
variable using mathematical calculations which can be typed into the value line.
All predefined variables can also be used for calculations. By passing this block
the variable will be transiently changed and the new value can for example be
used to assign different numbers to the image name or to increase the time
delay during a time series acquisition.
This block assignes a new value to a variable which has to be selected from the
drop down list. The value assigned results from a calculation taken from the
statistics action block (see below).
The two blocks are used as decision makers. Depending on the value of a
predefined variable, the program flow can be directed to one of the two
possible directions. The expression of the variable’s value which should be used
to decide on the program flow is set in the properties list individually for each
used decision making block. It takes the actual transient value of the variable
into account.
This block introduces a delay in the program flow. The delay time is started
when the block is reached within the program flow.
The block allows to assign a potential error message with a textbox and to
decide on the Error where to direct the program flow. If no textbox is assigned
the program flow will just continue according to the presence of an error
message. Choosing a textbox requires the input of the user to continue with
the program flow.