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.19.tar.gz
(25.7 kB
view hashes)
Built Distribution
tekinstr-1.0.19-py3-none-any.whl
(38.3 kB
view hashes)
Close
Hashes for tekinstr-1.0.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13da8550d0f777affc470d5d854139ef30e52c4134258e5416b50432f60f31c0 |
|
MD5 | 861bdb24e767100ffd45a770b226d5e4 |
|
BLAKE2b-256 | 31525b12b297d53530579571c6e32679d8fa6f71de6eae50c7f39f3efc48e415 |