Tektronix Oscilloscope

A device for controlling Tektronix oscilloscopes using the standard VISA interface.

labscript_devices.TekScope.blacs_tabs

labscript_devices.TekScope.TekScope

Installation

This wrapper requires PyVISA and a compatible VISA installation. Free versions are provided by NI and Keysight (NI preferred if already using NI DAQs).

Detailed Documentation

class labscript_devices.TekScope.blacs_tabs.TekScopeTab(notebook, settings, restart=False)[source]

Bases: blacs.device_base_class.DeviceTab

initialise_GUI()[source]
initialise_workers()[source]
class labscript_devices.TekScope.TekScope.TekScope(addr='USB?*::INSTR', timeout=1, termination='\n')[source]

Bases: object

channels(all=True)[source]

Return a dictionary of the channels supported by this scope and whether they are currently displayed. Includes REF and MATH channels if applicable. If “all” is False, only visible channels are returned

close()[source]
get_acquire_state()[source]
get_screenshot(verbose=False)[source]
lock(verbose=False)[source]
save_screenshot(filepath, verbose=False)[source]
set_acquire_state(running=True)[source]
set_date_time(verbose=False)[source]
unlock(verbose=False)[source]
waveform(channel='CH1', preamble_string='WFMO', int16=False)[source]

Download the waveform of the specified channel from the oscilloscope. All acquired points are downloaded, as set by the ‘Record length’ setting in the ‘Acquisition’ menu. A dictionary of waveform formatting parameters is returned in addition to the times and values.