Skip to main content

Reads data from Digital Multimeter Metex ME-31 via serial port

Project description

pyme31

Module for reading data from Digital Multimeter Metex ME-31 via RS-232

Install

pip install pyme31-gamgee

Usage

from pyme31 import Me31

def main():
  # on windows use COM1, COM2...
  dmm = Me31('COM1')

  # on unix machines use /dev/ttyXX
  dmm = Me31('/dev/ttyXX')

  measurment = dmm.get_measurment()

  print(measurment)
  print(measurment.value)
  print(measurment.unit)
  print(measurment.measuring_mode)

if __name__ == "__main__":
  main()

example output

AC 19.1 mV
19.1
Unit.MILIVOLT
MeasuringMode.AC

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyme31-gamgee-1.0.3.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

pyme31_gamgee-1.0.3-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page