blob: a82c1a051b1ce355936b2d4d9bcd9c7fe9ecd7f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
|