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

Adds pwr_dps5005_fixed

Showing with 3 additions and 6 deletions
+3 -6
......@@ -30,13 +30,10 @@ class Pwr(Pwr_batt):
super().__init__(**kwargs)
if not subclass_init:
self.exec_logger.event(f'{self.model}\tpwr_init\tbegin\t{datetime.datetime.utcnow()}')
assert isinstance(self.connection, Instrument)
self._voltage = kwargs['voltage']
self._current_max = kwargs['current_max']
self.voltage_adjustable = False
self.current_adjustable = False
self._current = np.nan
self._pwr_state = 'off'
self._pwr_latency = kwargs['pwr_latency']
self._switch_pwr_on_zero = True
# self._state = 'on'
if not subclass_init:
self.exec_logger.event(f'{self.model}\tpwr_init\tend\t{datetime.datetime.utcnow()}')
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