Commit 0122d5ee authored by Arnaud WATLET's avatar Arnaud WATLET
Browse files

tries to fix vmax issue

Showing with 4 additions and 4 deletions
+4 -4
......@@ -587,11 +587,11 @@ class OhmPi(object):
# 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.tx.polarity = 1
#self._hw.switch_mux(electrodes=quad[0:2], roles=['A', 'B'], state='on')
#self._hw.tx.polarity = 1
time.sleep(1.0)
self._hw.tx.polarity = 0
self._hw.switch_mux(electrodes=quad[0:2], roles=['A', 'B'], state='off')
#self._hw.tx.polarity = 0
#self._hw.switch_mux(electrodes=quad[0:2], roles=['A', 'B'], state='off')
else:
self.exec_logger.info(f'Skipping {quad}')
self.switch_mux_off(quad, cmd_id)
......
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