Skip to main content

Zurich Instruments Labber Driver

Project description

CI Coverage PyPI version License: MIT Code style: black Twitter URL

Zurich Instruments Labber Drivers

The Zurich Instruments Labber Drivers is a python package that is able to automatically generate and update instrument drivers for all Zurich Instruments devices for the scientific measurement software Labber.

The Labber drivers are based on the Zurich Instruments Toolkit (zhinst-toolkit), a high level driver of our Python core API.

WARNING

Upgrading from zhinst-labber versions lower than 0.3 needs some special attention since version 0.3 breaks the API in many ways and measurements need to be adapted. If you need more Information on the upgrading process or need assistance feel free to contact the Zurich Instruments support at any time. (support@zhinst.com)

Status

The Zurich Instruments Labber Drivers are well tested and considered stable enough for general usage. The interfaces may have some incompatible changes between releases. Please check the changelog if you are upgrading to the latest version.

LabOne software

As a prerequisite, the LabOne software version 22.02 or later must be installed. It can be downloaded for free at https://www.zhinst.com/labone. Follow the installation instructions specific to your platform. Verify that you can connect to your instrument(s) using the web interface of LabOne. If you are upgrading from an older version, be sure to update the firmware of all Zurich Instruments devices in use by using the web interface.

In principle LabOne can be installed in a remote machine, but we highly recommend to install it on a local machine where you intend to run the experiment.

Getting Started

Labber comes with its own Python distribution that is used by default. If not specified otherwise (Preferences -> Advanced -> Python distribution) the following command needs to be executed within this distribution. (C:\Program Files\Labber\python-labber\Scripts\pip.exe or similar).

pip install zhinst-labber

The drivers for an device can now be generated using the command line interface.

For example the following command generated the driver for the Device DEV1234 inside the Labber driver folder of the ZI user.

zhinst-labber setup "C:\Users\ZI\Labber\Drivers" DEV1234 localhost

Documentation

For a full documentation see here.

Contributing

We welcome contributions by the community, either as bug reports, fixes and new code. Please use the GitHub issue tracker to report bugs or submit patches. Before developing something new, please get in contact with us.

License

This software is licensed under the terms of the MIT license. See LICENSE for more detail.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

zhinst_labber-0.3.1-py3-none-any.whl (39.4 kB view details)

Uploaded Python 3

File details

Details for the file zhinst_labber-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: zhinst_labber-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 39.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0b3

File hashes

Hashes for zhinst_labber-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b0054a7664d4d32400e70cbde2be76fd02c5a7ef5148ce467728776dd2480a25
MD5 d631db9c4152c8945b4347c5b2ba2cda
BLAKE2b-256 3707dba68ff5b9e924d89d0a63c1fc258cfe9f5eca6cd6fd557e6b2bcea6495f

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