Tm-devices

Latest version: v2.5.0

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 8

2.5.0

Merged Pull Requests

- TekScope2K - turn on HEADER and VERBOSE options to query available data sources correctly ([327](https://github.com/tektronix/tm_devices/pull/327))
- fix: line fix ([339](https://github.com/tektronix/tm_devices/pull/339))
- ci: Skip updating the mdformat repo during the dependency updater workflow ([335](https://github.com/tektronix/tm_devices/pull/335))
- gh-actions(deps): bump tektronix/python-package-ci-cd ([320](https://github.com/tektronix/tm_devices/pull/320))
- TSP environment cleanup ([328](https://github.com/tektronix/tm_devices/pull/328))
- feat: Added USB support for AFG31K and MDO3 models ([331](https://github.com/tektronix/tm_devices/pull/331))
- ci: Remove pre-commit hook that no longer works on Python 3.8 and replace with one that does ([323](https://github.com/tektronix/tm_devices/pull/323))
- python-deps(deps-dev): bump the python-dependencies group with 2 updates ([311](https://github.com/tektronix/tm_devices/pull/311))
- python-deps(deps): bump the python-dependencies group with 3 updates ([318](https://github.com/tektronix/tm_devices/pull/318))
- test: Ignore googletagmanager links during doctests ([312](https://github.com/tektronix/tm_devices/pull/312))
- ci: Enable testing for Python 3.13 ([309](https://github.com/tektronix/tm_devices/pull/309))

Fixed

- fix: TekScope2K active channel query needs HEADER options enabled to function properly

Added

- `collectgarbage()` is now called during cleanup of `TSPDevice` children.
- Added USB Support for AFG31K and MDO3 models.

---

2.4.0

Merged Pull Requests

- Update TSPDevice.load_script() to accept raw strings ([308](https://github.com/tektronix/tm_devices/pull/308))
- fix: Update stub generation helper function to handle classes followed by dataclasses ([307](https://github.com/tektronix/tm_devices/pull/307))
- Add function to register USBTMC connection information for devices that don't have native USBTMC connection support in tm_devices ([306](https://github.com/tektronix/tm_devices/pull/306))
- python-deps(deps-dev): Bump the python-dependencies group with 2 updates ([304](https://github.com/tektronix/tm_devices/pull/304))
- fix: Ensure that the default VISA timeout value is not overwritten if a new config is loaded that doesn't specify a default VISA timeout. ([303](https://github.com/tektronix/tm_devices/pull/303))
- gh-actions(deps): Bump tektronix/python-package-ci-cd ([287](https://github.com/tektronix/tm_devices/pull/287))
- chore: Bump the version of tektronix/python-package-ci-cd to v1.3.0 in workflows ([301](https://github.com/tektronix/tm_devices/pull/301))
- build: Update license identifier ([299](https://github.com/tektronix/tm_devices/pull/299))
- python-deps(deps): Bump the python-dependencies group with 3 updates ([300](https://github.com/tektronix/tm_devices/pull/300))
- Enable customizing the default visa timeout ([293](https://github.com/tektronix/tm_devices/pull/293))
- python-deps(deps-dev): Bump the python-dependencies group with 4 updates ([296](https://github.com/tektronix/tm_devices/pull/296))
- Update python-pacage-ci-cd to v1.1.0 and use tokens to upload to PyPI ([291](https://github.com/tektronix/tm_devices/pull/291))
- python-deps(deps): Bump the python-dependencies group across 1 directory with 2 updates ([288](https://github.com/tektronix/tm_devices/pull/288))
- chore: Remove an unneeded development dependency ([286](https://github.com/tektronix/tm_devices/pull/286))
- Convert to using reusable workflows from the `tektronix/python-package-ci-cd` repo ([284](https://github.com/tektronix/tm_devices/pull/284))

Added

- Added a config option (`default_visa_timeout`) to specify the default VISA timeout for all initial VISA device connections.
- Added a new function, `register_additional_usbtmc_mapping()`, to enable users to add USBTMC connection information for devices that don't have native support for USBTMC connections in `tm_devices` yet.
- Added `TSPDevice.export_buffers()` to write tsp buffer data fields to file, default is comma separated values with buffer names header.

Changed

- Switched all workflows to use the new [`tektronix/python-package-ci-cd`](https://github.com/tektronix/python-package-ci-cd) reusable workflows.
- Reduced the out-of-the box `default_visa_timeout` value from 30 seconds to 5 seconds.
- _**SEMI-BREAKING CHANGE**_: Changed the `USB_MODEL_ID_LOOKUP` constant to use `SupportedModels` as keys instead of values to make the documentation clearer.
- _**SEMI-BREAKING CHANGE**_: Changed the `DEVICE_DRIVER_MODEL_MAPPING` constant to use `SupportedModels` as keys instead of values to make the documentation clearer.
- _**SEMI-BREAKING CHANGE**_: Changed the input parameter order in `TSPDevice.load_script()` and updated it to accept raw string input in addition to the `file_path` parameter for the script content.
- Verbosity with `PIDevice.write()` now handles multiline input printouts.

Deprecated

- Renamed `TSPDevice.write_buffers()` to `TSPDevice.export_buffers()` for clarity.

Fixed

- Fixed a bug in the stubgen helper code responsible for adding dynamically added methods to stub files that caused invalid stub files to be created if a dataclass immediately followed a class that was being dynamically updated.

---

2.3.0

Merged Pull Requests

- feat: Added Full API support for TekscopePC. ([282](https://github.com/tektronix/tm_devices/pull/282))
- feat: Add curve query support for MSO2KB series scopes ([269](https://github.com/tektronix/tm_devices/pull/269))
- python-deps(deps-dev): bump the python-dependencies group with 2 updates ([279](https://github.com/tektronix/tm_devices/pull/279))
- ci: Use nodeenv to install node during tox runs, and install node with nodeenv during initial contributor setup ([278](https://github.com/tektronix/tm_devices/pull/278))

Added

- Added curve query support for the MSO2KB series scopes
- Full Python API support for TekScopePC device.

---

2.2.2

Merged Pull Requests

- Fix the stubgen helper function to attach stubs to the correct class in modules with multiple classes ([276](https://github.com/tektronix/tm_devices/pull/276))
- python-deps(deps-dev): bump the python-dependencies group with 2 updates ([273](https://github.com/tektronix/tm_devices/pull/273))
- docs: Update the contribution guide to provide details on how to track the status of changes in the GitHub repo using issues ([271](https://github.com/tektronix/tm_devices/pull/271))

Fixed

- Fixed the stubgen helper to properly attach stubs to the correct class in modules that have multiple classes.

---

2.2.1

Merged Pull Requests

- feat: Custom LAN Device Name for TCPIP Connections ([267](https://github.com/tektronix/tm_devices/pull/267))
- docs: Update links on the Readme to point to the full GitHub URL ([266](https://github.com/tektronix/tm_devices/pull/266))
- ci: Update the script that updates the pre-commit dependencies to update them with frozen hashes ([265](https://github.com/tektronix/tm_devices/pull/265))
- Convert test-docs.yml to a reusable workflow ([264](https://github.com/tektronix/tm_devices/pull/264))
- python-deps(deps-dev): bump the python-dependencies group with 3 updates ([263](https://github.com/tektronix/tm_devices/pull/263))

Changed

- Changed `DeviceConfigEntry` dataclass by adding an optional `lan_device_name` field, which allows connecting to instruments through TCPIP on LAN device names other than `inst0`.

---

2.2.0

Merged Pull Requests

- Enable adding unsupported device types via the DeviceManager ([262](https://github.com/tektronix/tm_devices/pull/262))
- test: Ignore http-rate-limited warnings to avoid failure due to the abundance of GitHub URLs in the Changelog ([261](https://github.com/tektronix/tm_devices/pull/261))

Added

- Added a new method to the `DeviceManager` class, `add_unsupported_device()`, which enables adding an unsupported device type.

---

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.