CHAPTER 2 - MACROS AND VISUAL BASIC
LSM 880
VBA Programming for LSM
ZEISS
10/2014 V_01
000000-2071-464
33
4.8
Example Macros
This library of example macros is designed as a starting point for your own programming ventures. They
are deliberately kept simple for quick understanding and hand-on. We recommend that you create copies
the macros and then edit them to see how ZEN reacts to your commands.
You can find the macros in ZEN\Macros\ExamplesMacros.
4.8.1
Access to images
This macro demonstrates how to access the pixel values of an existing image.
[C:\ZEN\Macros\ExamplesMacros\access_to_images.lvb]
4.8.2
Backup recording settings
This macro demonstrates how to backup the acquisition settings and then later change the settings back
to the original ones.
[C:\ZEN\Macros\ExampleMacros\backup_recording.lvb]
4.8.3
Event handling
Events can be used to react to actions by the user or by the hardware. Typically, events in ZEN are either
•
Mouse events
•
Scan state events
•
Hardware events
This macro shows how to react to mouse events in a VBA macro.
[C:\ZEN\Macros\ExampleMacros\CaptureMouseEvents.lvb]
4.8.4
Export, Save and Load
This example demonstrates how to export an image (as TIFF), save it (in the CZI format), and load it (from
CZI and TIFF). It can be easily adopted to other file formats.
[C:\ZEN\Macros\ExampleMacros\Export_Save_and_Load.lvb]
Содержание LSM 880
Страница 1: ...LSM 880 LSM 880 NLO Operating Manual October 2014 ZEN 2 black edition...
Страница 650: ......
Страница 651: ...Confocal Laser Scanning Microscopy Stefan Wilhelm Carl Zeiss Microscopy GmbH Carl Zeiss Promenade 10 07745 Jena Germany...
Страница 678: ......
Страница 687: ......
Страница 688: ......