mccdaq / daqhats

MCC DAQ HAT Library for Raspberry Pi
Other
125 stars 88 forks source link

Issue with mcc118 Error -6 #13

Closed foliveira15 closed 5 years ago

foliveira15 commented 5 years ago

Hello all! After a while pooling all 8 channels, using mcc118_a_in_read, my application stops reading the hat with error -6 A needed resource was not available. Pooling interval is one second and always stop working after 505 seconds! I'm using the last version of the library, QT5.12.3, C++ Any help?

foliveira15 commented 5 years ago

I figured out... Turns out I was opening the i2c connection every time.....