HP3458A Python Library (Unofficial)
A Pythonic interface for controlling the Keysight / HP 3458A 8½-Digit Digital Multimeter using pyvisa.
📜 Licensing & Attribution
This project is licensed under the MIT License.
Important: If you use this library, you must keep the original copyright notice. If you modify it, please attribute the original work to Đorđe Novaković.
Note: For commercial support or custom features, please contact the author.
⚠️ Safety Warning
The HP 3458A is a high-precision instrument capable of measuring high voltages (up to 1000V). This software is unofficial and interacts directly with the instrument hardware. Incorrect configurations or automation loops could potentially lead to unexpected behavior in a test environment. Use at your own risk. Always ensure your test setup is safe and your inputs do not exceed the instrument's maximum ratings before enabling automation.
🚀 Overview
The HP 3458A is the industry standard for high-precision metrology, but its native command set can be complex to automate. This library wraps those commands into a clean, Pythonic API, making it easy to configure NPLC, sub-ppm ranges, and data streaming without having to parse the 500-page manual for every script.
Installation
pip install hp3458a
Quick start
from hp3458a import HP3458A
dmm = HP3458A("GPIB0::22::INSTR")
hp3458a.set_trigger_arm('HOLD')
hp3458a.set_voltage_dc_rang_res(10, 1E-6)
hp3458a.set_number_of_digits(8)
hp3458a.set_nplc(NPLC)
hp3458a.set_number_of_reading_per_trigger(1, 'AUTO')
hp3458a.set_trigger_event('AUTO')
hp3458a.set_memory_storage_mode('FIFO')
hp3458a.set_fixedz('OFF')
hp3458a.set_realtime_math('OFF')
hp3458a.set_trigger_arm('SGL',1)
hp3458a_data = hp3458a.read_memory(1,1,1).strip().split(',')
hp3458a_data.reverse()
hp3458a_data = [float(x) for x in hp3458a_data]
Requirements
- Python 3.8+
- pyvisa-py
- A valid VISA backend (pyvisa-py, NI-VISA, or Keysight IO Libraries)
Metadata
Release files for hp3458a 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hp3458a-0.1.1.tar.gz | 41.8 kB | Without provenance | Details for hp3458a-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hp3458a-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for hp3458a-0.1.1-py3-none-any.whl |
Total release size: 82.6 kB
Release files / hp3458a-0.1.1.tar.gz
| Download URL | hp3458a-0.1.1.tar.gz |
|---|---|
| Size | 41.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c4b32ee374fc4b7c61da653cdbbd11ab408fe5756293ddee7fcb5f7217b5652
|
|
BLAKE2b-256 checksum How to use checksums |
ef4fa9746333d65916e2f8f27cd4adf710e109147c0af008b34e8341abef9ed9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / hp3458a-0.1.1-py3-none-any.whl
| Download URL | hp3458a-0.1.1-py3-none-any.whl |
|---|---|
| Size | 40.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
925898c162b05007841651eb4f6272c53cf1e8d8083f3a31b7f52302d213123e
|
|
BLAKE2b-256 checksum How to use checksums |
f71bcc3cb3b4cd491cb3c8f977d1c7978597443ea1762702a6374ee68fdbb0b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for hp3458a 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.