Skip to main content

Python driver for Newport's ESP motion controllers

Project description

A simple Python driver for Newport’s ESP-compatible motion controllers.

Arbitrary numbers of controllers and stages can be used simultaneously (within your hardware’s capabilities). The whole command set is available, although only the most common ones are defined as class methods. The driver currently uses only RS232, but adding support from USB and GPIB should be simple.


>>> esp = NewportESP('/dev/ttyUSB0') # open communication with controller
>>> stage = esp.axis(1)   # open axis no 1
>>> stage.move_to(1.2)    # move to position 1.2
>>> stage.wait()          # wait until motion is finished.

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

NewportESP-0.3.1.tar.gz (3.6 kB view hashes)

Uploaded source

Supported by

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