diff --git a/script/keithley.py b/script/keithley.py index 1811c144..2690fe1f 100644 --- a/script/keithley.py +++ b/script/keithley.py @@ -91,7 +91,7 @@ class Keithley(object): if navg > 100: nplc *= 2 navg /= 2 - navg = min(navg, 100) + navg = min(navg, 100.) nplc = min(nplc, 10.) self.nplcCh.write(nplc) @@ -140,7 +140,7 @@ class Keithley(object): 0.1 s dwell time, 1 s poll interval. """ self.nplcCh.write(5.) - self.navgCh.write(1) + self.navgCh.write(1.) self.scanCh.write(6) self.ttypeCh.write(0)