Connecting to DPO4104 by Tektronix in Python
Instrument Card
The DPO4104 Digital Phosphor Oscilloscope delivers the performance you need to visualize even your most demanding signals. With a 1 GHz Bandwidth and offering a minimum of 5x oversampling on all channels and si (x)/x interpolation standard, you can be confident that even the fastest transient events will be captured and displayed accurately. The standard 10 M record length on all channels enables you to capture long windows of signal activity while maintaining fine timing resolution.
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 DPO4104 in Python
OSCILLOSCOPES > TEKTRONIX
PROTOCOLS > SCPI
import instrumentkit
# Create a connection to the oscilloscopeoscilloscope = instrumentkit.connect('dpo4104', 'TCPIP::192.168.1.1::INSTR')
# Print the identification string of the oscilloscopeprint(oscilloscope.identification)
# Close the connection to the oscilloscopeoscilloscope.close()
In this script, we import the instrumentkit
module and create a connection to the DPO4104 Oscilloscope using the connect
function. The first argument to connect
is the instrument type, which in this case is 'dpo4104'
. The second argument is the connection string, which specifies the communication protocol and address of the oscilloscope. In this example, we use the TCPIP protocol with the IP address '192.168.1.1'
.
After establishing the connection, we can access various properties and methods of the oscilloscope. In this example, we print the identification string of the oscilloscope using the identification
property.
Finally, we close the connection to the oscilloscope using the close
method.
Note: Make sure to replace '192.168.1.1'
with the actual IP address of your oscilloscope.