Skip to content

Connecting to Keysight DSOX1102G by Keysight in Python

Instrument Card

The DSOX1102G oscilloscope provides 70, 100 MHz of bandwidth on 2 analog channels, and waveform generator

Keysight DSOX1102G

Device Specification: here

Manufacturer card: KEYSIGHT

KEYSIGHT

Keysight Technologies, or Keysight, is an American company that manufactures electronics test and measurement equipment and software

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

Demo: Measure signal width and phase with a Tektronix oscilloscope

Connect to the Keysight DSOX1102G in Python

PROTOCOLS > SCPI

from pymeasure.adapters import VISAAdapter
from pymeasure.instruments import KeysightDSOX1102G
# Connect to the oscilloscope
adapter = VISAAdapter("USB0::0x0957::0x179B::MY44012345::INSTR")
oscilloscope = KeysightDSOX1102G(adapter)
# Perform some operations on the oscilloscope
oscilloscope.clear_status()
oscilloscope.autoscale()
ch1_data, ch1_preamble = oscilloscope.download_data(source="channel1", points=2000)
# Disconnect from the oscilloscope
oscilloscope.shutdown()

In this script, we first import the necessary modules from Pymeasure. We then create a VISAAdapter object to connect to the oscilloscope using its VISA address. Next, we create a KeysightDSOX1102G object using the adapter.

We can then perform various operations on the oscilloscope, such as clearing the status, autoscaling the channels, and downloading data from channel 1. Finally, we call the shutdown() method to disconnect from the oscilloscope.

Note: Make sure to replace the VISA address in the VISAAdapter constructor with the correct address for your oscilloscope.