Skip to content

Commit

Permalink
Merge pull request #5572 from aaronsharpe/main
Browse files Browse the repository at this point in the history
Remove initial value for output of Keithley 2450
  • Loading branch information
jenshnielsen authored Dec 5, 2023
2 parents f958942 + 9a6b09d commit 8a0c89f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/changes/newsfragments/improved_driver.5572
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Previously, the keithley 2450 driver had an initial value for the output. This is particularly dangerous when reinitializing/recovering from a kernal crash.
Initializing the instrument should leave all parameters unchanged. This PR removes the initial value for the output.
1 change: 0 additions & 1 deletion src/qcodes/instrument_drivers/Keithley/Keithley_2450.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,6 @@ def __init__(self, name: str, address: str, **kwargs: Any) -> None:

self.add_parameter(
"output_enabled",
initial_value="0",
set_cmd=":OUTP {}",
get_cmd=":OUTP?",
val_mapping=create_on_off_val_mapping(on_val="1", off_val="0"),
Expand Down

0 comments on commit 8a0c89f

Please sign in to comment.