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
Release files for pyme31-gamgee 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyme31-gamgee-1.0.3.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyme31_gamgee-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:7.9 kB
Release files / pyme31-gamgee-1.0.3.tar.gz
| Download URL | pyme31-gamgee-1.0.3.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
246dc1cc5c8a78bbc87fd5faa3bc671737045ac18287463fc28a82dbce5d01fb
|
|
BLAKE2b-256 checksum How to use checksums |
606d6fd80c88b220d7e476fd0f4a223beb5b965699d01b3f7ff9b6d289faeb08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pyme31_gamgee-1.0.3-py3-none-any.whl
| Download URL | pyme31_gamgee-1.0.3-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fdc0cd1a4ed10d9a0e416a3b4654f4a1e8dac9ff1302203b74ca45e0795465fa
|
|
BLAKE2b-256 checksum How to use checksums |
edb77803d64bab5e3480080fd90e255c019c22e5dfe4263998dafd2ee711512a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|