Skip to main content

Module to drive the Thorlabs MDT693A piezo controller

Project description


This package can be used to drive the Thorlabs MDT693A piezo controller.

This package has been tested on Windows and Linux.


from PyThorlabsMDT import PyThorlabsMDT
pzt = PyThorlabsMDT.PZT_driver(port='COM2')
pzt.x = 45 # set the x-axis to 45 V
pzt.set_x(45) #equivalent to the command above
print pzt.x # Display the value of the x-axis
pzt.get_info() #Display the informations about the device


You need first to check if the serial backends for Python (package pySerial)


To install PyThorlabsMDT, download the package and run the command:

python install

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyThorlabsMDT-1.0.1.tar.gz (2.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page