Skip to content

Connecting to Keysight 8753D by HP in Python

Instrument Card

8753D Network Analyzer, 30 kHz to 3 GHz

Keysight 8753D

Device Specification: here

Manufacturer card: HP

HP

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

Connect to the Keysight 8753D in Python

PROTOCOLS > SCPI

Here is a Python script that uses Qcodes to connect to a Keysight 8753D Network Analyzer:

import qcodes as qc
from qcodes.instrument_drivers.Keysight.Keysight_8753D import Keysight_8753D
# Create an instance of the Keysight 8753D Network Analyzer
analyzer = Keysight_8753D("analyzer", address="GPIB0::1::INSTR")
# Connect to the instrument
analyzer.connect()
# Print the start frequency
print("Start Frequency:", analyzer.start_freq())
# Set the stop frequency to 1 GHz
analyzer.stop_freq(1e9)
# Set the number of points in the trace to 101
analyzer.trace_points(101)
# Prepare the trace
analyzer.trace.prepare_trace()
# Get the trace data
trace_data = analyzer.trace()
# Print the trace data
print("Trace Data:", trace_data)
# Disconnect from the instrument
analyzer.disconnect()

This script creates an instance of the Keysight_8753D instrument driver and connects to the instrument using the specified address. It then interacts with the instrument by setting parameters and getting trace data. Finally, it disconnects from the instrument.