Skip to content

Connecting to Keysight N5173B EXG by Keysight in Python

Instrument Card

The Keysight N5173B EXG microwave analog signal generator is the cost-effective choice when you need to balance budget and performance. It provides the essential signals that address parametric testing of broadband filters, amplifiers, receivers, and more. Perform basic LO upconversion or CW blocking with low-cost coverage to 13, 20, 31.8, or 40 GHz. Characterize broadband microwave components such as filters and amplifiers with the best combination of output power (+20 dBm at 20 GHz), low harmonics (≤ –55 dBc), and full step attenuation. Use as a high-stability system reference with standard high-performance OCXO at an aging rate of less than ± 5 parts per billion per day.

Keysight N5173B EXG

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

Connect to the Keysight N5173B EXG in Python

PROTOCOLS > SCPI

from qcodes import Station, Instrument
from qcodes.instrument_drivers.Keysight.Keysight_N51x1 import N51x1
# Create a station to hold the instrument
station = Station()
# Connect to the Keysight N5173B EXG RF Signal Generator
n5173b = N51x1('n5173b', 'TCPIP0::192.168.1.1::inst0::INSTR')
# Add the instrument to the station
station.add_component(n5173b)
# Print the IDN information of the instrument
print(n5173b.get_idn())
# Set the power to -10 dBm
n5173b.power(-10)
# Set the frequency to 1 GHz
n5173b.frequency(1e9)
# Enable the RF output
n5173b.rf_output('on')
# Disable the RF output
n5173b.rf_output('off')

Note: Replace 'TCPIP0::192.168.1.1::inst0::INSTR' with the actual IP address or VISA resource string of your instrument.