Connecting to TDS2000 by Tektronix in Python
Instrument Card
The TDS1000 Series and TDS2000 Series digital storage oscilloscopes deliver an unbeatable combination of superior performance, unmatched ease-of-use, and affordability in an ultra lightweight, portable package.
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 TDS2000 in Python
OSCILLOSCOPES > TEKTRONIX
PROTOCOLS > SCPI
from pymeasure.adapters import VISAAdapterfrom pymeasure.instruments import Instrumentfrom pymeasure.instruments.tektronix import TDS2000
# Create a VISA adapteradapter = VISAAdapter("TCPIP::192.168.1.1::INSTR")
# Connect to the TDS2000 Oscilloscopescope = TDS2000(adapter)
# Perform measurementsscope.measurement.source = 'CH1'scope.measurement.type = 'FREQ'scope.measurement.unit = 'Hz'value = scope.measurement.value
# Disconnect from the instrumentscope.disconnect()
Explanation:
- Import the necessary modules from Pymeasure.
- Create a VISA adapter with the appropriate address for your TDS2000 Oscilloscope.
- Connect to the TDS2000 Oscilloscope using the adapter.
- Set the measurement source, type, and unit using the
scope.measurement
object. - Retrieve the measurement value using the
scope.measurement.value
property. - Disconnect from the instrument to release resources.