Skip to main content

Github pklaus/ds1054z PyPI Package

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

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!

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.

Recommended Firmware

Older versions of the oscilloscope’s firmware have many issues. The VXI-11 connection could be unstable or commands might return unexpected data. Specifically, I’m recommending version 00.04.04.SP3 (alias 00.04.04.03.02) published on 2017-02-08.

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

Metadata

Release files for ds1054z 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ds1054z 0.4.0
File Size Uploaded
ds1054z-0.4.0.tar.gz 17.9 kB Details

Release files / ds1054z-0.4.0.tar.gz

Download URL ds1054z-0.4.0.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ce85cf839606bf8edc6b62885d93d99e32389935581c416b495018d7b64dbbd5
BLAKE2b-256 checksum
How to use checksums
750ea97b26762080cbb1aaa177ba7fe57ac031279226206e8ecf3b1ba5fa4a8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4.0 This release

1 release file

0.3.8

1 release file

0.3.7

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.2.9.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page