Connecting to Keithley 2614B by Keithley in Python
Instrument Card
The 2614B SourceMeter SMU Instrument is a new dual-channel SMU instrument with best-in-class value and performance. Its tightly integrated, four-quadrant design allows it to simultaneously source and measure both voltage and current to boost productivity in R&D and bench-top applications. The Model 2614B is equipped with Keithley’s high speed TSP technology, which is over 190% faster than traditional PC-to-instrument communication techniques. The Model 2614B is designed for bench-top applications and, therefore, does not have the high-end, system-level automation features of the Model 2612B SourceMeter SMU Instrument, which includes digital I/O, TSP-Link technology, and contact check function.
Device Specification: here
Manufacturer card: 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 2614B in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
Here’s an example Python script that uses Qcodes to connect to a Keithley 2614B Power Supply:
import qcodes as qcfrom qcodes.instrument_drivers.tektronix.Keithley_2600_channels import Keithley2600
# Create a connection to the Keithley 2614B Power Supplykeithley = Keithley2600('keithley', 'TCPIP::192.168.1.1::INSTR')
# Connect to the instrumentkeithley.connect()
# Print the instrument IDprint(keithley.get_idn())
# Set the voltage and current limitskeithley.smua.limitv(10) # Set voltage limit to 10Vkeithley.smua.limiti(0.1) # Set current limit to 0.1A
# Enable the outputkeithley.smua.output(1) # Turn on the output
# Set the voltage and current levelskeithley.smua.volt(5) # Set voltage to 5Vkeithley.smua.curr(0.05) # Set current to 0.05A
# Measure the voltage and currentvoltage = keithley.smua.volt()current = keithley.smua.curr()print(f"Voltage: {voltage} V")print(f"Current: {current} A")
# Disable the outputkeithley.smua.output(0) # Turn off the output
# Disconnect from the instrumentkeithley.disconnect()
Note: Replace 'TCPIP::192.168.1.1::INSTR'
with the actual IP address or VISA resource address of your Keithley 2614B Power Supply.