Exemplo n.º 1
0
 def __init__(self, device, scaling_factor=1):
     """
     Constructor method
     standard address='GPIB::22::INSTR'
     """
     PyVisaDriver.__init__(self)
     self.name += "Agilent 34401A Multimeter"
     self.device = device
     self.scaling_factor = scaling_factor
    def __init__(self, device):
        PyVisaDriver.__init__(self)
        self.name += "Keysight HP6624A Power Supply"
        self.device = device

        self.active = False
        self.set_voltage(0, 1)
        self.set_voltage(0, 2)
        self.set_voltage(0, 3)
        self.set_voltage(0, 4)
Exemplo n.º 3
0
 def __init__(self, device):
     """
     Constructor method.
     standard address='GPIB0::2::INSTR'
     :param device: device from PyVisa open_resource object
     :type: PyVisa open_resource object
     """
     PyVisaDriver.__init__(self)
     self.name += "Ando AQ6317 optical spectrum analyzer"
     self.device = device
Exemplo n.º 4
0
    def __init__(self, device):
        """
        Constructor method
        """
        PyVisaDriver.__init__(self)
        self.name += "Aragon BOSA 400"
        self.device = device

        self.max_wavelength = 1579.9
        self.min_wavelength = 1520
Exemplo n.º 5
0
    def __init__(self, device):
        PyVisaDriver.__init__(self)
        self.name += "KST_Z812B"
        self.device = device

        self.device.values_format.is_binary = True
        self.device.values_format.datatype = 'd'
        self.device.values_format.is_big_endian = sys.byteorder == 'little'
        self.device.values_format.container = bytearray

        self.position = 0
        self.zeros_position = 0
        self._steps = 0
    def __init__(self, device):
        PyVisaDriver.__init__(self)
        self.name += "Santec TSL-201H Laser"
        self.device = device

        self.max_wavelength = 1580
        self.min_wavelength = 1510

        self.active = False
        self.turn_output_on()
        self.locked = True

        self.sweep_start = None
        self.sweep_end = None
        self.sweep_step = None
        self.wavelength = None
Exemplo n.º 7
0
 def __init__(self, device):
     PyVisaDriver.__init__(self)
     self.name += "Keithley 2280S Power Supply"
     self.device = device
Exemplo n.º 8
0
 def __init__(self, device):
     PyVisaDriver.__init__(self)
     self.name += "Tektronix CSA8000"
     self.device = device
Exemplo n.º 9
0
 def __init__(self, device):
     PyVisaDriver.__init__(self)
     self.name += "Keithley 2400 Source Meter"
     self.device = device
Exemplo n.º 10
0
 def __init__(self, device):
     PyVisaDriver.__init__(self)
     self.device = device
     self.name += "Amonics EDFA-IL-23-B-FA"
Exemplo n.º 11
0
    def __init__(self, device):
        PyVisaDriver.__init__(self)
        self.device = device
        self.name += "VCU108"

        self._locked = False
Exemplo n.º 12
0
 def __init__(self, device):
     PyVisaDriver.__init__(self)
     self.name += "Newport PM500"
     self.device = device
     self.velocity = 0
    def __init__(self):
        # the GPIB address the instrument extending this class is set to
        self.instrument_gpib_address = None

        PyVisaDriver.__init__(self)
        self.name += " that is connected using a GPIB to USB Adapter - "
Exemplo n.º 14
0
 def __init__(self, device):
     PyVisaDriver.__init__(self)
     self.name += "Polatis 3000 Switch"
     self.device = device