Python controlling microscope hardware

Discuss macros to control the hardware functions of your ZEISS microscope
Post Reply
Alicia Yang
Posts: 1
Joined: Thu Jun 25, 2020 1:59 am

Python controlling microscope hardware

Post by Alicia Yang »

Hi, I'm trying to find some sample code or examples of using Python scripts to control the connection to Zeiss Axio Observer 7 and the functions to control each piece. Does anyone have any ideas or resources to suggest? Thanks!
Fredrik Olsson
Posts: 16
Joined: Mon May 25, 2020 9:53 am

Re: Python controlling microscope hardware

Post by Fredrik Olsson »

Hi,
For Zen blue and Zen core with questions related to OAD control of the microscope I would suggest this forum. For some general questions regarding software-oriented microscopy topics a good place is https://forum.image.sc/. /Fredrik Olsson
CarlZeissMicroscopy3
Posts: 180
Joined: Wed May 20, 2020 10:10 am

Re: Python controlling microscope hardware

Post by CarlZeissMicroscopy3 »

Hello Alicia Yang,

sorry for the late reply.

What do you mean by:
Python scripts to control the connection to Zeiss Axio Observer 7 and the functions to control each piece

You can find a documentation all functions available in OAD/Python in the additional Help located in the Python editor (IDE).
Open the Macro Editor, click on Help in the Menu bar and choose Macro Object Model.
For a lot of functions you will find examples in this forum.

To establish a connection to your Zeiss Axio Observer 7 you can use the TCP-Service that is part of OAD.
To activate TCP click on Tools in the Zen blue Menu and then select options / Macro Editor and Enable TCP Macro.
Post Reply