lantz.drivers.tektronix

company:Tektronix.
description:Test and Measurement Equipment.
website:http://www.tek.com/

copyright:2015 by Lantz Authors, see AUTHORS for more details.
license:BSD,
class lantz.drivers.tektronix.TDS2024(resource_name, name=None, **kwargs)

Bases: lantz.messagebased.MessageBasedDriver

Tektronix TDS2024 200 MHz 4 Channel Digital Real-Time Oscilloscope

Parameters:
  • resource_name (str) – The resource name
  • kwargs – keyword arguments passed to the resource during initialization.
Params name:

easy to remember identifier given to the instance for logging purposes.

acqparams_async(*args, **kwargs)

(Async) X/Y Increment Origin and Offset.

autoconf_async(*args, **kwargs)

(Async) Autoconfig oscilloscope.

curv_async(*args, **kwargs)

(Async) Get data.

Returns: xdata, data as list

dataencoding_async(*args, **kwargs)

(Async) Set data encoding.

datasource_async(*args, **kwargs)

(Async) Selects channel.

forcetrigger_async(*args, **kwargs)

(Async) Force trigger event.

initialize()

initiate.

measure_frequency_async(*args, **kwargs)

(Async) Get immediate measurement result.

measure_max_async(*args, **kwargs)

(Async) Get immediate measurement result.

measure_mean_async(*args, **kwargs)

(Async) Get immediate measurement result.

measure_min_async(*args, **kwargs)

(Async) Get immediate measurement result.

triggerlevel_async(*args, **kwargs)

(Async) Set trigger level to 50% of the minimum adn maximum values of the signal.

MANUFACTURER_ID = '0x699'
MANUFACTURER_ID_changed
acqparams = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d4fe5f3c8>>, None)
acqparams_changed
autoconf = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d4fe57048>>, None)
autoconf_changed
curv = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d4fe5f550>>, None)
curv_changed
dataencoding = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d4fe5f470>>, None)
dataencoding_changed
datasource = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d4fe5f320>>, None)
datasource_changed
forcetrigger = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d4fe5f198>>, None)
forcetrigger_changed
idn

IDN.

idn_changed
initialize_changed
measure_frequency = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d4fe5f5c0>>, None)
measure_frequency_changed
measure_max = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d4fe5f710>>, None)
measure_max_changed
measure_mean = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d4fe5f7b8>>, None)
measure_mean_changed
measure_min = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d4fe5f6a0>>, None)
measure_min_changed
trigger

Trigger state.

trigger_changed
triggerlevel = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d4fe5f128>>, None)
triggerlevel_changed
class lantz.drivers.tektronix.TDS1002b(resource_name, name=None, **kwargs)

Bases: lantz.messagebased.MessageBasedDriver

Parameters:
  • resource_name (str) – The resource name
  • kwargs – keyword arguments passed to the resource during initialization.
Params name:

easy to remember identifier given to the instance for logging purposes.

MANUFACTURER_ID = '0x699'
MANUFACTURER_ID_changed
MODEL_CODE = '0x363'
MODEL_CODE_changed
idn
idn_changed
class lantz.drivers.tektronix.TDS1012(resource_name, name=None, **kwargs)

Bases: lantz.messagebased.MessageBasedDriver

Tektronix TDS1012 100MHz 2 Channel Digital Storage Oscilloscope

Parameters:
  • resource_name (str) – The resource name
  • kwargs – keyword arguments passed to the resource during initialization.
Params name:

easy to remember identifier given to the instance for logging purposes.

acquire_curve_async(*args, **kwargs)

(Async) Gets data from the oscilloscope. It accepts setting the start and stop points of the acquisition (by default the entire range).

acquire_parameters_async(*args, **kwargs)

(Async) Acquire parameters of the osciloscope. It is intended for adjusting the values obtained in acquire_curve

autocal_async(*args, **kwargs)

(Async) Autocalibration of osciloscope. It may take several minutes to complete

autoset_async(*args, **kwargs)

(Async) Adjust the vertical, horizontal and trigger controls to display a stable waveform.

data_setup_async(*args, **kwargs)

(Async) Sets the way data is going to be encoded for sending.

forcetrigger_async(*args, **kwargs)

(Async) Creates a trigger event.

idn_async(*args, **kwargs)

(Async) Identify the Osciloscope

initiate_async(*args, **kwargs)

(Async) Initiates the acquisition in the osciloscope.

measure_frequency()

Gets the frequency of the signal.

measure_maximum()

Gets the mean of the signal.

measure_mean()

Gets the mean of the signal.

measure_minimum()

Gets the minimum of the signal.

triggerlevel_async(*args, **kwargs)

(Async) Sets the trigger level to 50% of the minimum and maximum values of the signal.

MANUFACTURER_ID = '0x699'
MANUFACTURER_ID_changed
acquire_curve = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d4fdc5128>>, None)
acquire_curve_changed
acquire_parameters = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d4fdc2ef0>>, None)
acquire_parameters_changed
autocal = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d4fdc2cc0>>, None)
autocal_changed
autoset = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d4fdc2c18>>, None)
autoset_changed
data_setup = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d4fdc2f60>>, None)
data_setup_changed
datasource
Retrieves the data source from which data is going to be taken.
TDS1012 has 2 channels
Limits:(1, 2)
datasource_changed
forcetrigger = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d4fdc5198>>, None)
forcetrigger_changed
horizontal_division

Horizontal time base division.

horizontal_division_changed
idn = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d4fdc2a90>>, None)
idn_changed
initiate = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d4fdc2a20>>, None)
initiate_changed
measure_frequency_changed
measure_maximum_changed
measure_mean_changed
measure_minimum_changed
number_averages

Number of averages

Values:{128, 64, 16, 0, 4}
number_averages_changed
trigger

Retrieves trigger state.

Values:{‘NORMAL’, ‘AUTO’}
trigger_changed
triggerlevel = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d4fdc5240>>, None)
triggerlevel_changed