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)
To install PyThorlabsMDT, download the package and run the command:
python setup.py install
Project details
Release history Release notifications | RSS feed
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 details)
File details
Details for the file PyThorlabsMDT-1.0.1.tar.gz
.
File metadata
- Download URL: PyThorlabsMDT-1.0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.12.4 setuptools/20.7.0 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/2.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82b387c5ed435aeafe4d78f61cd9c8a871e676d0066bab35076037100c44d1d3 |
|
MD5 | 3916090f013db2240bddfcc63d91c490 |
|
BLAKE2b-256 | d528fad89b78e3bf7216d20db1dfb6ed87229cc6d1d38f75cfb9cb185aa4cad1 |