Commit 22c63219 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Attemps to use the sampling_rate in _vab_pulse

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -68,7 +68,7 @@ class OhmPiHardware:
if polarity is not None and polarity != self.tx.polarity:
self.tx.polarity = polarity
self.tx.voltage = vab
injection = Thread(target=inject, kwargs={'length':length})
injection = Thread(target=inject, kwargs={'duration':length})
readings = Thread(target=read_values, kwargs={'sampling_rate': sampling_rate})
# set gains automatically
self.tx.adc_gain_auto()
......
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