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)
Built Distribution
Close
Hashes for pyme31_gamgee-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdc0cd1a4ed10d9a0e416a3b4654f4a1e8dac9ff1302203b74ca45e0795465fa |
|
MD5 | ca3c3354ef0899c53f487ee78671de6b |
|
BLAKE2b-256 | edb77803d64bab5e3480080fd90e255c019c22e5dfe4263998dafd2ee711512a |