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 u"Type: {}".format(device.get_type())
print u"Firmware: {}".format(device.get_firmware_version())
print u"Mode: {}".format(device.get_mode())
print u"Logging criterion: {}".format(unicode(device.get_logging_criterion()))
print u"Current data: {}".format(unicode(device.get_current_data()))
header = device.get_header()
print u"Number of available samples: {}".format(header.get_sample_count())
data = device.fetch_data_range(header.start, 1)
print u"Data [0]: {}".format(unicode(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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dlogg-driver-0.2.1.tar.gz.
File metadata
- Download URL: dlogg-driver-0.2.1.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43f456281906cfc5d2455e0de681879bd2a697a1f2d80f4f277596b54f7ed2ab
|
|
| MD5 |
3944ec68f11b368a329c134dc0af3213
|
|
| BLAKE2b-256 |
6c481db6745050b01ef32d79c17b6bb3f6e9ad3af16aea93c2f25c39c5582b95
|
File details
Details for the file dlogg_driver-0.2.1-py2-none-any.whl.
File metadata
- Download URL: dlogg_driver-0.2.1-py2-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a751933d65ed74e869fdbef160453e88866b537c1becfcae6861dcc59929f70a
|
|
| MD5 |
39be7dd05101947d212f25c6a0080833
|
|
| BLAKE2b-256 |
102cd1499c2c95457954c8b67b1a1f126560346d1ffc887c603743c5eeddc365
|