Skip to main content

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.'],
                            pickFirst = False)
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.3.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

pySulfiLoggerAPI-0.0.3-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page