Tektronix

TekAWG2000 Arbitrary Wave Generator

class instruments.tektronix.TekAWG2000(filelike)

Communicates with a Tektronix AWG2000 series instrument using the SCPI commands documented in the user’s guide.

class Channel(tek, idx)

Class representing a physical channel on the Tektronix AWG 2000

Warning

This class should NOT be manually created by the user. It

is designed to be initialized by the TekAWG2000 class.

amplitude

Gets/sets the amplitude of the specified channel.

Units:As specified (if a Quantity) or assumed to be of units Volts.
Type:Quantity with units Volts peak-to-peak.
frequency

Gets/sets the frequency of the specified channel when using the built-in function generator.

::units: As specified (if a Quantity) or assumed to be
of units Hertz.
Type:Quantity with units Hertz.
name

Gets the name of this AWG channel

Type:str
offset

Gets/sets the offset of the specified channel.

Units:As specified (if a Quantity) or assumed to be of units Volts.
Type:Quantity with units Volts.
polarity

Gets/sets the polarity of the specified channel.

Type:TekAWG2000.Polarity
shape

Gets/sets the waveform shape of the specified channel. The AWG will use the internal function generator for these shapes.

Type:TekAWG2000.Shape
class TekAWG2000.Polarity

Enum containing valid polarity modes for the AWG2000

inverted = <Polarity.inverted: 'INVERTED'>
normal = <Polarity.normal: 'NORMAL'>
class TekAWG2000.Shape

Enum containing valid waveform shape modes for hte AWG2000

pulse = <Shape.pulse: 'PULSE'>
ramp = <Shape.ramp: 'RAMP'>
sine = <Shape.sine: 'SINUSOID'>
square = <Shape.square: 'SQUARE'>
triangle = <Shape.triangle: 'TRIANGLE'>
TekAWG2000.upload_waveform(yzero, ymult, xincr, waveform)

Uploads a waveform from the PC to the instrument.

Parameters:
  • yzero (float or int) – Y-axis origin offset
  • ymult (float or int) – Y-axis data point multiplier
  • xincr (float or int) – X-axis data point increment
  • waveform (numpy.ndarray) – Numpy array of values representing the waveform to be uploaded. This array should be normalized. This means that all absolute values contained within the array should not exceed 1.
TekAWG2000.channel

Gets a specific channel on the AWG2000. The desired channel is accessed like one would access a list.

Example usage:

>>> import instruments as ik
>>> inst = ik.tektronix.TekAWG2000.open_gpibusb("/dev/ttyUSB0", 1)
>>> print(inst.channel[0].frequency)
Returns:A channel object for the AWG2000
Return type:TekAWG2000.Channel
TekAWG2000.waveform_name

Gets/sets the destination waveform name for upload.

This is the file name that will be used on the AWG for any following waveform data that is uploaded.

Type:str

TekDPO4104 Oscilloscope

class instruments.tektronix.TekDPO4104(filelike)

The Tektronix DPO4104 is a multi-channel oscilloscope with analog bandwidths ranging from 100MHz to 1GHz.

This class inherits from SCPIInstrument.

Example usage:

>>> import instruments as ik
>>> tek = ik.tektronix.TekDPO4104.open_tcpip("192.168.0.2", 8888)
>>> [x, y] = tek.channel[0].read_waveform()
class Coupling

Enum containing valid coupling modes for the channels on the Tektronix DPO 4104

ac = <Coupling.ac: 'AC'>
dc = <Coupling.dc: 'DC'>
ground = <Coupling.ground: 'GND'>
TekDPO4104.force_trigger()

Forces a trigger event to occur on the attached oscilloscope. Note that this is distinct from the standard SCPI *TRG functionality.

TekDPO4104.aquisition_continuous

Gets/sets whether the aquisition is continuous (“run/stop mode”) or whether aquisiton halts after the next sequence (“single mode”).

Type:bool
TekDPO4104.aquisition_length

Gets/sets the aquisition length of the oscilloscope

Type:int
TekDPO4104.aquisition_running

Gets/sets the aquisition state of the attached instrument. This property is True if the aquisition is running, and is False otherwise.

Type:bool
TekDPO4104.channel

Gets a specific oscilloscope channel object. The desired channel is specified like one would access a list.

For instance, this would transfer the waveform from the first channel:

>>> tek = ik.tektronix.TekDPO4104.open_tcpip("192.168.0.2", 8888)
>>> [x, y] = tek.channel[0].read_waveform()
Return type:_TekDPO4104Channel
TekDPO4104.data_source

Gets/sets the the data source for waveform transfer.

TekDPO4104.data_width

Gets/sets the data width (number of bytes wide per data point) for waveforms transfered to/from the oscilloscope.

Valid widths are 1 or 2.

Type:int
TekDPO4104.math

Gets a data source object corresponding to the MATH channel.

Return type:_TekDPO4104DataSource
TekDPO4104.ref

Gets a specific oscilloscope reference channel object. The desired channel is specified like one would access a list.

For instance, this would transfer the waveform from the first channel:

>>> import instruments as ik
>>> tek = ik.tektronix.TekDPO4104.open_tcpip("192.168.0.2", 8888)
>>> [x, y] = tek.ref[0].read_waveform()
Return type:_TekDPO4104DataSource
TekDPO4104.y_offset

Gets/sets the Y offset of the currently selected data source.

class instruments.tektronix._TekDPO4104DataSource(tek, name)

Class representing a data source (channel, math, or ref) on the Tektronix DPO 4104.

Warning

This class should NOT be manually created by the user. It is designed to be initialized by the TekDPO4104 class.

read_waveform(bin_format=True)

Read waveform from the oscilloscope. This function is all inclusive. After reading the data from the oscilloscope, it unpacks the data and scales it accordingly. Supports both ASCII and binary waveform transfer.

Function returns a tuple (x,y), where both x and y are numpy arrays.

Parameters:bin_format (bool) – If True, data is transfered in a binary format. Otherwise, data is transferred in ASCII.
name

Gets the name of this data source, as identified over SCPI.

Type:str
y_offset
class instruments.tektronix._TekDPO4104Channel(parent, idx)

Class representing a channel on the Tektronix DPO 4104.

This class inherits from _TekDPO4104DataSource.

Warning

This class should NOT be manually created by the user. It is designed to be initialized by the TekDPO4104 class.

coupling

Gets/sets the coupling setting for this channel.

Type:TekDPO4104.Coupling

TekDPO70000 Oscilloscope

class instruments.tektronix.TekDPO70000(filelike)

The Tektronix DPO70000 series is a multi-channel oscilloscope with analog bandwidths ranging up to 33GHz.

This class inherits from SCPIInstrument.

Example usage:

>>> import instruments as ik
>>> tek = ik.tektronix.TekDPO70000.open_tcpip("192.168.0.2", 8888)
>>> [x, y] = tek.channel[0].read_waveform()
class AcquisitionMode

Enum containing valid acquisition modes for the Tektronix 70000 series oscilloscopes.

average = <AcquisitionMode.average: 'AVE'>
envelope = <AcquisitionMode.envelope: 'ENV'>
hi_res = <AcquisitionMode.hi_res: 'HIR'>
peak_detect = <AcquisitionMode.peak_detect: 'PEAK'>
sample = <AcquisitionMode.sample: 'SAM'>
waveform_db = <AcquisitionMode.waveform_db: 'WFMDB'>
class TekDPO70000.AcquisitionState

Enum containing valid acquisition states for the Tektronix 70000 series oscilloscopes.

off = <AcquisitionState.off: 'OFF'>
on = <AcquisitionState.on: 'ON'>
run = <AcquisitionState.run: 'RUN'>
stop = <AcquisitionState.stop: 'STOP'>
class TekDPO70000.BinaryFormat

Enum containing valid binary formats for the Tektronix 70000 series oscilloscopes (int, unsigned-int, floating-point).

float = <BinaryFormat.float: 'FP'>
int = <BinaryFormat.int: 'RI'>
uint = <BinaryFormat.uint: 'RP'>
class TekDPO70000.ByteOrder

Enum containing valid byte order (big-/little-endian) for the Tektronix 70000 series oscilloscopes.

big_endian = <ByteOrder.big_endian: 'MSB'>
little_endian = <ByteOrder.little_endian: 'LSB'>
class TekDPO70000.Channel(parent, idx)

Class representing a channel on the Tektronix DPO 70000.

This class inherits from TekDPO70000.DataSource.

Warning

This class should NOT be manually created by the user. It is designed to be initialized by the TekDPO70000 class.

class Coupling

Enum containing valid coupling modes for the oscilloscope channel

ac = <Coupling.ac: 'AC'>
dc = <Coupling.dc: 'DC'>
dc_reject = <Coupling.dc_reject: 'DCREJ'>
ground = <Coupling.ground: 'GND'>
TekDPO70000.Channel.query(cmd, size=-1)

Wraps queries sent from property factories in this class with identifiers for the specified channel.

Parameters:
  • cmd (str) – Query command to send to the instrument
  • size (int) – Number of characters to read from the response. Default value reads until a termination character is found.
Returns:

The query response

Return type:

str

TekDPO70000.Channel.sendcmd(cmd)

Wraps commands sent from property factories in this class with identifiers for the specified channel.

Parameters:cmd (str) – Command to send to the instrument
TekDPO70000.Channel.bandwidth
TekDPO70000.Channel.coupling

Gets/sets the coupling for the specified channel.

Example usage:

>>> import instruments as ik
>>> inst = ik.tektronix.TekDPO70000.open_tcpip("192.168.0.1", 8080)
>>> channel = inst.channel[0]
>>> channel.coupling = channel.Coupling.ac
TekDPO70000.Channel.deskew
TekDPO70000.Channel.label

Just a human readable label for the channel.

TekDPO70000.Channel.label_xpos

The x position, in divisions, to place the label.

TekDPO70000.Channel.label_ypos

The y position, in divisions, to place the label.

TekDPO70000.Channel.offset

The vertical offset in units of volts. Voltage is given by offset+scale*(5*raw/2^15 - position).

TekDPO70000.Channel.position

The vertical position, in divisions from the center graticule, ranging from -8 to 8. Voltage is given by offset+scale*(5*raw/2^15 - position).

TekDPO70000.Channel.scale

Vertical channel scale in units volts/division. Voltage is given by offset+scale*(5*raw/2^15 - position).

TekDPO70000.Channel.termination
class TekDPO70000.DataSource(parent, name)

Class representing a data source (channel, math, or ref) on the Tektronix DPO 70000.

Warning

This class should NOT be manually created by the user. It is designed to be initialized by the TekDPO70000 class.

read_waveform(bin_format=True)
name
class TekDPO70000.HorizontalMode

Enum containing valid horizontal scan modes for the Tektronix 70000 series oscilloscopes.

auto = <HorizontalMode.auto: 'AUTO'>
constant = <HorizontalMode.constant: 'CONST'>
manual = <HorizontalMode.manual: 'MAN'>
class TekDPO70000.Math(parent, idx)

Class representing a math channel on the Tektronix DPO 70000.

This class inherits from TekDPO70000.DataSource.

Warning

This class should NOT be manually created by the user. It is designed to be initialized by the TekDPO70000 class.

class FilterMode

Enum containing valid filter modes for a math channel on the TekDPO70000 series oscilloscope.

centered = <FilterMode.centered: 'CENT'>
shifted = <FilterMode.shifted: 'SHIF'>
class TekDPO70000.Math.Mag

Enum containing valid amplitude units for a math channel on the TekDPO70000 series oscilloscope.

db = <Mag.db: 'DB'>
dbm = <Mag.dbm: 'DBM'>
linear = <Mag.linear: 'LINEA'>
class TekDPO70000.Math.Phase

Enum containing valid phase units for a math channel on the TekDPO70000 series oscilloscope.

degrees = <Phase.degrees: 'DEG'>
group_delay = <Phase.group_delay: 'GROUPD'>
radians = <Phase.radians: 'RAD'>
class TekDPO70000.Math.SpectralWindow

Enum containing valid spectral windows for a math channel on the TekDPO70000 series oscilloscope.

blackman_harris = <SpectralWindow.blackman_harris: 'BLACKMANH'>
flattop2 = <SpectralWindow.flattop2: 'FLATTOP2'>
gaussian = <SpectralWindow.gaussian: 'GAUSS'>
hamming = <SpectralWindow.hamming: 'HAMM'>
hanning = <SpectralWindow.hanning: 'HANN'>
kaiser_besse = <SpectralWindow.kaiser_besse: 'KAISERB'>
rectangular = <SpectralWindow.rectangular: 'RECTANG'>
tek_exponential = <SpectralWindow.tek_exponential: 'TEKEXP'>
TekDPO70000.Math.query(cmd, size=-1)

Wraps queries sent from property factories in this class with identifiers for the specified math channel.

Parameters:
  • cmd (str) – Query command to send to the instrument
  • size (int) – Number of characters to read from the response. Default value reads until a termination character is found.
Returns:

The query response

Return type:

str

TekDPO70000.Math.sendcmd(cmd)

Wraps commands sent from property factories in this class with identifiers for the specified math channel.

Parameters:cmd (str) – Command to send to the instrument
TekDPO70000.Math.autoscale

Enables or disables the auto-scaling of new math waveforms.

TekDPO70000.Math.define

A text string specifying the math to do, ex. CH1+CH2

TekDPO70000.Math.filter_mode
TekDPO70000.Math.filter_risetime
TekDPO70000.Math.label

Just a human readable label for the channel.

TekDPO70000.Math.label_xpos

The x position, in divisions, to place the label.

TekDPO70000.Math.label_ypos

The y position, in divisions, to place the label.

TekDPO70000.Math.num_avg

The number of acquisistions over which exponential averaging is performed.

TekDPO70000.Math.position

The vertical position, in divisions from the center graticule.

TekDPO70000.Math.scale

The scale in volts per division. The range is from 100e-36 to 100e+36.

TekDPO70000.Math.spectral_center

The desired frequency of the spectral analyzer output data span in Hz.

TekDPO70000.Math.spectral_gatepos

The gate position. Units are represented in seconds, with respect to trigger position.

TekDPO70000.Math.spectral_gatewidth

The time across the 10-division screen in seconds.

TekDPO70000.Math.spectral_lock
TekDPO70000.Math.spectral_mag

Whether the spectral magnitude is linear, db, or dbm.

TekDPO70000.Math.spectral_phase

Whether the spectral phase is degrees, radians, or group delay.

TekDPO70000.Math.spectral_reflevel

The value that represents the topmost display screen graticule. The units depend on spectral_mag.

TekDPO70000.Math.spectral_reflevel_offset
TekDPO70000.Math.spectral_resolution_bandwidth

The desired resolution bandwidth value. Units are represented in Hertz.

TekDPO70000.Math.spectral_span

Specifies the frequency span of the output data vector from the spectral analyzer.

TekDPO70000.Math.spectral_suppress

The magnitude level that data with magnitude values below this value are displayed as zero phase.

TekDPO70000.Math.spectral_unwrap

Enables or disables phase wrapping.

TekDPO70000.Math.spectral_window
TekDPO70000.Math.threshhold

The math threshhold in volts

TekDPO70000.Math.unit_string

Just a label for the units...doesn”t actually change anything.

class TekDPO70000.SamplingMode

Enum containing valid sampling modes for the Tektronix 70000 series oscilloscopes.

equivalent_time_allowed = <SamplingMode.equivalent_time_allowed: 'ET'>
interpolation_allowed = <SamplingMode.interpolation_allowed: 'IT'>
real_time = <SamplingMode.real_time: 'RT'>
class TekDPO70000.StopAfter

Enum containing valid stop condition modes for the Tektronix 70000 series oscilloscopes.

run_stop = <StopAfter.run_stop: 'RUNST'>
sequence = <StopAfter.sequence: 'SEQ'>
class TekDPO70000.TriggerState

Enum containing valid trigger states for the Tektronix 70000 series oscilloscopes.

armed = <TriggerState.armed: 'ARMED'>
auto = <TriggerState.auto: 'AUTO'>
dpo = <TriggerState.dpo: 'DPO'>
partial = <TriggerState.partial: 'PARTIAL'>
ready = <TriggerState.ready: 'READY'>
class TekDPO70000.WaveformEncoding

Enum containing valid waveform encoding modes for the Tektronix 70000 series oscilloscopes.

ascii = <WaveformEncoding.ascii: 'ASCII'>
binary = <WaveformEncoding.binary: 'BINARY'>
TekDPO70000.force_trigger()

Forces a trigger event to happen for the oscilloscope.

TekDPO70000.run()

Enables the trigger for the oscilloscope.

TekDPO70000.select_fastest_encoding()

Sets the encoding for data returned by this instrument to be the fastest encoding method consistent with the current data source.

TekDPO70000.stop()

Disables the trigger for the oscilloscope.

TekDPO70000.HOR_DIVS = 10
TekDPO70000.VERT_DIVS = 10
TekDPO70000.acquire_enhanced_enob

Valid values are AUTO and OFF.

TekDPO70000.acquire_enhanced_state
TekDPO70000.acquire_interp_8bit

Valid values are AUTO, ON and OFF.

TekDPO70000.acquire_magnivu
TekDPO70000.acquire_mode
TekDPO70000.acquire_mode_actual
TekDPO70000.acquire_num_acquisitions

The number of waveform acquisitions that have occurred since starting acquisition with the ACQuire:STATE RUN command

TekDPO70000.acquire_num_avgs

The number of waveform acquisitions to average.

TekDPO70000.acquire_num_envelop

The number of waveform acquisitions to be enveloped

TekDPO70000.acquire_num_frames

The number of frames acquired when in FastFrame Single Sequence and acquisitions are running.

TekDPO70000.acquire_num_samples

The minimum number of acquired samples that make up a waveform database (WfmDB) waveform for single sequence mode and Mask Pass/Fail Completion Test. The default value is 16,000 samples. The range is 5,000 to 2,147,400,000 samples.

TekDPO70000.acquire_sampling_mode
TekDPO70000.acquire_state

This command starts or stops acquisitions.

TekDPO70000.acquire_stop_after

This command sets or queries whether the instrument continually acquires acquisitions or acquires a single sequence.

TekDPO70000.channel
TekDPO70000.data_framestart
TekDPO70000.data_framestop
TekDPO70000.data_source

Gets/sets the data source for the oscilloscope. This will return the actual Channel/Math/DataSource object as if it was accessed through the usual TekDPO70000.channel, TekDPO70000.math, or TekDPO70000.ref properties.

Type:TekDPO70000.Channel or TekDPO70000.Math
TekDPO70000.data_start

The first data point that will be transferred, which ranges from 1 to the record length.

TekDPO70000.data_stop

The last data point that will be transferred.

TekDPO70000.data_sync_sources
TekDPO70000.horiz_acq_duration

The duration of the acquisition.

TekDPO70000.horiz_acq_length

The record length.

TekDPO70000.horiz_delay_mode
TekDPO70000.horiz_delay_pos

The percentage of the waveform that is displayed left of the center graticule.

TekDPO70000.horiz_delay_time

The base trigger delay time setting.

TekDPO70000.horiz_interp_ratio

The ratio of interpolated points to measured points.

TekDPO70000.horiz_main_pos

The percentage of the waveform that is displayed left of the center graticule.

TekDPO70000.horiz_mode
TekDPO70000.horiz_pos

The position of the trigger point on the screen, left is 0%, right is 100%.

TekDPO70000.horiz_record_length

The recond length in samples. See horiz_mode; manual mode lets you change the record length, while the length is readonly for auto and constant mode.

TekDPO70000.horiz_record_length_lim

The recond length limit in samples.

TekDPO70000.horiz_roll

Valid arguments are AUTO, OFF, and ON.

TekDPO70000.horiz_sample_rate

The sample rate in samples per second.

TekDPO70000.horiz_scale

The horizontal scale in seconds per division. The horizontal scale is readonly when horiz_mode is manual.

TekDPO70000.horiz_unit
TekDPO70000.math
TekDPO70000.outgoing_binary_format

Controls the data type of samples when transferring waveforms from the instrument to the host using binary encoding.

TekDPO70000.outgoing_byte_order

Controls whether binary data is returned in little or big endian.

TekDPO70000.outgoing_n_bytes

The number of bytes per sample used in representing outgoing waveforms in binary encodings.

Must be either 1, 2, 4 or 8.

TekDPO70000.outgoing_waveform_encoding

Controls the encoding used for outgoing waveforms (instrument → host).

TekDPO70000.ref
TekDPO70000.trigger_state

TekTDS224 Oscilloscope

class instruments.tektronix.TekTDS224(filelike)

The Tektronix TDS224 is a multi-channel oscilloscope with analog bandwidths of 100MHz.

This class inherits from SCPIInstrument.

Example usage:

>>> import instruments as ik
>>> tek = ik.tektronix.TekTDS224.open_gpibusb("/dev/ttyUSB0", 1)
>>> [x, y] = tek.channel[0].read_waveform()
class Coupling

Enum containing valid coupling modes for the Tek TDS224

ac = <Coupling.ac: 'AC'>
dc = <Coupling.dc: 'DC'>
ground = <Coupling.ground: 'GND'>
TekTDS224.channel

Gets a specific oscilloscope channel object. The desired channel is specified like one would access a list.

For instance, this would transfer the waveform from the first channel:

>>> import instruments as ik
>>> tek = ik.tektronix.TekTDS224.open_tcpip('192.168.0.2', 8888)
>>> [x, y] = tek.channel[0].read_waveform()
Return type:_TekTDS224Channel
TekTDS224.data_source

Gets/sets the the data source for waveform transfer.

TekTDS224.data_width

Gets/sets the byte-width of the data points being returned by the instrument. Valid widths are 1 or 2.

Type:int
TekTDS224.force_trigger
TekTDS224.math

Gets a data source object corresponding to the MATH channel.

Return type:_TekTDS224DataSource
TekTDS224.ref

Gets a specific oscilloscope reference channel object. The desired channel is specified like one would access a list.

For instance, this would transfer the waveform from the first channel:

>>> import instruments as ik
>>> tek = ik.tektronix.TekTDS224.open_tcpip('192.168.0.2', 8888)
>>> [x, y] = tek.ref[0].read_waveform()
Return type:_TekTDS224DataSource

TekTDS5xx Oscilloscope

class instruments.tektronix.TekTDS5xx(filelike)
Support for the TDS5xx series of oscilloscopes
Implemented from:
TDS Family Digitizing Oscilloscopes
(TDS 410A, 420A, 460A, 520A, 524A, 540A, 544A,
620A, 640A, 644A, 684A, 744A & 784A)
Tektronix Document: 070-8709-07
class Bandwidth

Bandwidth in MHz

FULL = <Bandwidth.FULL: 'FUL'>
OneHundred = <Bandwidth.OneHundred: 'HUN'>
Twenty = <Bandwidth.Twenty: 'TWE'>
TwoHundred = <Bandwidth.TwoHundred: 'TWO'>
class TekTDS5xx.Coupling

Available coupling options for input sources and trigger

ac = <Coupling.ac: 'AC'>
dc = <Coupling.dc: 'DC'>
ground = <Coupling.ground: 'GND'>
class TekTDS5xx.Edge

Available Options for trigger slope

Falling = <Edge.Falling: 'FALL'>
Rising = <Edge.Rising: 'RIS'>
class TekTDS5xx.Impedance

Available options for input source impedance

Fifty = <Impedance.Fifty: 'FIF'>
OneMeg = <Impedance.OneMeg: 'MEG'>
class TekTDS5xx.Source

Available Data sources

CH1 = <Source.CH1: 'CH1'>
CH2 = <Source.CH2: 'CH2'>
CH3 = <Source.CH3: 'CH3'>
CH4 = <Source.CH4: 'CH4'>
Math1 = <Source.Math1: 'MATH1'>
Math2 = <Source.Math2: 'MATH2'>
Math3 = <Source.Math3: 'MATH3'>
Ref1 = <Source.Ref1: 'REF1'>
Ref2 = <Source.Ref2: 'REF2'>
Ref3 = <Source.Ref3: 'REF3'>
Ref4 = <Source.Ref4: 'REF4'>
class TekTDS5xx.Trigger

Available Trigger sources (AUX not Available on TDS520A/TDS540A)

AUX = <Trigger.AUX: 'AUX'>
CH1 = <Trigger.CH1: 'CH1'>
CH2 = <Trigger.CH2: 'CH2'>
CH3 = <Trigger.CH3: 'CH3'>
CH4 = <Trigger.CH4: 'CH4'>
LINE = <Trigger.LINE: 'LINE'>
TekTDS5xx.get_hardcopy()

Gets a screenshot of the display

Return type:string
TekTDS5xx.channel

Gets a specific oscilloscope channel object. The desired channel is specified like one would access a list.

For instance, this would transfer the waveform from the first channel:

>>> tek = ik.tektronix.TekTDS5xx.open_tcpip('192.168.0.2', 8888)
>>> [x, y] = tek.channel[0].read_waveform()
Return type:_TekTDS5xxChannel
TekTDS5xx.clock

Get/Set oscilloscope clock

Type:datetime.datetime
TekTDS5xx.data_source

Gets/sets the the data source for waveform transfer.

Type:TekTDS5xx.Source or _TekTDS5xxDataSource
Return type:‘_TekTDS5xxDataSource`
TekTDS5xx.data_width

Gets/Sets the data width for waveform transfers

Type:int
TekTDS5xx.display_clock

Get/Set the visibility of clock on the display

Type:bool
TekTDS5xx.force_trigger
TekTDS5xx.horizontal_scale

Get/Set Horizontal Scale

Type:float
TekTDS5xx.math

Gets a data source object corresponding to the MATH channel.

Return type:_TekTDS5xxDataSource
TekTDS5xx.measurement

Gets a specific oscilloscope measurement object. The desired channel is specified like one would access a list.

Return type:_TDS5xxMeasurement
TekTDS5xx.ref

Gets a specific oscilloscope reference channel object. The desired channel is specified like one would access a list.

For instance, this would transfer the waveform from the first channel:

>>> tek = ik.tektronix.TekTDS5xx.open_tcpip('192.168.0.2', 8888)
>>> [x, y] = tek.ref[0].read_waveform()
Return type:_TekTDS5xxDataSource
TekTDS5xx.sources

Returns list of all active sources

Return type:list
TekTDS5xx.trigger_coupling

Get/Set trigger coupling

Type:TekTDS5xx.Coupling
TekTDS5xx.trigger_level

Get/Set trigger level

Type:float
TekTDS5xx.trigger_slope

Get/Set trigger slope

Type:TekTDS5xx.Edge
TekTDS5xx.trigger_source

Get/Set trigger source

Type:TekTDS5xx.Trigger