Connecting to WavePro HD by Teledyne in Python
Instrument Card
WavePro HD High-Definition oscilloscopes employ unique Teledyne LeCroy HD4096 technology to achieve 12-bit resolution at up to 8 GHz bandwidth, for the lowest noise and unmatched signal fidelity. Up to 5 Gpt of highly responsive acquisition memory gives more visibility into system behavior, and the exceptional analysis toolbox enables deep insight.
Device Specification: here
Manufacturer card: 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 WavePro HD in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to a WavePro HD Oscilloscope using Instrumentkit, you can use the following code:
import instrumentkit as ik
# Connect to the oscilloscopeaddress = "TCPIP0::192.168.0.10::INSTR"oscilloscope = ik.teledyne.WaveProHD.open_visa(address)
# Perform operations on the oscilloscopeoscilloscope.run()print(oscilloscope.trigger_state)
# Set time per division to 20 nsoscilloscope.time_div = 20 * ik.units.ns
# Access the first channelchannel = oscilloscope.channel[0]channel.trace = Truechannel.coupling = channel.Coupling.dc50channel.scale = 1 * ik.units.V
# Read waveform from the channelxdat, ydat = channel.read_waveform()
# Close the connection to the oscilloscopeoscilloscope.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 operations on the oscilloscope, such as reading the waveform from a channel. Finally, it closes the connection to the oscilloscope.
Note: Make sure to replace “TCPIP0::192.168.0.10::INSTR” with the actual IP address of your WavePro HD Oscilloscope.