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

Merge branch 'board_v4' of https://gitlab.irstea.fr/reversaal/OhmPi into board_v4

No related merge requests found
Showing with 5 additions and 2 deletions
+5 -2
...@@ -281,7 +281,7 @@ class OhmPi(object): ...@@ -281,7 +281,7 @@ class OhmPi(object):
- vmax : compute Vab to reach a maximum Iab and Vmn - vmax : compute Vab to reach a maximum Iab and Vmn
- constant : apply given Vab - constant : apply given Vab
tx_volt : float, optional tx_volt : float, optional
Voltage apply to try to guess the best voltage. 5 V applied Voltage to apply for guessing the best voltage. 5 V applied
by default. If strategy "constant" is chosen, constant voltage by default. If strategy "constant" is chosen, constant voltage
to applied is "tx_volt". to applied is "tx_volt".
...@@ -348,7 +348,7 @@ class OhmPi(object): ...@@ -348,7 +348,7 @@ class OhmPi(object):
vmn = U2 vmn = U2
elif strategy == 'vmax': elif strategy == 'vmax':
# implement different strategy # implement different strategies
I=0 I=0
vmn=0 vmn=0
count=0 count=0
...@@ -754,6 +754,9 @@ class OhmPi(object): ...@@ -754,6 +754,9 @@ class OhmPi(object):
warnings.warn('This function is deprecated. Use load_sequence instead.', DeprecationWarning) warnings.warn('This function is deprecated. Use load_sequence instead.', DeprecationWarning)
self.load_sequence(**kwargs) self.load_sequence(**kwargs)
def _read_voltage(self):
pass
def remove_data(self, cmd_id=None): def remove_data(self, cmd_id=None):
"""Remove all data in the data folder """Remove all data in the data folder
......
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