Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add USBTMC support for the 3706A device. #97

Merged
merged 1 commit into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ repos:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/psf/black
rev: 23.10.1
rev: 23.11.0
hooks:
- id: black
- repo: https://github.com/PyCQA/docformatter
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Things to be included in the next release go here.
- Added a new support table in the Readme showing the API support for Software Solutions
- Added an option to bypass SSL certificate verification for RESTful API devices
- Added an option to allow URL redirects for RESTful API devices
- Added the 3706a to the list of supported usb devices

### Changed

Expand Down
3 changes: 3 additions & 0 deletions src/tm_devices/helpers/constants_and_dataclasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,9 @@ def __str__(self) -> str:
SupportedModels.AWG70KB.value: USBTMCConfiguration(
vendor_id=_TEKTRONIX_USBTMC_VENDOR_ID, model_id="0x0503"
),
SupportedModels.SS3706A.value: USBTMCConfiguration(
vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id="0x3706"
),
}
)
"""Dict[str, tm_devices.helpers.USBTMCConfiguration]: Mapping of model USBTMC info."""
Loading