Manage connections and interactions with Test & Measurement devices.
Project description
Testing |
|
---|---|
Code Quality |
|
Package |
|
Documentation |
|
Code Style |
|
Linting |
tm_devices: Test & Measurement Device Management
tm_devices is a device management package which allows for better control and usage of Test & Measurement devices in python scripts. This is accomplished by using the PyVISA package to manage connections and communication with devices. tm_devices gives users access to a much higher level abstraction of device control by providing access to device drivers with a complete Python API.
Dependencies
tm_devices can be used without any external (non-python) dependencies on any operating system thanks to the PyVISA-py VISA backend. However, in order to use any VISA functionality that PyVISA-py does not implement, a third-party VISA backend such as NI-VISA can be installed. tm_devices will use an available VISA backend if one is found and will fall back to using PyVISA-py if no other VISA backends are installed.
Installation
pip install tm_devices
Basic Usage
Print Available VISA Devices
$ list-visa-resources
[
"TCPIP0::192.168.0.100::inst0::INSTR",
"ASRL4::INSTR"
]
Basic Script
from tm_devices import DeviceManager
with DeviceManager() as device_manager:
scope = device_manager.add_scope("192.168.0.100")
scope.query("*IDN?")
print(scope)
Supported Devices & Software Solutions
Type
|
Series/Model
|
Command
Type
|
Basic
Control
|
Python API
Validation
Status
|
---|---|---|---|---|
AFGs <AFG> |
AFG3000 |
PI |
โ |
|
AFG31xxx |
PI |
โ |
||
AWGs <AWG> |
AWG5000 |
PI |
โ |
|
AWG5200 |
PI |
โ |
||
AWG7000 |
PI |
โ |
||
AWG70000 |
PI |
โ |
||
Scopes <Scope> |
2 Series MSO |
PI |
โ |
โ |
3 Series MDO |
PI |
โ |
||
4 Series MSO |
PI |
โ |
โ |
|
4 Series B MSO |
PI |
โ |
โ |
|
5 Series MSO |
PI |
โ |
โ |
|
5 Series B MSO |
PI |
โ |
โ |
|
5 Series MSO (LP) |
PI |
โ |
โ |
|
6 Series MSO |
PI |
โ |
โ |
|
6 Series B MSO |
PI |
โ |
โ |
|
6 Series LPD |
PI |
โ |
โ |
|
MSO2000/B |
PI |
โ |
||
DPO2000/B |
PI |
โ |
||
MDO3000 |
PI |
โ |
||
MDO4000/B/C |
PI |
โ |
||
MSO4000/B |
PI |
โ |
||
DPO4000/B |
PI |
โ |
||
MSO5000/B |
PI |
โ |
||
DPO5000/B |
PI |
โ |
๐ง |
|
DPO7000/C |
PI |
โ |
๐ง |
|
DPO70000/C/D/DX/SX |
PI |
โ |
โ |
|
DSA70000/C/D |
PI |
โ |
โ |
|
MSO70000/C/DX |
PI |
โ |
โ |
|
TSOVu |
PI |
โ |
||
TekScope |
PI |
โ |
||
PSUs <PSU> |
2200 |
PI |
โ |
|
2220 |
PI |
โ |
||
2230 |
PI |
โ |
||
2231 |
PI |
โ |
||
2280S |
PI |
โ |
||
2281S |
PI |
โ |
||
SMUs <SMU> |
24xx Standard |
PI |
โ |
|
24xx Interactive |
TSP |
โ |
โ |
|
26xxB |
TSP |
โ |
๐ง |
|
Model 2601B-PULSE |
TSP |
โ |
||
Model 2606B |
TSP |
โ |
๐ง |
|
2651A |
TSP |
โ |
||
2657A |
TSP |
โ |
||
6430 (electrometer) |
PI |
โ |
||
6514 (electrometer) |
PI |
โ |
||
6517B (electrometer) |
PI |
โ |
||
MTs <MT> |
TMT4 |
API |
โ |
|
DMMs <DMM> |
DMM6500 |
TSP |
โ |
|
DMM7510 |
TSP |
โ |
||
DMM7512 |
TSP |
โ |
||
DAQs <DAQ> |
DAQ6510 |
TSP |
โ |
|
SSs <SS> |
3706A |
TSP |
โ |
Software
Solution
|
Command
Type
|
Basic
Control
|
Python API
Validation
Status
|
---|---|---|---|
DPOJET |
PI |
โ |
โ |
Supported Connections
REST API
VISA (NI-VISA and PyVISA-py)
TCPIP
ASRL / Serial / RS-232 / RS-485
SOCKET
USBTMC (no PyVISA-py support)
GPIB (no PyVISA-py support)
Documentation
See the full documentation at https://tektronix.github.io/tm_devices/
Maintainers
Before reaching out to any maintainers directly, please first check if your issue or question is already covered by any open issues. If the issue or question you have is not already covered, please file a new issue or start a discussion and the maintainers will review and respond there.
tmdevicessupport@tektronix.com - For technical support and questions.
opensource@tektronix.com - For open-source policy and license questions.
Contributing
Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.
License
tm_devices was created by Tektronix. It is licensed under the terms of the Apache License 2.0.
Credits
tm_devices was created with cookiecutter and the py-pkgs-cookiecutter template.
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
Built Distribution
Hashes for tm_devices-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6924c41affa0f086bc74dd691038bd29a6a7a13bc8cf35fbf05f4969cf10067c |
|
MD5 | e232051fb32328a38de276f595136f89 |
|
BLAKE2b-256 | eb1d5d1ded10af5f52b96bf8531ac07463f18b4a2138bd47d3e9a2fed2ea2dab |