Reads data from Digital Multimeter ME-31 via serial port
Project description
pyme31
Module for reading data from Digital Multimeter Metex ME-31 via RS-232
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.1.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file pyme31-gamgee-1.0.1.tar.gz
.
File metadata
- Download URL: pyme31-gamgee-1.0.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b12e1420823bfb0c917da7fc0b6ffeecac747167bbdab0bb8865761aef26c9a6
|
|
MD5 |
4a024a1867e23ff107dc0eef66388958
|
|
BLAKE2b-256 |
99fd8264e4aa687ce5861f09ac279d9ad9868048b6f080b48330c7ff05ef253b
|
File details
Details for the file pyme31_gamgee-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: pyme31_gamgee-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
39e633084c2969848763eaadf0950f189ddc16bebd29da12b2651f04b4fd980e
|
|
MD5 |
92076d9d6cc4b6ba85495317b498807c
|
|
BLAKE2b-256 |
bf74cd87bb09e675fb2036bc998dbaab699e4d07fc3dd551897e51f90c2010cc
|