daqx
Python data acquisition toolbox - Wrapper that provides high-level layers for controlling data acquisition boards. It also handles low-level memory management, data transfer, and provides various types of event callbacks.
Currently, it only supports boards from Measurement Computing. Support for National Instruments boards will be added in the future.
Table of Contents
Installation
pip install daqx
Supported Event Callback
Start callback - AI, AO
Stop callback - AI, AO
Trigger callback - AI
Samples acquired callback - AI
Usage
from daqx.util import createDevice
daqid = 0
start_channel = 0 # start scanning at channel 0
end_channel = 1 # end scanning at channel 1
daq = createDevice('mcc',daqid) # only 'mcc', Measurement Computing is supported currently
daq.config_ai(start_channel,end_channel) # set up analog input
daq.ai.sampleRate = 1000 # Hz/channel
daq.ai.grounding = 'single-ended' # Support 'single-ended','grounded','differential'
daq.ai.trigType = 'instant' # support 'instant','digital-positive-edge'
daq.ai.samplesPerTrig = 2000 # Samples/channel/trigger
daq.ai.aqMode = 'foreground' # acquisition mode - 'foreground','background'
daq.ai.start()
# after 2 seconds
aitime, aidata = daq.ai.getdata()
Tutorial will be added in the future.
Metadata
Release files for daqx 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| daqx-0.0.3.tar.gz | 14.1 kB | Without provenance | Details for daqx-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| daqx-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for daqx-0.0.3-py3-none-any.whl |
Total release size: 28.5 kB
Release files / daqx-0.0.3.tar.gz
| Download URL | daqx-0.0.3.tar.gz |
|---|---|
| Size | 14.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
afc712c49a24ce211ba8bc91dcac6ee52bae7b44b9a00c2a41c76d7ca26281a9
|
|
BLAKE2b-256 checksum How to use checksums |
ead3b854940f9d4e8dfb60dcedf3c4aaa0bc463e0569f8c183f1b601cbd3df39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.14
|
Release files / daqx-0.0.3-py3-none-any.whl
| Download URL | daqx-0.0.3-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70d21141d8f54d9e4490b050c59ff3c89577f1b47cf308ce454b44309ab96be4
|
|
BLAKE2b-256 checksum How to use checksums |
63df556e9e68cafe4b44fedfdacc64c4a18f939ea4984c3adf5fade2356d0111
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.14
|
Security for daqx 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.