Ejemplo n.º 1
0
    def __init__(self, instrument, channel):
        self._instrument = instrument
        self._channel = channel
        ChannelRead.__init__(self)

        self._config += ['frequency', 'resolution', 'frequency_span', 'range',
                         'averagepoints', 'autoscale', 'autoranging',
                         'auto_offset']
Ejemplo n.º 2
0
    def __init__(self, instrument, channel):
        self._instrument = instrument
        self._channel = channel
        ChannelRead.__init__(self)

        self._config += [
            'frequency', 'range', 'resolution', 'autoscale', 'auto_offset'
        ]
Ejemplo n.º 3
0
 def __init__(self, instrument):
     self._instrument = instrument
     ChannelRead.__init__(self)
     self._unit = ''
     self._config += [
         'frequency', 'resolution', 'range', 'averagepoints',
         'average_complete', 'autoscale'
     ]
Ejemplo n.º 4
0
    def __init__(self, instrument, adc_number):
        ChannelRead.__init__(self)
        self._instrument = instrument

        self._integration_time   = AdwinType(instrument, 'fpar', 70, True)
        self._integration_points = AdwinType(instrument, 'par',  70)
        self._continous          = AdwinType(instrument, 'par',   3, True)
        self._adc                = AdwinType(instrument, 'fpar', adc_number)
        self._adc_number = adc_number
        self._config += ['continous', 'integration_time']
Ejemplo n.º 5
0
    def __init__(self, instrument, measurment_function):
        ChannelRead.__init__(self)

        self._instrument = instrument
        self._measf = measurment_function
        self._factor = 1

        self.display = _Keithley2000MultimeterSubsystemDisplay(self._instrument)
        self.format = _Keithley2000MultimeterSubsystemFormat(self._instrument)
        self.trigger = _Keithley2000MultimeterSubsystemTrigger(self._instrument)
        self.buffer = _Keithley2000MultimeterSubsystemBuffer(self._instrument)
        self.system = _Keithley2000MultimeterSubsystemSystem(self._instrument)
Ejemplo n.º 6
0
    def __init__(self, instrument, measurment_function):
        ChannelRead.__init__(self)

        self._instrument = instrument
        self._measf = measurment_function
        self._factor = 1

        self.display = _Keithley2000MultimeterSubsystemDisplay(
            self._instrument)
        self.format = _Keithley2000MultimeterSubsystemFormat(self._instrument)
        self.trigger = _Keithley2000MultimeterSubsystemTrigger(
            self._instrument)
        self.buffer = _Keithley2000MultimeterSubsystemBuffer(self._instrument)
        self.system = _Keithley2000MultimeterSubsystemSystem(self._instrument)
Ejemplo n.º 7
0
    def __init__(self, instrument, measurment_function):
        ChannelRead.__init__(self)

        self._instrument = instrument
        self._measf = str(measurment_function)

        self._config += ['range', 'autorange', 'speed']

        # Set the index for the list returned from the READ command
        if self._measf[:4].lower() == 'volt':
            self._rindex = 0
        elif self._measf[:4].lower() == 'curr':
            self._rindex = 1
        elif self._measf[:3].lower() == 'res':
            self._rindex = 2
Ejemplo n.º 8
0
 def __init__(self, instrument, adc_number):
     ChannelRead.__init__(self)
     self._instrument = instrument
     self._adc_number = adc_number
     self._config += ['continous', 'integration_time']
Ejemplo n.º 9
0
    def __init__(self, index):
        ChannelRead.__init__(self)
        self._index = index

        self.name = 'foo_in'
        self.name = 'abu'
Ejemplo n.º 10
0
 def __init__(self, instrument, fifo_number):
     ChannelRead.__init__(self)
     self._instrument = instrument
     self._fifo_number = fifo_number
     self._samples = 1
 def __init__(self, instrument, channel):
     ChannelRead.__init__(self)
     self._instrument = instrument
     self._channel = channel
     self._unit = 'volt'
     self._config += ['time_constant']
Ejemplo n.º 12
0
 def __init__(self, instrument, adc_number):
     ChannelRead.__init__(self)
     self._instrument = instrument
     self._adc_number = adc_number
     self._config += ['continous', 'integration_time']
Ejemplo n.º 13
0
 def __init__(self, instrument):
     self._instrument = instrument
     ChannelRead.__init__(self)
     self._unit = ''
     self._config += ['frequency', 'resolution', 'range', 'averagepoints',
                      'average_complete', 'autoscale']
Ejemplo n.º 14
0
 def __init__(self, instrument):
     ChannelRead.__init__(self)
     self._instrument = instrument
     self.unit = 'percent'
     self._config += ['fast']
Ejemplo n.º 15
0
 def __init__(self, instr, channel_attr):
     ChannelRead.__init__(self)
     self._instr = instr
     self._channel_attr = channel_attr
Ejemplo n.º 16
0
 def __init__(self, instrument, channel):
     ChannelRead.__init__(self)
     self._instrument = instrument
     self._channel = channel
     self._unit = 'volt'
     self._config += ['time_constant']
Ejemplo n.º 17
0
 def __init__(self, instrument, adc_number):
     ChannelRead.__init__(self)
     self._instrument = instrument
     self._adc_number = adc_number
     self._config += []
     self.size = 16384
Ejemplo n.º 18
0
 def __init__(self, instr, channel_attr):
     ChannelRead.__init__(self)
     self._instr = instr
     self._channel_attr = channel_attr
Ejemplo n.º 19
0
 def __init__(self, instrument):
     ChannelRead.__init__(self)
     self._instrument = instrument
     self._unit = 'steps'
Ejemplo n.º 20
0
 def __init__(self, instrument):
     ChannelRead.__init__(self)
     self._instrument = instrument
     self._unit = 'steps'
Ejemplo n.º 21
0
 def __init__(self, instrument, adc_number):
     ChannelRead.__init__(self)
     self._instrument = instrument
     self._adc_number = adc_number
     self._config += []
     self.size = 16384
Ejemplo n.º 22
0
    def __init__(self, index):
        ChannelRead.__init__(self)
        self._index = index

        self.name = 'foo_in'
        self.name = 'abu'