Skip to main content

Module to drive the Thorlabs MDT693A piezo controller

Project description

Overview

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

This package has been tested on Windows and Linux.

Example

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

Installation

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

===> http://pyserial.sourceforge.net/

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

python setup.py 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