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
Explanation:
- We import the necessary modules from Pymeasure:
VISAAdapter
for communication andAH2500A
for the 2500A Bridge Multimeter instrument. - We create a
VISAAdapter
object, specifying the appropriate address for the instrument. In this example, we assume the instrument is connected via GPIB at address 1. - We create an
AH2500A
object, passing the adapter as an argument to establish the connection. - We use the
caplossvolt
measurement property of theAH2500A
object 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 theAH2500A
object.
Note: Make sure you have the necessary dependencies installed, such as pymeasure
, pyvisa
, and the appropriate VISA library for your instrument.