Connecting to R&S RTO1000 by Rohdes&Schwarz in Python
Instrument Card
With an acquisition memory of 400 Mpts per channel simultaneously for all four channels, the oscilloscope offers up to 100 times the memory depth of comparable devices as standard.
The R&S MXO 4 oscilloscopes offer the worldโs highest update rate of 4.5 million waveforms per second.
Device Specification: here
Manufacturer card: ROHDES&SCHWARZ
Rohde & Schwarz GmbH & Co KG is an international electronics group specializing in the fields of electronic test equipment, broadcast & media, cybersecurity, radiomonitoring and radiolocation, and radiocommunication.
- Headquarters: Munich, Germany
- Yearly Revenue (millions, USD): 2500
- Vendor Website: here
Demo: Measure signal width and phase with a Tektronix oscilloscope
Connect to the R&S RTO1000 in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
Here is an example Python script that uses Qcodes to connect to a R&S RTO1000 Oscilloscope:
import qcodes as qcfrom qcodes.instrument_drivers.rohde_schwarz.RTO1000 import RTO1000
# Connect to the oscilloscopeoscilloscope = RTO1000('oscilloscope', 'TCPIP0::192.168.0.1::inst0::INSTR')
# Print the IDN of the oscilloscopeprint(oscilloscope.IDN())
# Enable channel 1oscilloscope.ch1.state('ON')
# Set the timebase scale to 1 us/divoscilloscope.timebase_scale(1e-6)
# Set the trigger source to channel 1oscilloscope.trigger_source('CH1')
# Set the trigger level to 0 Voscilloscope.trigger_level(0)
# Acquire a single traceoscilloscope.run_single()
# Wait for the acquisition to completewhile not oscilloscope.is_acquiring(): pass
# Get the trace from channel 1trace = oscilloscope.ch1.trace()
# Plot the tracetrace.plot()
# Disconnect from the oscilloscopeoscilloscope.close()
Note: Replace 'TCPIP0::192.168.0.1::inst0::INSTR'
with the actual VISA resource address of your oscilloscope.