Skip to main content

Tektronix MSO4 VISA library

Project description

pyMSO4

A python library for interfacing with the Tektronix MSO4 oscilloscopes (tested with MSO44).

Installation

pip install pyMSO4

Usage

Connect the probe on channel 1 to the calibration square wave output, and press the Autoset button, the following code will capture a trace of the signal as seen on the oscilloscope screen:

import pyMSO4
mso44 = pyMSO4.MSO4(trig_type=pyMSO4.MSO4EdgeTrigger)
mso44.con(ip="128.181.240.130") # Using p2p ethernet connection
mso44.ch_a_enable([True, False, False, False]) # Enable channel 1
mso44.acq.wfm_src = ['ch1'] # Set waveform source to channel 1
mso44.acq.wfm_start = 0
mso44.acq.wfm_stop = mso44.acq.horiz_record_length # Get all data points
wfm = mso44.sc.query_binary_values('CURVE?', datatype=mso44.acq.get_datatype(), is_big_endian=mso44.acq.is_big_endian)
mso44.dis()

Additional examples can be found in the documentation.

Documentation

Sphinx documentation is available here.

Got root?

If you're here because you think it's fun to get root on an oscilloscope, see Appendix C of the report for the details.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymso4-1.0.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pymso4-1.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file pymso4-1.0.tar.gz.

File metadata

  • Download URL: pymso4-1.0.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for pymso4-1.0.tar.gz
Algorithm Hash digest
SHA256 4ac300a77ddfde19a4c92a777347f308460b91e3e1a0e7369f0b4508882b12f0
MD5 e46117e89c15a268dcf0a5dab902ca55
BLAKE2b-256 54cad3d8fdccbed39876c3f695e79ae7ec86ce8964a97b4a91f1d1f4809ef566

See more details on using hashes here.

File details

Details for the file pymso4-1.0-py3-none-any.whl.

File metadata

  • Download URL: pymso4-1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for pymso4-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fad9492d68ddbb40b7e930bfec7fd3060bad509cf95735f5f27ef7848f59e403
MD5 528b05ca4cbb54b40f88b6866fda9a40
BLAKE2b-256 246c919e0d8b82a9e591dd29830c077ee5d1bf15beba9e0f3d2fb448c206c437

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