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.24.tar.gz
(26.3 kB
view details)
Built Distribution
tekinstr-1.0.24-py3-none-any.whl
(45.1 kB
view details)
File details
Details for the file tekinstr-1.0.24.tar.gz
.
File metadata
- Download URL: tekinstr-1.0.24.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4ced23f0081d402e1272d59ef233c60468efc06971b89ae79ecb275ad8cdabe |
|
MD5 | 1cf9981cad4757cf14c1e09a010ba611 |
|
BLAKE2b-256 | 0c8993fec266cca19faf633b806a66650146ce088e8cfbaa4be604296e038500 |
File details
Details for the file tekinstr-1.0.24-py3-none-any.whl
.
File metadata
- Download URL: tekinstr-1.0.24-py3-none-any.whl
- Upload date:
- Size: 45.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3eea0c31382dc2b508caf9af6a2da5166287d273c6d791d5d6ee850a8d1e691 |
|
MD5 | 94a79ad8e4bd0ec4cd058ecc9ff5f66a |
|
BLAKE2b-256 | 4143dd8becdcd74bb3d299344798409f09b3892bb1a09aa8b53a5c5feaade49d |