Skip to main content

Plugin for Zaber actuators

Project description

PyMoDAQ plugin for positioning devices from Zaber Technologies. The python library for these motors is freely available as a neat python package on pypi (https://pypi.org/project/zaber-motion/) - this is most appreciated and we all wish constructors would do that more often!

Authors

Instruments

Below is the list of instruments included in this plugin

Actuators

  • Zaber All motors using the Zaber ASCII Motion Library. Rotations and translations should be both supported (units should adapt to the actuator type), but I only tested translation stages so far.

  • ZaberBinary: control of zaber actuators using the legacy binary protocol

Installation notes

Zaber developped a python package called zaber_motion. It allows two communication protocols, either ASCII (recommended one) or Binary (legacy one). However depending on your instrument and the firmware of its controller only the binary protocol may be available. Check this using the Zaber Console free software.

This ZaberBinary plugin has only be tested on a T-NA Series Micro linear actuators with built-in controllers that only has the 5.X firmware and so is only compatible with the binary protocol.

Basic Installation

  • Install the Zaber Software and download the latest device database.

  • Use the software test your connection to the device and find the correct COM port.

  • Use the software to define which motors are plugged (use the box saying “Enter peripheral ID or name”, and choose your device in the list)

  • Close Zaber Software (otherwise the COM port will be busy)

  • Use the device in pymodaq!

Tested on Windows10 with pymodaq 3.5.2 and python 3.8.8. Motors used for testing: 4 x LSM050A-V2T4 (linear stages), connnected using 2 x X-MCB1 (controllers). In this configuration, there are two controllers connected on two COM ports, and two motors on each of the controllers.

Using two actuators that share the same controller

To set up two axes as two independent actuators in PyMoDAQ even though they share the same controller, you need configure it as such:

  • 1st axis defined as a Zaber actuator as usual, with properties in MultiAxes/”isMultiAxes = Yes”, “Status = Master”, “Axis : 1”

  • Then add another Zaber actuator for the 2nd axis, this time with properties in MultiAxes/”isMultiAxes = Yes”, “Status = Slave”, “Axis : 2”.

  • Finally, the Controller ID of the 2nd axis (in the “Main Settings” tree) needs to be changed to match the ID of the first actuator. Then they will work together and independently.

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

pymodaq_plugins_zaber-2.0.1.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

pymodaq_plugins_zaber-2.0.1-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file pymodaq_plugins_zaber-2.0.1.tar.gz.

File metadata

  • Download URL: pymodaq_plugins_zaber-2.0.1.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for pymodaq_plugins_zaber-2.0.1.tar.gz
Algorithm Hash digest
SHA256 704e9b1feb3e385522956b16b70b6673d2d9572ffab45a7bed0e0617507f48c6
MD5 66ce142a028a88e892a1504c7f800556
BLAKE2b-256 58cf67a5fd72d357448055b04c74fd14ed4250635d067c416b8b539e0789a249

See more details on using hashes here.

File details

Details for the file pymodaq_plugins_zaber-2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pymodaq_plugins_zaber-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 641c9064f007d43beda3ef8e7aed6ecfa976405dd8df404d0b1bc0a7089ac369
MD5 d73b5658e336bdc109eea527c139bb9a
BLAKE2b-256 0c10f54dbd2d9b4d07e3f7e5c298a36098d10348b9f4dd2f320cd95e593c0ae2

See more details on using hashes here.

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