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)[source]¶ Bases:
lantz.messagebased.MessageBasedDriverTektronix 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.
-
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 0x7fe1f4262c18>>, None)¶
-
acqparams_changed¶
-
autoconf= functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7fe1f42624e0>>, None)¶
-
autoconf_changed¶
-
curv= functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7fe1f4262da0>>, None)¶
-
curv_changed¶
-
dataencoding= functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7fe1f4262cc0>>, None)¶
-
dataencoding_changed¶
-
datasource= functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7fe1f4262b70>>, None)¶
-
datasource_changed¶
-
forcetrigger= functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7fe1f42629e8>>, None)¶
-
forcetrigger_changed¶
-
idn¶ IDN.
-
idn_changed¶
-
initialize_changed¶
-
measure_frequency= functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7fe1f4262e10>>, None)¶
-
measure_frequency_changed¶
-
measure_max= functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7fe1f425fc50>>, None)¶
-
measure_max_changed¶
-
measure_mean= functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7fe1f425fbe0>>, None)¶
-
measure_mean_changed¶
-
measure_min= functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7fe1f425f4e0>>, None)¶
-
measure_min_changed¶
-
trigger¶ Trigger state.
-
trigger_changed¶
-
triggerlevel= functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7fe1f4262978>>, None)¶
-
triggerlevel_changed¶
-
class
lantz.drivers.tektronix.TDS1002b(resource_name, name=None, **kwargs)[source]¶ Bases:
lantz.messagebased.MessageBasedDriverParameters: - 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)[source]¶ Bases:
lantz.messagebased.MessageBasedDriverTektronix 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.
-
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 0x7fe1f41c1518>>, None)¶
-
acquire_curve_changed¶
-
acquire_parameters= functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7fe1f41c1320>>, None)¶
-
acquire_parameters_changed¶
-
autocal= functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7fe1f41c10f0>>, None)¶
-
autocal_changed¶
-
autoset= functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7fe1f41c1048>>, None)¶
-
autoset_changed¶
-
data_setup= functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7fe1f41c1390>>, 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 0x7fe1f41c1588>>, 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 0x7fe1f41f5e80>>, None)¶
-
idn_changed¶
-
initiate= functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7fe1f41f5e10>>, 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: {‘AUTO’, ‘NORMAL’}
-
trigger_changed¶
-
triggerlevel= functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7fe1f41c1630>>, None)¶
-
triggerlevel_changed¶