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
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.2.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for pyme31_gamgee-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40d27b3d73de5bef1ece2265d6e85acafa9402d53e3927e5ee5083468afa0d94 |
|
MD5 | 7aaa9a984ad1031426251c4dbe00d5c2 |
|
BLAKE2b-256 | 9c3e14e2a42e6f39eb3ce670521517d11d8663100a1258dc7cf3e8f671bbd025 |