Skip to content

Connecting to Keithley 2260B by Keithley in Python

Instrument Card

Source a wide range of voltages and currents with the 360W, 720W, or 1080W Series 2260B Programmable DC Power Supplies. The 360W versions can output current of 36A, 13.5A, 4.5A, or 1.44A; the 720W models can output 72A, 27A, 9A, or 2.88A; and the 1080W instruments can output 108A, 40.5A, 13.5A or 4.32A. This wide range of output voltages and current, combined with multiple interface choices, makes the Series 2260B ideal for use in a wide range of applications, including research and design, quality control, and production test.

Keithley 2260B

Device Specification: here

Manufacturer card: KEITHLEY

KEITHLEY

Keithley Instruments is a measurement and instrument company headquartered in Solon, Ohio, that develops, manufactures, markets, and sells data acquisition products, as well as complete systems for high-volume production and assembly testing.

  • Headquarters: Cleveland, Ohio, United States
  • Yearly Revenue (millions, USD): 110.6
  • Vendor Website: here

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

Connect to the Keithley 2260B in Python

PROTOCOLS > SCPI

Here is a Python script that uses Pymeasure to connect to a Keithley 2260B Power Supply:

from pymeasure.instruments.keithley import Keithley2260B
# Create a connection to the Keithley 2260B Power Supply
power_supply = Keithley2260B("GPIB::1")
# Enable the output of the power supply
power_supply.output_enabled = True
# Set the voltage setpoint to 5 volts
power_supply.voltage_setpoint = 5
# Read the voltage, current, and power values from the power supply
voltage = power_supply.voltage
current = power_supply.current
power = power_supply.power
# Print the values
print("Voltage: {} V".format(voltage))
print("Current: {} A".format(current))
print("Power: {} W".format(power))
# Disable the output of the power supply
power_supply.output_enabled = False
# Close the connection to the power supply
power_supply.shutdown()

This script connects to a Keithley 2260B Power Supply using the GPIB interface. It enables the output of the power supply, sets the voltage setpoint to 5 volts, and then reads the voltage, current, and power values from the power supply. Finally, it disables the output of the power supply and closes the connection.