Python Interface for the DATAQ DI-2008 DAQ
Project description
DI2008-Python
About
Interface for the DI-2008 in Python.
Modified from original interface in Python by DATAQ Instruments under MIT License
Maintainer: Clark Hensley ch3136@msstate.edu
Getting Started
Install via pip from PyPI:
pip install di2008-python
Instantiate DI2008 Object with Dictionary of Parameters:
from di2008_python import DI2008, DI2008Channels, DI2008Layout, DI2008TCType
# Enable the DI-2008 with a K-Type thermocopule in Analog Channel 1, an N-Type Thermocouple in Analog Channel 3, and the Digital Channel active
di2008 = DI2008({
<DI-2008 SERIAL NUMBER>: {
DI2008Channels.CH1: (DI2008Layout.TC, DI2008TCType.K),
DI2008Channels.CH3: (DI2008Layout.TC, DI2008TCType.N),
}
},
use_digital=True)
This interface uses named enumerations to ensure that what settings are being used is clear and concise
Current Features:
- Thermocouples
- ADC Reading
- Digital Reading
- Changing Scan Rate, Decimation, and Filtering Mode
- Automatic ChannelStretch Synchronized Initialization
Planned Features:
- Changing Packet Rate Size
- Interface with the
infooperator - Enforce cleanup on stopping
- CJCDelta
- Rate Measurement
- LED Color
- Specify Digital Input as well as Output
- Reading configuration from .json/.toml files as well as raw Python dictionaries
Further information about the DI-2008 can be found on DATAQ's website and via the DI-2008 Protocol.
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 di2008_python-1.0.0.tar.gz.
File metadata
- Download URL: di2008_python-1.0.0.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aec8e15d0cf90379369443fd04cc4c29b64707383338f4e36b7a59483062fe71
|
|
| MD5 |
e98cf465f2754252237506842b2d1a88
|
|
| BLAKE2b-256 |
e8c5c2edea601b46a0edb3d0ab2180d14f9dbc4cd268a73e41c61ffa40d51ba4
|
File details
Details for the file di2008_python-1.0.0-py3-none-any.whl.
File metadata
- Download URL: di2008_python-1.0.0-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72cc414e201aeba51336d1ff291e41354a9f24884670bd4b3b9f0cfd78ed32e9
|
|
| MD5 |
7bc68b9d2da277dc4fd5adea6e84569a
|
|
| BLAKE2b-256 |
7df17e4259036590bee0277ea496ae5912281a2c420a3e0ca51f9fe02be10cfa
|