diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-06-14 22:55:36 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-06-14 22:55:36 -0400 |
commit | 8f105c24e5b42bb321daf2b66d5c3fedcebfb246 (patch) | |
tree | 9bb3fd2df50b5d92b5c95751af34999d8b73ba1d /qolab/hardware/scpi.py | |
parent | e3a75169865ad47148586ad99b75ceffdd6345be (diff) | |
download | qolab-8f105c24e5b42bb321daf2b66d5c3fedcebfb246.tar.gz qolab-8f105c24e5b42bb321daf2b66d5c3fedcebfb246.zip |
proper inheritance of the parent deviceProperties
Diffstat (limited to 'qolab/hardware/scpi.py')
-rw-r--r-- | qolab/hardware/scpi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qolab/hardware/scpi.py b/qolab/hardware/scpi.py index 4eab5aa..328e261 100644 --- a/qolab/hardware/scpi.py +++ b/qolab/hardware/scpi.py @@ -199,7 +199,7 @@ if __name__ == '__main__': z = SCPI_PROPERTY(scpi_prfx='SETY', ptype=int, no_getter=True, doc='property Z') c1= DummyInstrument() - c1.deviceProperties={'x', 'y'} + c1.deviceProperties.update({'x', 'y'}) c1.getConfig() c2= DummyInstrument() |