Skip to content

Connecting to HMP 2030 by Rohdes&Schwarz in Python

Instrument Card

2 or 3 channels with max. 188 W total output power. Maximum output voltage of 32 V per channel. Maximum output power per channel: 80 W. Maximum output current per channel: 5 A. Intuitive, price-transparent online product configurator.

HMP 2030

Device Specification: here

Manufacturer card: ROHDES&SCHWARZ

ROHDES&SCHWARZ

Rohde & Schwarz GmbH & Co KG is an international electronics group specializing in the fields of electronic test equipment, broadcast & media, cybersecurity, radiomonitoring and radiolocation, and radiocommunication.

  • Headquarters: Munich, Germany
  • Yearly Revenue (millions, USD): 2500
  • Vendor Website: here

Demo: Measure a solar panel IV curve with a Keithley 2400

Connect to the HMP 2030 in Python

PROTOCOLS > SCPI

from qcodes.instrument_drivers.rohde_schwarz.HMP import RohdeSchwarzHMP4040
# Create an instance of the RohdeSchwarzHMP4040 driver
hmp = RohdeSchwarzHMP4040('hmp', 'TCPIP0::192.168.0.1::INSTR')
# Connect to the instrument
hmp.connect()
# Perform operations with the instrument
# Disconnect from the instrument
hmp.disconnect()

Explanation:

  1. Import the RohdeSchwarzHMP4040 class from the qcodes.instrument_drivers.rohde_schwarz.HMP module.
  2. Create an instance of the RohdeSchwarzHMP4040 driver with the desired name and address. Replace 'TCPIP0::192.168.0.1::INSTR' with the actual address of your HMP 2030 Power Supply.
  3. Call the connect() method to establish a connection with the instrument.
  4. Perform any desired operations using the instrument methods.
  5. Call the disconnect() method to close the connection with the instrument.