Driver module for the SulfiLogger sensor
Project description
SulfiLogger sensor
Module for reading data from the SulfiLogger sensor
python requirements
- Python 3.7 or newer
python code example
import os
from pySulfiLoggerAPI import sensor
# locate sensor
comport = sensor.findCom( debug = False,
useAnyDriver = False,
driver = ['FTDI','Moxa Inc.'])
if(comport == None):
print('info','no sensor found.')
os._exit(1)
# data acquisition
sample = sensor.getData(comport)
print(['signal', 'unit', 'temperature', 'unit'])
print(sample)
more examples
A python script for continuously logging and plotting via the bokeh module is available upon request.
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
pySulfiLoggerAPI-0.0.1.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for pySulfiLoggerAPI-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dc8497a08be31921d9edc661747977cb13a1b45f0a72c320d567070a78cff60 |
|
MD5 | d85af02522ac814d0ac44e9d76caa8c4 |
|
BLAKE2b-256 | fe3d4be065e6988383063bad001ae2689597767222a2955a8c076f38f26070b0 |