Skip to content

Commit

Permalink
Fixed bug introduced with firmware version check. Added description t…
Browse files Browse the repository at this point in the history
…o voltage input dialog.
  • Loading branch information
fietser28 committed Nov 20, 2020
1 parent b9c10db commit b72f1c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/CapReform/CapReform.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

def input_cap_max_volt():
global cap_max_volt
value = scpi('DISP:INPUT? "",NUMBER,VOLT,1.0,' +
value = scpi('DISP:INPUT? "Max Cap Voltage",NUMBER,VOLT,1.0,' +
str(module_max_volt) + ',' +
str(cap_max_volt))
if value != None:
Expand Down Expand Up @@ -183,6 +183,7 @@ def show_main_dialog():
# Start of main (loop) script
#############################
def main():
global module_max_volt
# Save state
scpi("*SAV 10")
scpi("MEM:STATE:FREEZE ON")
Expand Down

0 comments on commit b72f1c1

Please sign in to comment.