Skip to content

Python USB library to control Rigol DS1000z and DS2072a oscilloscopes.

License

Notifications You must be signed in to change notification settings

jtambasco/RigolOscilloscope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rigol 1000z and 2000a drivers

Python library to control Rigol DS1000z oscilloscopes based on USB.

Tested on Arch Linux and Linux Mint using a Rigol DS1054Z and Rigol DS2072A.

Dependencies

Example

import rigol1000z

osc = rigol1000z.Rigol1000z()

# Change voltage range of channel 1 to 50mV/div.
osc[1].set_vertical_scale_V_div(50e-3)

# Stop the scope.
osc.stop()

# Take a screenshot.
osc.get_screenshot('screenshot.png', 'png')

# Capture the data sets from channels 1--4 and
# write the data sets to their own file.
for c in range(1,5):
    osc[c].get_data('raw', 'channel%i.dat' % c)

About

Python USB library to control Rigol DS1000z and DS2072a oscilloscopes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages