diff options
Diffstat (limited to 'qolab/hardware/power_supply')
-rw-r--r-- | qolab/hardware/power_supply/__init__.py | 2 | ||||
-rw-r--r-- | qolab/hardware/power_supply/keysight_e3612a.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/qolab/hardware/power_supply/__init__.py b/qolab/hardware/power_supply/__init__.py index b1083cf..5ec4ab9 100644 --- a/qolab/hardware/power_supply/__init__.py +++ b/qolab/hardware/power_supply/__init__.py @@ -8,7 +8,7 @@ class PowerSupply(BasicInstrument): self.config['Device type']='PowerSupply' self.config['Device model'] = 'Generic Power Supply generator Without Hardware interface' self.config['FnamePrefix'] = 'power_supply' - self.deviceProperties = { } + self.deviceProperties.update({}) class PowerSupplySCPI(SCPIinstr, PowerSupply): """ diff --git a/qolab/hardware/power_supply/keysight_e3612a.py b/qolab/hardware/power_supply/keysight_e3612a.py index e106279..b241b30 100644 --- a/qolab/hardware/power_supply/keysight_e3612a.py +++ b/qolab/hardware/power_supply/keysight_e3612a.py @@ -9,7 +9,7 @@ class KeysightE3612A(PowerSupplySCPI): self.resource.read_termination='\n' self.config['Device model'] = 'Keysight E3612A' self.numberOfChannels = 3 - self.deviceProperties = {'OpMode', }; + self.deviceProperties.update({'OpMode'}) self.channelProperties = {'IsOn', 'Regulation', 'Vout', 'Vlimit', 'Iout', 'Ilimit', 'dV', 'dI', } self.deffaultChannelR = 47; # used if no empirical way to calculate it via Vout/Iout |