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.

Files for PyThorlabsMDT, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size PyThorlabsMDT-1.0.1.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page