Repository navigation
Releases
Releases · tektronix/tm_devices
v3.8.0
v3.8.0 (2026-11-18)
Merged Pull Requests
- feat: Add support for Python 3.15 and update dependencies (#643)
- chore(deps): Bump the "python-and-pre-commit" group with 1 update across multiple ecosystems (#644)
- gh-actions(deps): bump the gh-actions-dependencies group with 12 updates (#641)
- fix(AWG): Fix sample rate calculation/max frequency for AWG clock output (#638)
- chore(deps-dev): bump the python-and-pre-commit group with 4 updates (#639)
- fix(logging): improve exception handling to preserve original exceptions and enhance logging during interpreter shutdown (#628)
- gh-actions(deps): Bump the gh-actions-dependencies group with 12 updates (#637)
- chore(deps): Bump the "python-and-pre-commit" group with 2 updates across multiple ecosystems (#624)
Added
- Added support for Python 3.15.
Changed
- Dropped support for Python 3.10 and for Python 3.11.0 through 3.11.4. The minimum supported version is 3.11.5.
Fixed
- Fixed uncaught exceptions whose first argument is not a string, such as the
OSErrorfamily, being replaced by anError in sys.excepthook:message that hid the original exception and its traceback. The log file location is now attached to these exceptions as a note (Python 3.11 and newer) rather than by rewriting their arguments. - Fixed a failure while logging an uncaught exception, which can happen when the log handlers are already closed during interpreter shutdown, preventing that exception from being reported at all.
- Fixed the sample rate calculation used by the AWG
CLOCKfunction. The predefined*Clock960waveform is a fixed 2 samples per cycle rather than a single cycle spread across its 960 sample record. This affects all AWG drivers, which previously generated aCLOCKsignal 480x faster than requested or raised aValueErrorfor valid frequencies. - Fixed the AWG70K
CLOCKfunction exceeding the 12.5 GHz maximum frequency of the clock output on the 50 GS/s models, which previously allowed aCLOCKsignal to be requested at up to 25 GHz (half of the maximum sample rate).
v3.7.0
v3.7.0 (2026-08-18)
Merged Pull Requests
- chore(deps): Ensure docs and tests requirements files are always up to date (#622)
- docs: Change the indexing for documentation builds to attempt to fix readthedocs builds (#621)
- chore(deps): Bump the "python-and-pre-commit" group with 2 updates across multiple ecosystems (#605)
- fix(psu): correct psu[X].source.slewrate.v command handling and regenerate APIs (#612)
- chore(deps-dev): Update ruff requirement (#610)
- feat: support base logger configuration (#596)
- fix: add model-specific AFG31K USB IDs (#598)
- gh-actions(deps): bump the gh-actions-dependencies group across 1 directory with 12 updates (#595)
- chore(deps): bump the python-and-pre-commit group across 1 directory with 7 updates (#588)
- chore(deps): update dependabot configuration to standardize commit message prefixes (#585)
- chore(deps): remove versioning strategy for pre-commit dependencies since it isn't supported (#584)
- chore(deps): configure multi-ecosystem updates for Python and pre-commit dependencies (#583)
- python-deps(deps): bump the python-dependencies group with 11 updates (#582)
- gh-actions(deps): bump the gh-actions-dependencies group with 13 updates (#579)
- python-deps(deps): bump the python-dependencies group with 9 updates (#580)
- gh-actions(deps): bump the gh-actions-dependencies group with 12 updates (#577)
- python-deps(deps): bump the python-dependencies group with 2 updates (#578)
- python-deps(deps): bump the python-dependencies group with 12 updates (#576)
- python-deps(deps): bump the python-dependencies group with 6 updates (#575)
- docs: Update CHANGELOG formatting to comply with pre-commit checks (#574)
Added
- Added support for configuring
tm_deviceslogging from an existing base logger. - Added model-specific AFG31K USBTMC mappings for all AFG31K models.
Fixed
- Updated the changelog to pass
pre-commitchecks. - Fixed
psu[X].source.slewrate.vcommand handling and regenerated APIs to reflect the corrected command definition.
v3.6.1
v3.6.1 (2026-04-14)
Merged Pull Requests
- docs: Add fix for scope.commands.ch[].probe.selfcal.state.query() EXECUTE status (#573)
- docs: Add probe selfcal.state.query() fix to CHANGELOG (#572)
- fix: Updated EXECUTE in scope.commands.ch[].probe.selfcal.state.query() (#8)
- gh-actions(deps): bump the gh-actions-dependencies group with 12 updates (#569)
- python-deps(deps): bump the python-dependencies group with 6 updates (#570)
Fixed
- Fixed
scope.commands.ch[<channel>].probe.selfcal.state.query()to properly return the EXECUTE status when called on a probe that supports self-calibration, removing unwanted arguments that were previously interfering with the query command.
v3.6.0
v3.6.0 (2026-04-10)
Merged Pull Requests
- python-deps(deps): bump the python-dependencies group with 8 updates (#559)
- fix: Removed 10 mV tolerance for offset and amplitude in AFGSourceChannel.set_function_properties (#567)
- python-deps(deps): bump the python-dependencies group across 1 directory with 17 updates (#564)
- python-deps(deps): bump the python-dependencies group with 5 updates (#561)
- chore(deps): bump black from 26.3.0 to 26.3.1 in /docs (#560)
- gh-actions(deps): bump the gh-actions-dependencies group with 12 updates (#533)
- fix: Properly set each device's
enable_verificationproperty when connecting to it (#557) - python-deps(deps): bump the python-dependencies group across 1 directory with 11 updates (#555)
- python-deps(deps): bump the python-dependencies group with 11 updates (#551)
- docs: enable SymSpell for documentation spell checking (#550)
- chore: add type field to issue templates for better categorization (#549)
- chore(deps): update documentation dependencies to latest versions and add pydantic to enable builds to pass (#545)
- python-deps(deps): bump the python-dependencies group across 1 directory with 3 updates (#544)
- Add Python 3.14 support (#508)
- python-deps(deps): bump the python-dependencies group across 1 directory (#541)
- feat: Enable programmatic connection to devices that use a different
lan_device_endpointvia theDeviceManager(#538) - Update type hinting and project configuration files (#537)
- Drop support for Python 3.9 (#536)
- python-deps(deps): bump the python-dependencies group with 6 updates (#534)
- python-deps(deps): bump the python-dependencies group across 1 directory with 2 updates (#530)
- chore(python-deps): update poetry and related dependencies to latest versions (#528)
- python-deps(deps): bump the python-dependencies group with 4 updates (#526)
Added
- Enable programmatic connection to devices that use a different LAN device endpoint via the
DeviceManager. - Added support for Python 3.14.
Fixed
- Fixed the bug causing devices to not properly inherit the
DeviceManager's command verification setting for all connection methods (config file, environment variable, python code). - Fixed the bug in
AFGSourceChannel.set_function_propertieswhere amplitude and offset updates within 10 mV were ignored on consecutive calls.
Changed
- minor breaking change: Changed the
lan_device_nameparameter name tolan_device_endpointto be more accurate. - Dropped support for Python 3.9
- Update type hinting to use Python 3.9+ syntax where applicable
- Updated project configuration file (
pyproject.toml) to usepoetryv2 settings
v3.5.0
v3.5.0 (2025-12-19)
Merged Pull Requests
- feat: Added Python API support for the MSMU60-2 module. (#525)
- python-deps(deps): bump the python-dependencies group with 3 updates (#511)
- Enhanced expect_esr (#523)
- gh-actions(deps): bump the gh-actions-dependencies group with 12 updates (#521)
- python-deps(deps): bump the python-dependencies group with 4 updates (#519)
- gh-actions(deps): bump actions/checkout (#517)
- python-deps(deps): bump the python-dependencies group across 1 directory with 8 updates (#518)
- gh-actions(deps): bump tektronix/python-package-ci-cd (#501)
- python-deps(deps): bump the python-dependencies group across 1 directory with 11 updates (#510)
- fix: remove trailing comma when writing frames to CSV to avoid CSV parsing errors (#504)
- python-deps(deps): bump the python-dependencies group with 8 updates (#502)
- python-deps(deps): bump the python-dependencies group with 2 updates (#499)
Added
- Added Python API support for the MSMU60-2 module for the MP5103 modular precision test system (mainframe).
Fixed
- Updated the
TekScope.curve_query()method to properly create a csv file without any trailing commas that previously caused csv parsing issues. - Updated
_AbstractDeviceVISAWriteQueryControl.expect_esr(): - Updated
tsp_control.get_buffers()to use subindex rather than improperly strip characters for buffer_size_name. - Updated
tm_devices/helpers/verification_functions.verify_valueshelper function to use Decimal to calculate percentage tolerance to avoid floating point math anomalies.
v3.4.0
v3.4.0 (2025-09-20)
Merged Pull Requests
- python-deps(deps): bump the python-dependencies group across 1 directory with 5 updates (#497)
- refactor: re-organize the commands subpackage (#496)
- feat: Add support for 7 Series DPO scope and MP5000 Series mainframe (#494)
- chore: update Node.js and Ubuntu versions in CI configuration for consistency (#495)
- python-deps(deps): bump the python-dependencies group with 7 updates (#492)
- python-deps(deps): bump the python-dependencies group with 11 updates (#491)
- python-deps(deps): bump the python-dependencies group with 6 updates (#489)
Added
- Added full python API support for DPO7xxAX (7 series DPO) scopes.
- Added support for the MP5103 modular precision test system (referred to as a mainframe in this package).
v3.3.0
v3.3.0 (2025-08-19)
Merged Pull Requests
- python-deps(deps): bump the python-dependencies group across 1 directory with 7 updates (#488)
- gh-actions(deps): bump tektronix/python-package-ci-cd (#431)
- fix: standardize formatting of glossary entries for consistency (#487)
- python-deps(deps): bump the python-dependencies group with 7 updates (#436)
- gh-actions(deps): bump the gh-actions-dependencies group across 1 directory with 2 updates (#483)
- fix: Generated the APIs to add missing argument in the command. (#482)
- fix: generated the APIs for Previously missing commands to the MSO4/5/6 and LPD6 models. (#479)
- feat: Added support for new commands in the MSO4, MSO4B, MSO5, MSO5B, MSO5LP, MSO6, MSO6B, and LPD6 models. (#456)
- python-deps(deps): bump the python-dependencies group with 5 updates (#477)
- docs: add troubleshooting guide for packaging tm_devices with PyInstaller (#473)
- python-deps(deps): bump the python-dependencies group with 2 updates (#442)
- fix: Attempt to grab the ip_address for all connection types (#471)
- python-deps(deps-dev): bump the python-dependencies group with 2 updates (#469)
- ci: update Python version requirement and pre-commit hook skip list in a github workflow (#467)
- fix: add Python 3.9 classifier to pyproject.toml for compatibility (#464)
- python-deps(deps-dev): update ruff requirement from 0.12.0 to 0.12.1 in the python-dependencies group (#463)
- python-deps(deps-dev): update ruff requirement from 0.11.13 to 0.12.0 in the python-dependencies group (#462)
- test: Make sure coverage always uses the
src/path (#460) - feat: Add the ability to disable logging under a level to the disable logging context manager (#458)
- python-deps(deps-dev): update pyright requirement from 1.1.401 to 1.1.402 in the python-dependencies group (#457)
- Fix the behavior of the
DeviceManager's open/close methods (#455) - ci: Change the schema download link to work around issues with the schemastore domain (#451)
- feat: enable graceful exits for DeviceManager and improve logging control (#450)
- feat: add PyVISA-compatible args to query_binary method. (#445)
- chore: Update test dependencies (#443)
- python-deps(deps): bump the python-dependencies group with 3 updates (#439)
- Add a schema file for the configuration file (#435)
- fix: Update docs to avoid mdformat failures (#434)
- Drop support for Python 3.8 (#430)
- python-deps(deps-dev): update ruff requirement from 0.11.8 to 0.11.9 in the python-dependencies group (#432)
Added
- Added a new utility context manager,
disable_all_loggers()which can be used to temporarily disable all logging within the current context. - Added support for new commands in the MSO4, MSO4B, MSO5, MSO5B, MSO5LP, MSO6, MSO6B, and LPD6 models.
Changed
- Updated the
PIControl.query_binary()method to include PyVISA-compatible arguments, enabling users to fully utilize the complete functionality of the PyVISA method. - Updated the
Device.ip_addressproperty to remove the USB connection type exclusion.
Fixed
- Updated the
DeviceManagerto gracefully exit if the close method is not called in any scripts. - Updated the
DeviceManager.open()method to behave in a more expected way (ensures existing Python objects get properly re-opened and pointers to objects don't get lost, replaced, or become stale) when called after previously closing theDeviceManager.
Removed
- Python 3.8 support has been removed from the package. The minimum supported version is now Python 3.9.
v3.2.0
v3.2.0 (2025-05-07)
Merged Pull Requests
- feat: Add disable_command_verification config file and environment variable option to enable speeding up automation scripts (#428)
- python-deps(deps-dev): update ruff requirement from 0.11.7 to 0.11.8 in the python-dependencies group (#422)
- fix: Ensure VISA timeout is reset after reboot in pi_control (#425)
- python-deps(deps-dev): bump the python-dependencies group with 2 updates (#416)
- Add tip in contribution guide pointing users to online docs for better viewing (#419)
- fix: Fixed the
limit[Y]commands on certain models which were being generated incorrectly (#415) - gh-actions(deps): bump tektronix/python-package-ci-cd (#412)
- python-deps(deps-dev): update ruff requirement from 0.11.2 to 0.11.4 in the python-dependencies group (#413)
Added
- Added a new config option (settable via config file or environment variable) to allow users to
disable command verification (primarily affecting the.set_and_check()method) in order to
speed up automation scripts that have verified, known good command sequences.
Fixed
- Fixed a bug in the auto-generated commands for certain models where the
limit[Y]commands were incorrectly generated. - Ensure the VISA timeout is reset after a VISA device is rebooted.
v3.1.10
v3.1.10 (2025-04-04)
Merged Pull Requests
- Set offset after impedance so that it is properly adjusted (#411)
Fixed
- Fixed a bug in
set_function_propertiesin the drivers for the internal AFG of the TekScope that could cause the offset value to change after setting impedance.
v3.1.9
v3.1.9 (2025-04-03)
Merged Pull Requests
- fix: Fixed the method of determining the total number of physical channel connectors on the 70kSX scope series (#408)
- python-deps(deps-dev): update pyright requirement from 1.1.397 to 1.1.398 in the python-dependencies group (#405)
- python-deps(deps-dev): bump the python-dependencies group with 2 updates (#404)
- gh-actions(deps): bump tektronix/python-package-ci-cd (#403)
Fixed
- Fixed the method of determining the total number of physical channel connectors on the 70kSX scope series to properly list all physical channels, even if not all channels can be used simultaneously, as is the case on SX scopes with the Asynchronous Time Interleaving (ATI) feature.