Commit 5ff6f354 authored by Arnaud WATLET's avatar Arnaud WATLET
Browse files

Tries to address vmax issue

Showing with 3 additions and 1 deletion
+3 -1
...@@ -584,9 +584,11 @@ class OhmPi(object): ...@@ -584,9 +584,11 @@ class OhmPi(object):
# log data to the data logger # log data to the data logger
self.data_logger.info(dd) self.data_logger.info(dd)
# Discharge DPS capa (not working properly)
#TODO: For pwr_adjustable only and perhaps in a separate function (or at _hw level)
self._hw.switch_mux(electrodes=quad[0:2], roles=['A', 'B'], state='on') self._hw.switch_mux(electrodes=quad[0:2], roles=['A', 'B'], state='on')
self._hw.tx.polarity = 1 self._hw.tx.polarity = 1
time.sleep(1.0) time.sleep(2.0)
self._hw.tx.polarity = 0 self._hw.tx.polarity = 0
self._hw.switch_mux(electrodes=quad[0:2], roles=['A', 'B'], state='off') self._hw.switch_mux(electrodes=quad[0:2], roles=['A', 'B'], state='off')
else: else:
......
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