labjack-controller

labjack-controller: Robust and Easy Data Collection with Labjack T-Series DAQs in Python - Published in JOSS (2019)

https://github.com/university-of-southern-maine-physics/labjack-controller

Science Score: 98.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org, zenodo.org
  • Committers with academic emails
    2 of 7 committers (28.6%) from academic institutions
  • Institutional organization owner
    Organization university-of-southern-maine-physics has institutional domain (usm.maine.edu)
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

data-collection labjack labjack-controller ljm python python3 streaming-data
Last synced: 4 months ago · JSON representation

Repository

Easily stream data from LabJack T4 and T7 devices.

Basic Info
Statistics
  • Stars: 12
  • Watchers: 3
  • Forks: 2
  • Open Issues: 1
  • Releases: 1
Topics
data-collection labjack labjack-controller ljm python python3 streaming-data
Created over 7 years ago · Last pushed over 6 years ago
Metadata Files
Readme Contributing License

README.md

labjack-controller

PyPI version Build Status Documentation Status DOI status

An Easy Python Wrapper for LJM to Just Take Data Already

This is a package designed to make streaming data from LabJack T-series devices easy.

Device Compatibility

  • T7 and T7 Pro
  • T4

Requirements

  • Python 3.5+
  • LJM

All other requirements will be automatically acquired by pip; see requirements.txt for a complete list of all requirements that will be automatically obtained.

Installation

You can install this package with pip through our PyPi package with the command bash pip install labjackcontroller

Alternatively, since we use pbr in setup.py, you can install from this github repository with

bash git clone https://github.com/university-of-southern-maine-physics/labjack-controller.git cd labjack-controller pip install .

Sample Usage

Multiple demonstrations of library functions are located in the demos folder, and you can read the library documentation here. However, getting started with full streaming is as easy as

```python from labjackcontroller.labtools import LabjackReader

duration = 10 # seconds frequency = 100 # sampling rate in Hz channels = ["AIN0"] # read Analog Input Channel 0 voltages = [10.0] # i.e. input voltages in range -10 to +10 volts

Instantiate a LabjackReader

with LabjackReader("T7") as mylj: mylj.collect_data(channels, voltages, duration, frequency)

# Get all data recorded as a 2D Numpy array
my_data = my_lj.to_array()

```

How To Get Help (or Help Us)

If you found a bug, have a question, or otherwise need to contact us, please read this.

If you want to help us in the development process, or have an idea, read this.

Contributors

Special Thanks

Owner

  • Name: Department of Physics, University of Southern Maine
  • Login: university-of-southern-maine-physics
  • Kind: organization
  • Location: Portland, Maine

A collection of the computational physics projects being developed at USM.

JOSS Publication

labjack-controller: Robust and Easy Data Collection with Labjack T-Series DAQs in Python
Published
June 18, 2019
Volume 4, Issue 38, Page 1448
Authors
Benjamin A. Montgomery ORCID
University of Southern Maine
Paul A. Nakroshis ORCID
University of Southern Maine
Editor
Bruce E. Wilson ORCID
Tags
experimental daq labjack parallel

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 170
  • Total Committers: 7
  • Avg Commits per committer: 24.286
  • Development Distribution Score (DDS): 0.594
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Ben Montgomery b****n@o****m 69
Ben Montgomery N****s 57
Pendy p****u@g****m 31
Paul Nakroshis p****n@m****u 7
PendulumLab p****b@R****l 3
PendulumLab p****b@s****u 2
Pendulum p****y@T****l 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 5
  • Total pull requests: 0
  • Average time to close issues: 10 days
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.2
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • nyctanthous (5)
Pull Request Authors
Top Labels
Issue Labels
development (5)
Pull Request Labels