Skip to main content

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.

Metadata

Release files for dlogg-driver 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dlogg-driver 0.2.1
File Size Uploaded
dlogg-driver-0.2.1.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dlogg-driver 0.2.1
File Interpreter ABI Platform
dlogg_driver-0.2.1-py2-none-any.whl Python 2 none any Details

Total release size: 15.1 kB

Release files / dlogg-driver-0.2.1.tar.gz

Download URL dlogg-driver-0.2.1.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
43f456281906cfc5d2455e0de681879bd2a697a1f2d80f4f277596b54f7ed2ab
BLAKE2b-256 checksum
How to use checksums
6c481db6745050b01ef32d79c17b6bb3f6e9ad3af16aea93c2f25c39c5582b95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / dlogg_driver-0.2.1-py2-none-any.whl

Download URL dlogg_driver-0.2.1-py2-none-any.whl
Size 9.3 kB
Tags Python 2
SHA-256 checksum
How to use checksums
a751933d65ed74e869fdbef160453e88866b537c1becfcae6861dcc59929f70a
BLAKE2b-256 checksum
How to use checksums
102cd1499c2c95457954c8b67b1a1f126560346d1ffc887c603743c5eeddc365
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page