Connecting to TDS510A by Tektronix in Python
Instrument Card
The TDS510A Digital Oscilloscope is a full-featured, cost-effective, versatile oscilloscope which meets the measurement requirements for general-purpose research and design. Its industry-preferred graphical user interface makes it easy to learn and efficient to use. The TDS510A advanced trigger capability allows the user to trigger and view signals in a wide variety of simple as well as complex design and analysis settings. With four channels, 50 K points per channel record length, and powerful waveform acquisition modes, the TDS510A can satisfy most complex design, debug, and analysis requirements.
Device Specification: here
Manufacturer card: TEKTRONIX
Tektronix, Inc., historically widely known as Tek, is an American company best known for manufacturing test and measurement devices such as oscilloscopes, logic analyzers, and video and mobile test protocol equipment.
- Headquarters: USA
- Yearly Revenue (millions, USD): 5800
- Vendor Website: here
Demo: Measure signal width and phase with a Tektronix oscilloscope
Connect to the TDS510A in Python
OSCILLOSCOPES > TEKTRONIX
PROTOCOLS > SCPI
from instrumentkit import tektronix
# Connect to the oscilloscopetek = tektronix.TekTDS5xx.open_tcpip('192.168.0.2', 8888)
# Access the channelschannel1 = tek.channel[0]channel2 = tek.channel[1]
# Set the scale of channel 1 to 1Vchannel1.scale = 1.0
# Set the scale of channel 2 to 500mVchannel2.scale = 0.5
# Read the waveform from channel 1x1, y1 = channel1.read_waveform()
# Read the waveform from channel 2x2, y2 = channel2.read_waveform()
# Print the first 10 points of the waveform from channel 1print(x1[:10])print(y1[:10])
# Print the first 10 points of the waveform from channel 2print(x2[:10])print(y2[:10])
# Disconnect from the oscilloscopetek.close()