Skip to content

Commit

Permalink
feat: Add USBTMC support for the 3706A device. (#97)
Browse files Browse the repository at this point in the history
Co-authored-by: Collin Charvat <[email protected]>
  • Loading branch information
nfelt14 and Collin Charvat authored Nov 9, 2023
1 parent 78e0ed7 commit c0e133c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
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."""

0 comments on commit c0e133c

Please sign in to comment.