Skip to content

Connecting to WaveSurfer 510 by Teledyne in Python

Instrument Card

The WaveSurfer 510 combines the MAUI with OneTouch user interface with powerful waveform processing, in addition to advanced math, measurement, and debug tools, to quickly analyze and find the root cause of problems. The 12.1” touch-screen display of the WaveSurfer 510 is the largest in its class and makes viewing waveform abnormalities fast and easy.

WaveSurfer 510

Device Specification: here

Manufacturer card: TELEDYNE

TELEDYNE

Teledyne LeCroy is an American manufacturer of oscilloscopes, protocol analyzers and other test equipment. LeCroy is now a subsidiary of Teledyne Technologies.

  • Headquarters: USA
  • Yearly Revenue (millions, USD): 5458.6
  • Vendor Website: here

Demo: Measure signal width and phase with a Tektronix oscilloscope

Connect to the WaveSurfer 510 in Python

PROTOCOLS > SCPI

To connect to a WaveSurfer 510 Oscilloscope using Instrumentkit, you can use the following code:

import instrumentkit as ik
# Connect to the oscilloscope
oscilloscope = ik.teledyne.MAUI.open_visa("TCPIP0::192.168.0.10::INSTR")
# Perform operations on the oscilloscope
# For example, you can set the time division
oscilloscope.time_div = 200e-9
# You can also access and control the channels
channel = oscilloscope.channel[0]
channel.trace = True
channel.coupling = channel.Coupling.dc50
channel.scale = 1.0
# Read a waveform from the channel
xdat, ydat = channel.read_waveform()
# Perform other operations as needed
# Close the connection to the oscilloscope
oscilloscope.close()

This code connects to the oscilloscope at the specified IP address (β€œTCPIP0::192.168.0.10::INSTR”) using the VISA protocol. It then performs various operations on the oscilloscope, such as setting the time division, accessing and controlling the channels, and reading a waveform from a channel. Finally, it closes the connection to the oscilloscope.