https://github.com/l-johnston/tekinstr
A Python library for interacting with Tektronix oscilloscopes.
https://github.com/l-johnston/tekinstr
oscilloscope pyvisa tektronix
Last synced: 4 months ago
JSON representation
A Python library for interacting with Tektronix oscilloscopes.
- Host: GitHub
- URL: https://github.com/l-johnston/tekinstr
- Owner: l-johnston
- License: mit
- Created: 2020-01-12T09:50:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-16T16:52:38.000Z (over 2 years ago)
- Last Synced: 2025-09-15T18:20:32.518Z (9 months ago)
- Topics: oscilloscope, pyvisa, tektronix
- Language: Python
- Size: 91.8 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README


# `tekinstr`
## Installation
```cmd
> pip install tekinstr
```
## Usage
```python
>>> from tekinstr import CommChannel
>>> with CommChannel("") as tek:
... wf = tek.oscilloscope.read("CH1")
>>> import matplotlib.pyplot as plt
>>> plt.plot(*wf.to_xy())
[]
>>> 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:/'.
```python
>>> with CommChannel("") as tek:
... tek.save_image("capture.png")
```
## Currently support models
- MDO3000 series
- MSO4000 series
- TDS3000 series