Hướng dẫn keysight digital multimeter python

Programming Examples

Summary

This short Python example sends a command to the U1281A/82A and receive messages from the device, confirming your connectivity and software interface between your PC and the handheld multimeter. It’s a good starting point.

Description of Example

To program U1281A/82A using Python you will need the following:

>PyVisa installed and configured to your Python programming environment

>Keysight IO Library Suite installed on your PC

>Use the USB-to-IR cable supplied with U1282A or U1281A Digital Multimeter connected.  Open Keysight Connection expert on your PC and check if the U1282A or U1281A is detected.

Attachments

#make sure pyvisa is setup
import visa
#load visa lib and open connection
rm = visa.ResourceManager()
#In this example com port 7 is assigned to the USB-to-IR adapter 
#Address 'ASRL7::INSTR' is equivalent to com port 7.  
myU1282A = rm.open_resource('ASRL7::INSTR')
#get U1282A Identification 
myU1282A.write("*IDN?")     
print myU1282A.read()
#Get teh value of the primary display
myU1282A.write("FETC?")     
print myU1282A.read()
#close  Connection  
myU1282A.close()
print 'close instrument connection'

 

See Also

U1281A/U1282A Programming Guide

Here are 19 public repositories matching this topic...

  • Code
  • Issues
  • Pull requests

Captures and Interprets Data from the Digital Multimeter Uni-T UT61E using Python

  • Updated Jan 5, 2016
  • Python

  • Code
  • Issues
  • Pull requests

Python logger for Keysight/Agilent 34411A Digital Multimeter

  • Updated Sep 13, 2017
  • Python

  • Code
  • Issues
  • Pull requests

Monitor, plot and export data from CyrusTek ES51022 based multimeters such as the UNI-T UT61E.

  • Updated Apr 17, 2018
  • Python

  • Code
  • Issues
  • Pull requests

Velleman DVM345DI multimeter readout with Python and PySide based GUI

  • Updated Jul 10, 2019
  • Python

  • Code
  • Issues
  • Pull requests

Python module with utilities for undergraduate physics lab

  • Updated Jan 13, 2020
  • Python

  • Code
  • Issues
  • Pull requests

Python datalogger and API for Voltcraft VC820 (and compatible) Multimeter

  • Updated Mar 11, 2020
  • Python

  • Code
  • Issues
  • Pull requests

Code for the receiving the BLE notifications from the Multicomp Pro MP730026 Multimeter.

  • Updated Jun 27, 2020
  • Python

  • Code
  • Issues
  • Pull requests

Read data from Uni-T multimeters with CP2110 USB-to-UART bridge under linux

  • Updated Aug 24, 2020
  • Python

  • Code
  • Issues
  • Pull requests

A driver written in Python for the HP 34401A via Serial Port

  • Updated Aug 14, 2021
  • Python

  • Code
  • Issues
  • Pull requests

Digital Multimeter Control USB TCP RS232

  • Updated Jan 24, 2022
  • Python

  • Code
  • Issues
  • Pull requests
  • Discussions

Library to communicate easily with a Keithley DMM6500 multimeter

  • Updated Feb 9, 2022
  • Python

  • Code
  • Issues
  • Pull requests

Python based utilities for interacting with digital multimeters that are built on the FS9721-LP3 chipset.

  • Updated Feb 9, 2022
  • Python

  • Code
  • Issues
  • Pull requests

Remote control for multimeter Gossen METRAHit 29S via BD232 serial interface

  • Updated Feb 16, 2022
  • Python

  • Code
  • Issues
  • Pull requests

Programs for the PeakTech 2025 digital multimeter.

  • Updated Feb 24, 2022
  • Python

  • Code
  • Issues
  • Pull requests

Controlling Multimeter and Power Supplies

  • Updated Mar 15, 2022
  • Python

  • Code
  • Issues
  • Pull requests

Access digtal multimeter UNI-T UT61E+ from Python via CP2110 based USB connection

  • Updated Aug 31, 2022
  • Python

  • Code
  • Issues
  • Pull requests

Driver / Data logger for FNIRSI FNB48 and FNIRSI C1 USB Power meter

  • Updated Jul 12, 2022
  • Python

  • Code
  • Issues
  • Pull requests

Power Supply Analyzer with USB Interface

  • Updated Sep 11, 2022
  • Python

  • Code
  • Issues
  • Pull requests
  • Discussions

A code that calculates the uncertainty of the DMM for you! No need to calculate all those uncertainties yourself anymore.

  • Updated Sep 14, 2022
  • Python

Improve this page

Add a description, image, and links to the multimeter topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the multimeter topic, visit your repo's landing page and select "manage topics."

Learn more