Skip to content

Connecting to Keysight E8267D by Agilent in Python

Instrument Card

E8267D PSG Vector Signal Generator, 100 kHz to 44 GHz

Keysight E8267D

Device Specification: here

Manufacturer card: AGILENT

AGILENT

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 E8267D in Python

PROTOCOLS > SCPI

To connect to a Keysight E8267D RF Signal Generator using Qcodes, you can use the following Python script:

import qcodes as qc
from qcodes.instrument_drivers.Keysight.Keysight_E8267D import Keysight_E8267D
# Create an instance of the instrument
signal_generator = Keysight_E8267D("signal_generator", "TCPIP0::192.168.1.1::inst0::INSTR")
# Connect to the instrument
signal_generator.connect()
# Now you can use the instrument to perform operations
frequency = signal_generator.frequency()
print("Current frequency:", frequency)
# Set a new frequency
signal_generator.frequency(1e9)
# Disconnect from the instrument
signal_generator.disconnect()

Note that you need to replace "TCPIP0::192.168.1.1::inst0::INSTR" with the actual address of your Keysight E8267D RF Signal Generator.