Connecting to Keithley 2700 by Keithley in Python
Instrument Card
The Model 2750 offers extended low ohms measurement capability and supports up to 5 7700 Switch cards for a maximum 200, 2-pole multiplexed channels. It also contains a built-in 20mV clamp that helps protect sensitive devices from damage and prevents self-heating errors during dry circuit testing.
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: Record voltage over time with an Agilent 34401A multimeter
Connect to the Keithley 2700 in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
from pymeasure.instruments.keithley import Keithley2700
# Connect to the Keithley 2700keithley = Keithley2700("GPIB::1")
# Perform measurements or other operations with the instrument# For example, you can read the state of the channelsstate = keithley.get_state_of_channels([101, 102, 103])print("State of channels 101, 102, 103:", state)
# Close specific channelskeithley.closed_channels = [101, 102, 103]
# Open all channelskeithley.open_all_channels()
# Close rows to columns on the 7709 connection matrixkeithley.close_rows_to_columns([1, 2], [1, 2])
# Open rows to columns on the 7709 connection matrixkeithley.open_rows_to_columns([1, 2], [1, 2])
# Perform system operationskeithley.beep(1000, 1)keithley.triad(1000, 1)keithley.reset()
# Display closed channels on the instrument's displaykeithley.display_closed_channels()
# Disconnect from the instrumentkeithley.disconnect()
This script connects to the Keithley 2700 using the GPIB address “GPIB::1”. It then performs some operations with the instrument, such as getting the state of channels 1 and 2, closing all channels, and finally disconnecting from the instrument.
Note that you may need to install the pymeasure
package before running this script. You can install it using pip install pymeasure
.