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:/'.
>>> with CommChannel("<ip address>") as tek:
... tek.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.20.tar.gz
(37.3 kB
view hashes)
Built Distribution
tekinstr-1.0.20-py3-none-any.whl
(38.4 kB
view hashes)
Close
Hashes for tekinstr-1.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddcebef4790f3922f0b1a4321eabaef6b57e73d139469fa07ff5a9b13b3fc0c8 |
|
MD5 | 5be7472c29b2f2dfa7946a169cc216f2 |
|
BLAKE2b-256 | 8a9ac87d1221954b9d1d70cad81b615c9ba8a18997d4e92df234ced37be668b5 |