Skip to content

Connecting to Rigol DP832 by Rigol in Python

Instrument Card

3 Outputs; total power up to 195W Low Ripple Noise < 350 uVrms/2mVpp Fast transient response time: < 50 us Channel isolation: CH1 || CH2,CH3 OVP/OCP/OTP protection functions Built in V, A, W measurements and waveform display

Rigol DP832

Device Specification: here

Manufacturer card: RIGOL

RIGOL

RIGOL Technologies, Inc. specializes in development and production of test and measuring equipment and is one of the fastest growing Chinese companies in this sphere. RIGOL’s line of products includes digital storage oscilloscopesfunction/arbitrary waveform generatorsdigital multimeters, PC-based devices compatible with LXI standard etc.

  • Headquarters: Beijing, China
  • Yearly Revenue (millions, USD): 23
  • Vendor Website: here

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

Connect to the Rigol DP832 in Python

PROTOCOLS > SCPI

To connect to a Rigol DP832 Power Supply using Qcodes, you can use the following Python script:

from qcodes.instrument_drivers.rigol.DP8xx import RigolDP832
# Create an instance of the RigolDP832 driver
power_supply = RigolDP832('power_supply', 'TCPIP0::192.168.1.1::INSTR')
# Connect to the power supply
power_supply.connect()
# Now you can use the power supply to perform various operations
# For example, to set the voltage of channel 1 to 5V:
power_supply.ch1.voltage.set(5)
# To turn on channel 2:
power_supply.ch2.output.set(True)
# To read the current of channel 3:
current = power_supply.ch3.current.get()
# Disconnect from the power supply
power_supply.disconnect()

Note: Replace 'TCPIP0::192.168.1.1::INSTR' with the actual IP address or VISA resource string of your Rigol DP832 Power Supply.