LSM 710 and LSM 780
MACROS AND VISUAL BASIC
Systems Macros
Carl
Zeiss
02/2010 M60-1-0025
e
23
5.1.8.2
Function Description
Toolbar buttons
Run
Starts the macro starting with the first block in the program flow column.
Stop
Stops the macro at any time.
Break
Interrupts the macro. Clicking the button again will resume the actual
program flow of the Macro.
Step over
Runs a sub-macro and stops at the first action block in the main macro.
Step into
Stops at the first action block in a sub-macro.
Load / Save / Save as
Use
Load
to open an existing macro and
Save
to store the macro
. SaveAs
allows storing the same macro under a different name.
Variables
By clicking the button the list of defined variables is displayed. New ones can
be added by typing in name and value in the next free line. Variables are
assigned to macros. For each new macro a new list of variables has to be
generated.
The editor uses predefined action blocks. The action blocks for setting up the work flow of the macro are
categorized according to their properties. The following categories are displayed on the left-hand side of
the
Visual Macro Editor
control window.
−
Acquisition
−
Windows
−
Load/Save
−
Program Flow
−
Process
−
Hardware Control
−
Sub Macro
•
Click on one of the category selection buttons will display the available action blocks.
The action blocks can be positioned according to their function either in the
Program Flow
column or
the
Data Flow
column. The color of the connection arrows of the action block defines the possibility
to position the block in the program flow column or the data flow column(s).
•
Click at the action block with the left mouse button (hold down the mouse button) and drag the
mouse cursor into the flow column. Release the mouse button.
−
Action blocks for the program flow show red connection arrows
▼
as well as blue output arrows
▼
to connect to the data flow.
−
Action blocks for the data flow show blue connection arrows
▼
or green output arrows
▼
to
connect back to the program flow.