diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-02 17:15:03 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-02 17:15:03 -0500 |
commit | 508db69a6b0a16d26cbccd2a1a1840310687d8e7 (patch) | |
tree | ed996c1a92a41b8a7ff93ab64b655a6d28dfce03 /qolab/hardware/rf_generator/__init__.py | |
parent | 3c6c11f0c25e3d25422a4671f84d8b8d12d15ad6 (diff) | |
download | pyExpControl-508db69a6b0a16d26cbccd2a1a1840310687d8e7.tar.gz pyExpControl-508db69a6b0a16d26cbccd2a1a1840310687d8e7.zip |
added files required for agilent_e8257d generator
Diffstat (limited to 'qolab/hardware/rf_generator/__init__.py')
-rw-r--r-- | qolab/hardware/rf_generator/__init__.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/qolab/hardware/rf_generator/__init__.py b/qolab/hardware/rf_generator/__init__.py new file mode 100644 index 0000000..a82c1a0 --- /dev/null +++ b/qolab/hardware/rf_generator/__init__.py @@ -0,0 +1,20 @@ +from qolab.hardware.scpi import SCPIinstr + +class RFGenerator: + # Minimal set of methods to be implemented. + pass + +class RFGeneratorSCPI(SCPIinstr, RFGenerator): + """ + Do not instantiate directly, use + rm = pyvisa.ResourceManager() + ScopeSCPI(rm.open_resource('TCPIP::192.168.0.2::INSTR')) + """ + pass + def __init__(self, resource): + SCPIinstr.__init__(self, resource) + RFGenerator.__init__(self) + +from .agilent_e8257d import AgilentE8257D + + |