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

Tries enabling switch_pwr during injection for polarity 0 on pwr_batt and pwr_dps5005_fixed

Showing with 2 additions and 2 deletions
+2 -2
......@@ -47,8 +47,8 @@ class Pwr(PwrAbstract):
def voltage(self, value):
PwrAbstract.voltage.fset(self, value)
# def voltage_pulse(self, voltage=0., length=None, polarity=1):
# self.voltage_pulse(voltage=voltage, length=length, polarity=polarity, switch_pwr=self._switch_pwr_on_zero)
def voltage_pulse(self, voltage=0., length=None, polarity=1):
self.voltage_pulse(voltage=voltage, length=length, polarity=polarity, switch_pwr=self._switch_pwr_on_zero)
def inject(self, polarity=1, injection_duration=None):
self.inject(polarity=polarity, injection_duration=injection_duration, switch_pwr=self._switch_pwr_on_zero)
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