Commit e699e69b authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Checks ohmpi_card sampling rates

Showing with 2 additions and 0 deletions
+2 -0
...@@ -164,6 +164,8 @@ class OhmPiHardware: ...@@ -164,6 +164,8 @@ class OhmPiHardware:
if sampling_rate is None: if sampling_rate is None:
sampling_rate = self.tx.sampling_rate sampling_rate = self.tx.sampling_rate
sample = 0 sample = 0
self.exec_logger.info(f'values when starting pulse {self._pulse} : {self.tx.current} mA, {self.rx.voltage} mV')
self.rx.voltage
self.tx_sync.wait() # self.tx_sync.wait() #
if not append or self._start_time is None: if not append or self._start_time is None:
self._start_time = datetime.datetime.utcnow() self._start_time = datetime.datetime.utcnow()
......
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