Commit 8ebcd300 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Updates switch A & B to discharge dps

Showing with 2 additions and 2 deletions
+2 -2
......@@ -72,7 +72,7 @@ class Pwr(PwrAbstract):
return self._battery_voltage
def current_max(self, value): # [mA]
value=value * 1.2 # To set DPS max current slightly above (20%) the limit to avoid regulation artefacts
value = value * 1.2 # To set DPS max current slightly above (20%) the limit to avoid regulation artefacts
self.connection.write_register(0x0001, int(value*1000), 0)
@property
......
......@@ -577,7 +577,7 @@ class OhmPi(object):
dd['cmd_id'] = str(cmd_id)
self.data_logger.info(dd)
self._hw.switch_mux(electrodes=quad[0:2], roles=['A', 'B'], state='on')
time.sleep(0.2)
time.sleep(1.0)
self._hw.switch_mux(electrodes=quad[0:2], roles=['A', 'B'], state='off')
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