Skip to main content

Rigol MSO5000 control library (unofficial)

Project description

Rigol MSO5xxx oscilloscope Python library (unofficial)

A simple Python library and utility to control and query data from Rigol MSO5xxx oscilloscopes (not supporting all features of the oscilloscope, work in progress):

Simple example to fetch waveforms:

from pymso5000.mso5000 import MSO5000

with MSO5000(address = "10.0.0.123") as mso:
		print(f"Identify: {mso.identify()}")

		mso._set_channel_enable(1, True)
		mso._set_channel_enable(2, True)

		data = mso._query_waveform((1, 2))
		print(data)

		import matplotlib.pyplot as plt
		plt.plot(data['x'], data['y1'], label = "Ch1")
		plt.plot(data['x'], data['y2'], label = "Ch2")
		plt.show()

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

pymso5000-tspspi-0.0.3.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

pymso5000_tspspi-0.0.3-py3-none-any.whl (7.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page