Commit e6b00de2 authored by Arnaud WATLET's avatar Arnaud WATLET
Browse files

Adds vmn and iab calculations in hardware_system

Showing with 8 additions and 0 deletions
+8 -0
......@@ -248,6 +248,14 @@ class OhmPiHardware:
return pulses
def _read_values(self, sampling_rate=None, append=False): # noqa
"""
Reads vmn and iab values on ADS1115 and generates full waveform dataset consisting of
[time, pulse nr, polarity, vmn, iab]
Parameters
----------
sampling_rate: float,None , optional
append: bool Default: False
"""
self.exec_logger.event(f'OhmPiHardware\tread_values\tbegin\t{datetime.datetime.utcnow()}')
if not append:
self._clear_values()
......
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