Commit 3302ec07 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Updates test_3_mux_2024.py

Showing with 7 additions and 1 deletion
+7 -1
...@@ -55,7 +55,13 @@ if within_ohmpi: ...@@ -55,7 +55,13 @@ if within_ohmpi:
k._hw.calibrate_rx_bias() # electrodes 1 4 2 3 should be connected to a reference circuit k._hw.calibrate_rx_bias() # electrodes 1 4 2 3 should be connected to a reference circuit
# print(f'Resistance: {k._hw.last_rho :.2f} ohm, dev. {k._hw.last_dev:.2f} %, rx bias: {k._hw.rx._bias:.2f} mV') # print(f'Resistance: {k._hw.last_rho :.2f} ohm, dev. {k._hw.last_dev:.2f} %, rx bias: {k._hw.rx._bias:.2f} mV')
# k._hw._plot_readings() # k._hw._plot_readings()
d= k.run_measurement([A, B, M, N], injection_duration=6.) k._hw.switch_mux([A, B, M, N], state='on')
k._hw.vab_square_wave(3., 1)
k._hw.switch_mux([A, B, M, N], state='off')
print(f'Resistance: {k._hw.last_rho :.2f} ohm, dev. {k._hw.last_dev:.2f} %, rx bias: {k._hw.rx._bias:.2f} mV')
k._hw._plot_readings()
print('using OhmPi')
d = k.run_measurement([A, B, M, N], injection_duration=6.)
print(d) print(d)
# k._hw._plot_readings() # k._hw._plot_readings()
print(f'Resistance: {k._hw.last_rho :.2f} ohm, dev. {k._hw.last_dev:.2f} %, rx bias: {k._hw.rx._bias:.2f} mV') print(f'Resistance: {k._hw.last_rho :.2f} ohm, dev. {k._hw.last_dev:.2f} %, rx bias: {k._hw.rx._bias:.2f} mV')
......
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