Paul Alfille schreef: > The cache has a known lifetime -- default 15 seconds for "volatile" data > (like temperature readings). This can be bypassed (uncached directory) > or changed to a different timeout. > > One approach might be to have you fast-polling control loop reading > uncached, and your monitoring thread reading cached data. (Reading > uncached DOES update the cache). > > Paul Alfille > > Can you tell us what you are trying to accomplish?
On our tractor-puller (www.minimumrisk.nl) I want to read 6 temps., 3 pressure readings (don't know how yet) and 2 rpm readings. The temps. are not that important, if they are updated every second it's enough but the rpm's are from the engine and from the drive shaft. If something in transmission brakes the engine will run freely and the pistons will come out leaving me with a whole lot of work. If I compare engine rpm with drive-shaft rpm and see suddenly a huge difference it means something went wrong and I want to disable the fuel injection to prevent engine damage, all of that as fast as possible. So I like to poll those 2 sensors (counters DS2423) every 10ms. ------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
