Commit 2b5293a9 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Implements rs_check

Showing with 2 additions and 2 deletions
+2 -2
......@@ -704,8 +704,8 @@ class OhmPi(object):
if self._hw.tx.voltage_adjustable:
voltage = self._hw.tx.voltage # imposed voltage on dps
else:
voltage = d['Vmn [mV]']
current = d['I [mA]']
voltage = self._hw.rx.voltage
current = self._hw.tx.current
# compute resistance measured (= contact resistance)
resist = abs(voltage / current) / 1000.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment