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 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page