Connecting to 2500A Bridge by Andeen Hagerling in Python
Instrument Card
The AH 2500A offers unparalleled stability, resolution and accuracy in a capacitance/loss1 bridge (whether manual or automatic)

Device Specification: here
Manufacturer card: ANDEEN HAGERLING

Andeen-Hagerling, Inc. - manufacturers of the worldโs most accurate capacitance bridges and standards
- Headquarters: US
- Yearly Revenue (millions, USD): 1
- Vendor Website: here
Demo: Record voltage over time with an Agilent 34401A multimeter
Connect to the 2500A Bridge in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
from pymeasure.adapters import VISAAdapterfrom pymeasure.instruments import AH2500A
# Create a VISA adapter for communicationadapter = VISAAdapter("GPIB0::1::INSTR")
# Connect to the AH2500A instrumentmultimeter = AH2500A(adapter)
# Perform a single capacitance and loss measurementcapacitance, loss, voltage = multimeter.caplossvolt
# Print the measurement valuesprint(f"Capacitance: {capacitance} pF")print(f"Loss: {loss} nS")print(f"Voltage: {voltage} V")
# Disconnect from the instrumentmultimeter.disconnect()Explanation:
- We import the necessary modules from Pymeasure:
VISAAdapterfor communication andAH2500Afor the 2500A Bridge Multimeter instrument. - We create a
VISAAdapterobject, specifying the appropriate address for the instrument. In this example, we assume the instrument is connected via GPIB at address 1. - We create an
AH2500Aobject, passing the adapter as an argument to establish the connection. - We use the
caplossvoltmeasurement property of theAH2500Aobject to perform a single capacitance and loss measurement. This property returns a tuple of capacitance, loss, and voltage values. - We print the measurement values using f-strings.
- We disconnect from the instrument using the
disconnect()method of theAH2500Aobject.
Note: Make sure you have the necessary dependencies installed, such as pymeasure, pyvisa, and the appropriate VISA library for your instrument.