Skip to main content

Communication with Tektronix oscilloscopes

Project description

Azure PyPI

tekinstr

Installation

> pip install tekinstr

Usage

>>> from tekinstr import CommChannel
>>> with CommChannel("<ip address>") as tek:
...     wf = tek.oscilloscope.read("CH1")
>>> import matplotlib.pyplot as plt
>>> plt.plot(*wf.to_xy())
[<matplotlib.lines.Line2D at ...>]
>>> plt.show()

It is possible to save the screen capture to a network or USB drive. In this example, a USB memory stick is installed and the current working directory is 'E:/'.

>>> with CommChannel("<ip address>") as tek:
...     tek.save_image("capture.png")

Currently support models

  • MDO3000 series
  • MSO4000 series
  • TDS3000 series

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

tekinstr-1.0.24.tar.gz (26.3 kB view hashes)

Uploaded Source

Built Distribution

tekinstr-1.0.24-py3-none-any.whl (45.1 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