Skip to content

Commit

Permalink
Merge pull request #125 from fietser28/master
Browse files Browse the repository at this point in the history
Fixed bug introduced with firmware version check. Added description t…
  • Loading branch information
mvladic authored Nov 21, 2020
2 parents 808e492 + b72f1c1 commit b1ad16e
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 b1ad16e

Please sign in to comment.