From 82ae4d4c87b2a3692f2f9927028326d251da1da5 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Mon, 3 Jan 2022 23:23:47 -0500 Subject: using set --- qolab/hardware/rf_generator/agilent_e8257d.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qolab/hardware/rf_generator/agilent_e8257d.py') diff --git a/qolab/hardware/rf_generator/agilent_e8257d.py b/qolab/hardware/rf_generator/agilent_e8257d.py index 7d05c0b..f13ff72 100644 --- a/qolab/hardware/rf_generator/agilent_e8257d.py +++ b/qolab/hardware/rf_generator/agilent_e8257d.py @@ -10,7 +10,7 @@ class AgilentE8257D(RFGeneratorSCPI): super().__init__(resource, *args, **kwds) self.resource.read_termination='\n' self.config['Device model'] = 'Agilent E8257D' - self.deviceProperties.extend([ + self.deviceProperties.update({ 'RFPowerState', 'RFAmplitude', 'ModulationState', @@ -22,7 +22,7 @@ class AgilentE8257D(RFGeneratorSCPI): 'FM2ModulationDepth', 'FrequencyMode', # sweep or continious 'SweepCentralFreq', 'SweepSpan', - ]) + }) """ Note: Fixed frequency and Center frequency (of sweep) are different in this model """ -- cgit v1.2.3