Connecting to HP 3437A by HP in Python
Instrument Card
The HP 3437A is a microprocessor controlled 3 and 1/2 digit, successive approximation voltmeter, capable of sampling voltages at rates up to 5,700 samples per second.
Device Specification: here
Manufacturer card: HP
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 HP 3437A in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
from pymeasure.adapters import PrologixAdapterfrom pymeasure.instruments.hp import HP3437A
# Create a PrologixAdapter object to connect to the instrumentadapter = PrologixAdapter("GPIB0::10::INSTR")
# Create an HP3437A object using the adaptermultimeter = HP3437A(adapter)
# Open the connection to the instrumentmultimeter.open()
# Set the measurement range to 1Vmultimeter.range = 1
# Set the number of readings to 10multimeter.number_readings = 10
# Read the measured datadata = multimeter.read_data()
# Print the measured dataprint(data)
# Close the connection to the instrumentmultimeter.close()
This script connects to the HP 3437A Multimeter using a PrologixAdapter, sets the measurement range to 1V, sets the number of readings to 10, reads the measured data, and then prints the data. Finally, it closes the connection to the instrument.