From b1b86b79344046c8e309b744bc5f900f401198af Mon Sep 17 00:00:00 2001 From: "rpi2.0" <rpi2.0> Date: Fri, 28 Oct 2022 10:03:14 +0200 Subject: [PATCH] forgotten comment --- ohmpi.py | 2 +- test.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ohmpi.py b/ohmpi.py index 3ecc6f52..8303d7e3 100644 --- a/ohmpi.py +++ b/ohmpi.py @@ -861,7 +861,7 @@ class OhmPi(object): # compute resistance measured (= contact resistance) resist = abs(voltage / current) /1000. #print(str(quad) + '> I: {:>10.3f} mA, V: {:>10.3f} mV, R: {:>10.3f} kOhm'.format( - current, voltage, resist)) + # current, voltage, resist)) msg = f'Contact resistance {str(quad):s}: I: {current * 1000.:>10.3f} mA, ' \ f'V: {voltage :>10.3f} mV, ' \ f'R: {resist :>10.3f} kOhm' diff --git a/test.py b/test.py index e8cbd02d..86ad70da 100644 --- a/test.py +++ b/test.py @@ -14,12 +14,12 @@ k.settings['nb_stack'] = 1 k.settings['nbr_meas'] = 1 k.sequence = seq k.reset_mux() -#k.switch_mux_on([1, 4, 2, 3]) +k.switch_mux_on([1, 4, 2, 3]) #k.switch_mux_on([12, 15, 13, 14]) #k.measure(strategy='vmax') #print('vab', k.compute_tx_volt(strategy='vmin')) -k.rs_check() -#out = k.run_measurement(quad=[3, 3, 3, 3], nb_stack=1, tx_volt=12, strategy='constant', autogain=True) +#k.rs_check() +out = k.run_measurement(quad=[3, 3, 3, 3], nb_stack=1, tx_volt=12, strategy='constant', autogain=True) #k.reset_mux() #k.rs_check(tx_volt=12) -- GitLab