Skip to main content

Python package and software for the Rigol DS1054Z oscilloscope.

Project description

Github pklaus/ds1054z PyPI Package Code Issues

ds1054z

This package allows you to connect to your Rigol DS1054Z oscilloscope via Ethernet. It comes with a versatile command line tool.

Off course, you can also use it to control the scope with your own script by using the API this package has to offer.

While this software is named after the entry level oscilloscope DS1054Z, I believe there is no reason it wouldn’t work with just any scope of the DS1000Z and MSO1000Z series by Rigol:

  • DS1054Z

  • DS1074Z

  • DS1104Z

  • DS1074Z-S

  • DS1104Z-S

  • MSO1074Z

  • MSO1104Z

  • MSO1074Z-S

  • MSO1104Z-S

Installation

The installation is dead simple:

pip install ds1054z[savescreen,discovery]

ds1054z depends on python-vxi11 which should automatically get installed along with itself.

For more information on the installation, please consult the installation section of the package documentation.

Features

  • Discovering your scope via mDNS / DNS-SD

  • Saving Screenshots (incl. adjustable dimming of on-screen controls)

  • Running / stopping the scope

  • Acquiring waveforms

  • … more to come!

Usage

Command Line Tool

This package installs a versatile command line (CLI) tool called ds1054z. You can use it to save the screen of your scope, for example:

ds1054z save-screen --overlay 0.6 192.168.0.23

You can find out more ways to use the CLI tool with ds1054z --help or by reading the manual.

Developers

If you’re into Python programming, use the DS1054Z class in your own code:

from ds1054z import DS1054Z

scope = DS1054Z('192.168.0.23')
print("Connected to: ", scope.idn)

print("Currently displayed channels: ", str(scope.displayed_channels))

Author

Resources

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

ds1054z-0.3.7.tar.gz (15.7 kB view details)

Uploaded Source

File details

Details for the file ds1054z-0.3.7.tar.gz.

File metadata

  • Download URL: ds1054z-0.3.7.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ds1054z-0.3.7.tar.gz
Algorithm Hash digest
SHA256 a53c14d59114c94917f73b753c4bfe9db067ddb4cfce3c7294f22ac63e8be794
MD5 540fab850c14d096fb6092851729cd42
BLAKE2b-256 8c32fc31fa28782c4cecab21fdcf8681a495554092353d42d1518e315c443ee5

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