You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use case with a couple of different scripts logging and watching ADCPi channels. If one script calls ADCPi.read_voltage() before the first was finished, both scripts become totally unresponsive.
This situation with several simultaneous calls for ADCPi.read_voltage() can easily be triggered by starting a few instances of the demo script:
python demo-readvoltage.py &
When I start the 4th or 5th test script they all freeze without raising any exception.
It would be nice if the ADCPi.read_voltage() could handle this situation by raising an exception when it fails. Perhaps there could be a timeout if for the underlying i2c reading?
The text was updated successfully, but these errors were encountered:
I have a use case with a couple of different scripts logging and watching ADCPi channels. If one script calls ADCPi.read_voltage() before the first was finished, both scripts become totally unresponsive.
This situation with several simultaneous calls for ADCPi.read_voltage() can easily be triggered by starting a few instances of the demo script:
python demo-readvoltage.py &
When I start the 4th or 5th test script they all freeze without raising any exception.
It would be nice if the ADCPi.read_voltage() could handle this situation by raising an exception when it fails. Perhaps there could be a timeout if for the underlying i2c reading?
The text was updated successfully, but these errors were encountered: