Repository navigation
fix(tsp): add missing "Empty" parameter to trigger.model.load_empty - #627
Open
harshitj183 wants to merge 2 commits into
Open
harshitj183 wants to merge 2 commits into
harshitj183 wants to merge 2 commits into
Conversation
Passing no arguments to trigger.model.load() causes an instrument error (missing argument: Empty) on Keithley TSP instruments (e.g. SMU 2400 series, DMM6500, DMM7510, DAQ6510). Resolves tektronix#618
harshitj183
requested review from
SaiDeepikaKuchibhotla,
amccann-Tek,
ldantek,
michaelwagoner,
nfelt14,
pradhansk,
tekperson and
v12ganesh
September 8, 2026 19:34
harshitj183
temporarily deployed
to
package-build
September 8, 2026 21:26 — with
GitHub Actions
Inactive
nfelt14
approved these changes
Sep 8, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #627 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 166 166
Lines 4866 4866
Branches 437 437
=========================================
Hits 4866 4866 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Test Results (ubuntu)
|
Test Results (macos)
|
Test Results (windows)
|
ldantek
approved these changes
Sep 17, 2026
Collaborator
|
@harshitj183, are you going to make the changes necessary to get this ready for merge? |
Collaborator
|
@harshitj183, this branch still has conflicts that need to be resolved |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
In Keithley TSP instruments (such as the 2400 series SMUs, DMM6500, DMM7510, and DAQ6510), clearing the trigger model via the template loader requires passing
"Empty"as the template name:trigger.model.load("Empty").Previously,
load_empty()in the generated TSP command classes invokedf"{self._cmd_syntax}.load()"without arguments, triggering instrument parameter error 1115 (trigger.model.load: missing argument: Empty).This change:
load_empty()across all affected TSP trigger command classes (gen_9prfe6_smu,gen_auxckp_smu,gen_jtknj_daq,gen_kg1qs_dmm, andgen_l149h_dmm) to writef'{self._cmd_syntax}.load("Empty")'.daq6510.yaml,dmm6500.yaml,dmm7510.yaml,smu2460.yaml) to expecttrigger.model.load("Empty").tests/test_devices_legacy_tsp_ieee_cmds.py(for DMM6500, DMM7510, and DAQ6510) andtests/test_smu.py(for SMU2450) asserting thattrigger.model.load("Empty")is sent.CHANGELOG.mdwith an entry underFixedreferencing the issue.Addresses #618
Types of changes
Checklist
Addresses #618