CHAPTER 2 - MACROS AND VISUAL BASIC
ZEISS
VBA Programming for LSM
LSM 880
30
000000-2071-464
10/2014 V_01
4.7
Programming with the VBA-GUI interface
4.7.1
Introduction
The ZEN VBA-GUI interface allows you to program ZEN with the same comfort and ease as using the
mouse to control the GUI. All capabilities of the ZEN system are accessible via an intuitive syntax.
The main idea behind the ZEN VBA-GUI interface is to make ZEN commands available in the same way as
they are in the GUI. The image shows how this principle works: To set the acquisition frame size, one has
to
1.
Select the
Acquisition
tab
2.
Go to the
Acquisition
mode box
3.
Set
Frame Size X
and
Y
In the VBA-GUI interface, this translates to "Acquisition.AcquisitionMode.FrameSizeX" and
"FrameSizeY".
The easiest way to access the VBA-GUI interface is to start with a recorded macro. This contains a "ZEN"
object, which has a "GUI" property. "ZEN.GUI" is the entry point to the VBA-GUI interface.
Fig. 22
ZEN VBA-GUI Interface
Summary of Contents for LSM 880
Page 1: ...LSM 880 LSM 880 NLO Operating Manual October 2014 ZEN 2 black edition...
Page 650: ......
Page 678: ......
Page 687: ......
Page 688: ......