tm_devices

Test & Measurement Device Management.

Provides access to commonly imported items from the tm_devices package.

Examples:

>>> from tm_devices import DeviceManager
>>> with DeviceManager() as dm:
...     print(dm.is_open)
2... - Opening DeviceManager
True
2... - DeviceManager Closed

Subpackages

commands

A collection of device command classes.

components

Components used in the tm_devices package.

driver_mixins

Mixin classes for use in the device drivers.

drivers

Python drivers for all supported devices.

helpers

Helpers used by the tm_devices package.

Attributes

PACKAGE_NAME

Constant string with the name of this package.

PYVISA_PY_BACKEND

Constant string which indicates to use the pure Python PyVISA-py backend when creating VISA connections.

SYSTEM_DEFAULT_VISA_BACKEND

Constant string which indicates to use the current system’s default VISA backend when creating VISA connections.

Classes

DeviceManager

The manager for all devices.

LoggingLevels

A class holding the valid logging levels supported.

SupportedModels

Class containing all model series supported by the device management system.

Functions

configure_logging

Configure the logging for this package.

print_available_visa_devices

Print all available VISA devices to the console.

register_additional_usbtmc_mapping

Register USBTMC connection information for a device that doesn’t have native tm_devices USBTMC support.

Modules

device_manager

Device manager module.