Commit 71486a54 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Attemps to use the sampling_rate in _vab_pulse

Showing with 1 addition and 1 deletion
+1 -1
......@@ -73,7 +73,7 @@ class OhmPiHardware:
if polarity is not None and polarity != self.tx.polarity:
self.tx.polarity = polarity
self.tx.voltage = vab
data = np.ndarray()
data = None
injection = Thread(target=inject, args=[self], kwargs={'duration':length})
readings = Thread(target=read_values, args=[self, data], kwargs={'sampling_rate': sampling_rate})
# set gains automatically
......
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