Skip to content

Connecting to Keysight 33511B by Keysight in Python

Instrument Card

The 33511B waveform generator provides Keysight’s exclusive Trueform technology which offers unmatched capabilities for generating a full range of signals for your most demanding measurements.

Keysight 33511B

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 33511B in Python

PROTOCOLS > SCPI

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

from qcodes.instrument_drivers.Keysight.Keysight_33XXX import WaveformGenerator_33XXX
# Create an instance of the instrument
signal_generator = WaveformGenerator_33XXX('signal_generator', 'TCPIP0::192.168.1.1::INSTR')
# Connect to the instrument
signal_generator.connect_message()
# Now you can use the instrument to control the signal generator
# For example, to set the frequency of channel 1 to 1 MHz:
signal_generator.ch1.frequency(1e6)
# To turn on the output of channel 1:
signal_generator.ch1.output('ON')
# To turn off the output of channel 1:
signal_generator.ch1.output('OFF')
# Disconnect from the instrument
signal_generator.close()

Note: Replace 'TCPIP0::192.168.1.1::INSTR' with the actual VISA resource name of your Keysight 33511B RF Signal Generator.