Python package and software for the Rigol DS1054Z oscilloscope.
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:
The installation is dead simple:
pip install ds1054z[savescreen,discovery]
ds1054z depends on python-vxi11 which should automatically get installed along with itself.
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.
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))