daqhats
daqhats copied to clipboard
MCC DAQ HAT Library for Raspberry Pi
While trying to use daqhats inside of a Docker container I receive the error 'Error: module 'daqhats has no attribute 'mcc118''. This occurs on a Raspberry Pi 3B+.
I have added support for C type TCs. I think that it can be useful to other users that need a high temperature TC.
MCC128 on RPi5: Fluctuation in number of samples returned by a_in_scan_start() and a_in_scan_read()
I am running a continuous voltage acquisition on the MCC128 on a Raspberry Pi5 (with a `PREEMPT_RT`). I am running the DAQ card with 10 000 samples/second rate and reading...
The file descriptor was left open after the function returns.
The existing Python bindings look fairly straight-forward to port, and build crates like [`cc`](https://crates.io/crates/cc), [`bindgen`](https://crates.io/crates/bindgen), etc. make FFI pretty trivial. Thoughts / interest?
If you don't follow the instructions and only install the Python library, without installing the other software, you can do the following: ```python >>> from daqhats import hat_list >>> hat_list()...
sudo daqhats_read_eeproms Reading... /usr/local/bin/daqhats_read_eeproms: 77: cannot create /sys/class/i2c-adapter/i2c-3/new_device: Directory nonexistent /usr/local/bin/daqhats_read_eeproms: 97: cannot create /sys/class/i2c-adapter/i2c-3/delete_device: Directory nonexistent /usr/local/bin/daqhats_read_eeproms: 77: cannot create /sys/class/i2c-adapter/i2c-3/new_device: Directory nonexistent /usr/local/bin/daqhats_read_eeproms: 97: cannot create /sys/class/i2c-adapter/i2c-3/delete_device: Directory...
…uous scan - Increased buffer size from 1000 to 50000 samples per channel - Reduced usleep from 500ms to 100ms for faster data reading
The script defines SYS=/sys/class/i2c-adapter/i2c-$BUS which doesn't exist on my pi3B (Linux version 6.12.22-v8+) Because of that a second board will fail to be detected. (I'm using an MCC128 and MCC118)...
Hello, Trying to install daqhats on rpi5 with current (as of 08 October 2025) Raspberry pi OS. Followed instructions in order and get an error trying to make via the...