Communication with Tektronix oscilloscopes
Project description
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:/'. Currently supported on MDO3000 series.
>>> with CommChannel("<ip address>") as tek:
... tek.oscilloscope.save_image("capture.png")
Currently support models
- MDO3000 series
- MSO4000 series
- TDS3000 series
Project details
Release history Release notifications | RSS feed
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.18.tar.gz
(25.0 kB
view hashes)
Built Distribution
tekinstr-1.0.18-py3-none-any.whl
(37.1 kB
view hashes)
Close
Hashes for tekinstr-1.0.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 286f6738b825549fcb7885bbecf1edf079b64d99050f2db8fd71463ccbf4fc82 |
|
MD5 | 2ba80d77445a0d79bf1e95f6b733ac40 |
|
BLAKE2b-256 | d3eb66668953ff4dc925e33a6c8e836690ad9afe06d4777ebd2abeca9ec166f8 |