Commit 31ee7f23 authored by Guillaume Blanchy's avatar Guillaume Blanchy
Browse files

Update UI

Showing with 6 additions and 793 deletions
+6 -793
...@@ -84,9 +84,10 @@ if within_ohmpi: ...@@ -84,9 +84,10 @@ if within_ohmpi:
print('Starting test with OhmPi.') print('Starting test with OhmPi.')
k = OhmPi() k = OhmPi()
k.get_data() # k.get_data()
# k.load_sequence(os.path.join(os.path.dirname(__file__), '../sequences/test_circuit_1423.txt')) k.load_sequence(os.path.join(os.path.dirname(__file__), '../sequences/test_circuit_1423.txt'))
# k.reset_mux() k.reset_mux()
k.run_multiple_sequences(sequence_delay=20, nb_meas=3)
# k.run_sequence(injection_duration=0.2) # k.run_sequence(injection_duration=0.2)
# k.rs_check(tx_volt=4) # k.rs_check(tx_volt=4)
# k.test_mux(mux_id=None, activation_time=0.2) # k.test_mux(mux_id=None, activation_time=0.2)
......
This diff is collapsed.
...@@ -500,7 +500,7 @@ class OhmPi(object): ...@@ -500,7 +500,7 @@ class OhmPi(object):
bypass_check = kwargs['bypass_check'] if 'bypass_check' in kwargs.keys() else False bypass_check = kwargs['bypass_check'] if 'bypass_check' in kwargs.keys() else False
d = {} d = {}
if self.switch_mux_on(quad, bypass_check=bypass_check, cmd_id=cmd_id): if self.switch_mux_on(quad, bypass_check=bypass_check, cmd_id=cmd_id):
tx_volt,_ ,_ = self._hw._compute_tx_volt(tx_volt=tx_volt, strategy=strategy) #tx_volt,_ ,_ = self._hw._compute_tx_volt(tx_volt=tx_volt, strategy=strategy)
self._hw.vab_square_wave(tx_volt, cycle_duration=injection_duration*2/duty_cycle, cycles=nb_stack, duty_cycle=duty_cycle) self._hw.vab_square_wave(tx_volt, cycle_duration=injection_duration*2/duty_cycle, cycles=nb_stack, duty_cycle=duty_cycle)
if 'delay' in kwargs.keys(): if 'delay' in kwargs.keys():
delay = kwargs['delay'] delay = kwargs['delay']
......
...@@ -2,12 +2,4 @@ ...@@ -2,12 +2,4 @@
2 5 3 4 2 5 3 4
3 6 4 5 3 6 4 5
4 7 5 6 4 7 5 6
5 8 6 7
6 9 7 8
7 10 8 9
8 11 9 10
9 12 10 11
10 13 11 12
11 14 12 13
12 15 13 14
13 16 14 15
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