Commit 4a31c3f6 authored by Arnaud WATLET's avatar Arnaud WATLET
Browse files

Updates R shunt

Showing with 2 additions and 2 deletions
+2 -2
...@@ -438,7 +438,7 @@ class OhmPiTests(): ...@@ -438,7 +438,7 @@ class OhmPiTests():
test_result = False test_result = False
quad = [1, 1] quad = [1, 1]
roles = ['A','B'] roles = ['A','B']
tx_volt = 3. tx_volt = .1
injection_duration = 2. injection_duration = 2.
delay = injection_duration * 2 / 3 delay = injection_duration * 2 / 3
if self._hw.tx.voltage != tx_volt: if self._hw.tx.voltage != tx_volt:
...@@ -453,7 +453,7 @@ class OhmPiTests(): ...@@ -453,7 +453,7 @@ class OhmPiTests():
self._hw.switch_mux(quad, roles, state='on', bypass_ab_check=True) self._hw.switch_mux(quad, roles, state='on', bypass_ab_check=True)
self._hw.tx.pwr._voltage_max = 0.1 self._hw.tx.pwr._voltage_max = 0.1
self._hw.tx.pwr._current_max_tolerance = 0. self._hw.tx.pwr._current_max_tolerance = 0.
self._hw.tx.pwr.current_max = 0.045 # mA self._hw.tx.pwr.current_max = 0.045 # mA
# self._hw._vab_pulse(duration=injection_duration, vab=tx_volt) # self._hw._vab_pulse(duration=injection_duration, vab=tx_volt)
time.sleep(.5) time.sleep(.5)
injection = Thread(target=self._hw._inject, kwargs={'injection_duration': injection_duration, 'polarity': 1}) injection = Thread(target=self._hw._inject, kwargs={'injection_duration': injection_duration, 'polarity': 1})
......
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