Skip to content

Connecting to Keithley 3706A by Keithley in Python

Instrument Card

The Model 3706A system switch with high performance DMM contains six slots for plug-in cards in a compact 2U high enclosure that easily accommodates the needs of medium to high channel count applications. When fully loaded, a mainframe can support up to 576 two-wire multiplexer channels for unrivaled density and economical per channel costs. The result is a tightly integrated switch and measurement solution that’s equally at home on the bench or in the rack.

Keithley 3706A

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: Record voltage over time with an Agilent 34401A multimeter

Connect to the Keithley 3706A in Python

PROTOCOLS > SCPI

To connect to a Keithley 3706A Multimeter using Qcodes, you can use the following Python script:

import qcodes as qc
from qcodes.instrument_drivers.tektronix.Keithley_3706A import Keithley3706A
# Create an instance of the Keithley3706A instrument
keithley = Keithley3706A("keithley", "TCPIP0::192.168.1.1::inst0::INSTR")
# Connect to the instrument
keithley.connect_message()
# Perform operations with the instrument
keithley.reset_channel("allslots")
keithley.open_channel("slot1")
keithley.close_channel("slot2")
# Disconnect from the instrument
keithley.close()

In this script, we import the necessary modules and create an instance of the Keithley3706A instrument. We provide the instrument name and the VISA resource address (in this case, the IP address of the instrument). Then, we connect to the instrument using the connect_message() method, which prints information about the connected instrument and its switch cards. After that, we can perform operations with the instrument, such as resetting channels, opening channels, and closing channels. Finally, we disconnect from the instrument by calling the close() method.