Skip to content

Connecting to Keysight 34450A by Agilent in Python

Instrument Card

Turbo charge your production line with the Keysight 34450A 5.5-digit multimeter with OLED display. With its fast speed of up to 190 readings per second, you can increase your manufacturing throughput tremendously.

Keysight 34450A

Device Specification: here

Manufacturer card: AGILENT

AGILENT

Keysight Technologies, or Keysight, is an American company that manufactures electronics test and measurement equipment and software

  • Headquarters: USA
  • Yearly Revenue (millions, USD): 5420
  • Vendor Website: here

Demo: Record voltage over time with an Agilent 34401A multimeter

Connect to the Keysight 34450A in Python

PROTOCOLS > SCPI

from pymeasure.adapters import VISAAdapter
from pymeasure.instruments import Agilent34450A
# Create a VISA adapter for the instrument
adapter = VISAAdapter("USB0::0x2A8D::0x0101::MY53200001::INSTR")
# Create an instance of the Agilent34450A instrument
dmm = Agilent34450A(adapter)
# Reset the instrument
dmm.reset()
# Configure the instrument to measure DC voltage
dmm.configure_voltage()
# Read the voltage measurement
voltage = dmm.voltage
print("Voltage:", voltage)
# Shutdown the instrument
dmm.shutdown()

In this example, we first import the necessary modules from Pymeasure. We then create a VISA adapter using the appropriate address for your instrument. Next, we create an instance of the Agilent34450A instrument using the adapter. We can then perform various operations on the instrument, such as resetting it, configuring it to measure DC voltage, and reading the voltage measurement. Finally, we shutdown the instrument to release any resources it may be using.

Note: Make sure to replace the address in the VISAAdapter constructor with the correct address for your instrument.