Skip to content

Commit

Permalink
Add Setting to Dump Output Queue When Connecting (#71)
Browse files Browse the repository at this point in the history
Sometimes developers may want TSP Toolkit to show the contents of the
output queue of the instrument when connecting instead of the queue
being cleared. This is especially helpful when connecting to an
instrument after the terminal is lost or the instrument drops the
connection.

This PR also improves the notifications shown while connecting to keep
the user informed of the progress of connecting to the instrument.
  • Loading branch information
esarver authored Nov 12, 2024
1 parent 25a4b74 commit 83d3631
Show file tree
Hide file tree
Showing 7 changed files with 313 additions and 223 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
Security -- in case of vulnerabilities.
-->

## [1.1.0]

### Added

- Added `tsp.dumpQueueOnConnect` setting to dump the instrument output queue before
clearing it so it can be printed when opening the terminal
- Added progress indication to connection notification

## [1.0.0]

### Added
Expand Down Expand Up @@ -234,7 +242,8 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
- Feature to retrieve TSP-Link network details

<!-- Version Comparison Links -->
[Unreleased]: https://github.com/tektronix/tsp-toolkit/compare/v1.0.0...HEAD
[Unreleased]: https://github.com/tektronix/tsp-toolkit/compare/v1.1.0...HEAD
[1.1.0]: https://github.com/tektronix/tsp-toolkit/releases/tag/v1.1.0
[1.0.0]: https://github.com/tektronix/tsp-toolkit/releases/tag/v1.0.0
[0.18.2]: https://github.com/tektronix/tsp-toolkit/releases/tag/v0.18.2
[0.18.1]: https://github.com/tektronix/tsp-toolkit/releases/tag/v0.18.1
Expand Down
134 changes: 67 additions & 67 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publisher": "Tektronix",
"displayName": "Keithley TSP Toolkit",
"description": "VSCode extension for Keithley Instruments' Test Script Processor",
"version": "1.0.0",
"version": "1.1.0",
"icon": "./resources/TSP_Toolkit_128x128.png",
"galleryBanner": {
"color": "#EEEEEE",
Expand Down Expand Up @@ -248,17 +248,17 @@
],
"configuration": {
"type": "object",
"title": "TSP Configuration",
"title": "TSP Toolkit",
"properties": {
"tsp.errorLimit": {
"type": "number",
"default": 3,
"description": "Maximum number of consecutive errors to print in the terminal"
},
"tsp.savedInstruments": {
"type": "array",
"default": [],
"description": "A list of saved instrument serial numbers"
},
"tsp.dumpQueueOnConnect": {
"type": "boolean",
"default": false,
"description": "If `true`, collect the contents of the instrument output queue and print it to the terminal when connecting."
}
}
},
Expand Down Expand Up @@ -489,9 +489,9 @@
"xml-js": "1.6.11"
},
"optionalDependencies": {
"@tektronix/kic-cli-linux-x64": "0.18.4",
"@tektronix/kic-cli-win32-x64": "0.18.4",
"@tektronix/kic-cli-darwin-arm64": "0.18.4"
"@tektronix/kic-cli-linux-x64": "0.19.0-0",
"@tektronix/kic-cli-win32-x64": "0.19.0-0",
"@tektronix/kic-cli-darwin-arm64": "0.19.0-0"
},
"extensionDependencies": [
"sumneko.lua"
Expand Down
Loading

0 comments on commit 83d3631

Please sign in to comment.