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.22.tar.gz
(26.3 kB
view hashes)
Built Distribution
tekinstr-1.0.22-py3-none-any.whl
(45.1 kB
view hashes)
Close
Hashes for tekinstr-1.0.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f33b7e0147bbcf0554bf509f2de9e1d94d28a02573567ce8477ec32b0bb5358 |
|
MD5 | d3539cb8bd395daf265df996ffce039c |
|
BLAKE2b-256 | 1241efc05fefe8cf5e84c3b03a8ffc9407d404a0e066a1370088b512e40f4caf |