Skip to main content

Package to communicate with Thorlab MDT69X Piezo controller

Project description

mdt69x

This is a simple Python module to communicate with Thorlabs MDT69X Piezo controllers.

Getting Started

Simply copy the mdt69x.py in your project directory. The module uses the pySerial module to communicate over USB with the controller, so make sure to add it to your project as well.

Alternatively, install the module by running:

pip install mdt69x

Details

The module implements almost all commands supported by the Thorlabs MDT693 controller. The only commands not implemented are DACSTEP (both get and set), and the arrow commands (up, down, right, left).

An example file is provided (mdt69x_example.py), which shows usage of a few of the available methods.

The module was tested with the Thorlabs MDT693, but it should also work with the other MDT69X modules.

It works both with and without compatibility mode, although it defaults to compatibility mode. Note that certain commands (such as set_xyz_voltage) will only work on firmware version >2, and will not work if you try to use them on compatible hardware/firmware.

Author

  • Claudio Arena - University College London (UCL), Astrophysics PhD

License

This project is licensed under the MIT License - see the LICENSE.md file for details

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

mdt69x-1.0.11.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mdt69x-1.0.11-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file mdt69x-1.0.11.tar.gz.

File metadata

  • Download URL: mdt69x-1.0.11.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.4

File hashes

Hashes for mdt69x-1.0.11.tar.gz
Algorithm Hash digest
SHA256 64e2f03d0d979a64e72704ef80c85906a27a3fda01b8d7f39e6589d0913ff67b
MD5 860b41d65974b1ff9ca45538e4f5abae
BLAKE2b-256 2217e5cf4ba3ece68dfb342c34f8c6598203e9b2c229754dcbd4ef7183841286

See more details on using hashes here.

File details

Details for the file mdt69x-1.0.11-py3-none-any.whl.

File metadata

  • Download URL: mdt69x-1.0.11-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.4

File hashes

Hashes for mdt69x-1.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 a68fca9e5fecfd7eb84b88ff1a81841c9f2cb883d42c4751299a63033a47f5f7
MD5 c58b3cb2e68cab0bc1cee061cb908dfc
BLAKE2b-256 42804adabdf050fc31b26ad4922230bcd1f2f9dcf49ca954f99abc26984b5c28

See more details on using hashes here.

Supported by

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