Unofficial library to read data from a Technische Alternative D-LOGG device.
Project description
Unofficial python package to read data from a Technische Alternative D-LOGG device.
Installation
pip install dlogg-driver
Usage
from dlogg_driver import DLoggDevice
with DLoggDevice("/dev/ttyUSB0") as device:
print "Type: {}".format(device.get_type())
print "Firmware: {}".format(device.get_firmware_version())
print "Mode: {}".format(device.get_mode())
print "Logging criterion: {}".format( device.get_logging_criterion())
header = device.get_header()
print "Number of available samples: {}".format(header.get_sample_count())
data = device.fetch_data_range(header.start, 1)
print "Data [0]: {}".format(data[0])
device.fetch_end()
Credits
Many thanks to Technische Alternative for allowing me to create and publish this package under a free software license!
Thanks also to H. Römer for publishing d-logg-linux.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dlogg-driver-0.1.0.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for dlogg_driver-0.1.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7278e1fd61b3e0582603360f2148dcc1bbff8442b84dc1953fd4938b7afa2bbd |
|
MD5 | 8ca62b0d9d3bb03c5a65092a9a5b2c02 |
|
BLAKE2b-256 | 7153e02687b0761582596d981c43fe2e0db6fd5b57508167dfb49574d0f641f3 |