Perhaps there are some hints here.
You are using external power (non-parasytic) and a DS18S20?
The code is supposed to lock the device  (use a mutex to exclude other
threads from that chip) issue a CONVERT command, wait 1sec, then read
results. If it's functioning correctly, the only reason that 2 threads
should create a problem would be the increased frequency of temperature
conversions. Perhaps there is a rest time needed?

Can you run a type loop on a single thread reading one chip and see if you
get an error?

The other thought is that multiple simultaneous reads causes sags in the
power line that occasionally interfere with readings. In that case 2
threads, each in a tight loop, each reading a different temperature sensor
would show an error.

Paul Alfille

On 12/5/06, Darryl <[EMAIL PROTECTED]> wrote:

Not sure what's going on behind the scenes BUT the error only occurs
when I have two  separate scripts trying to read the devices BOTH
through owserver.

-darryl
--
http://randomthoughts.vandorp.ca


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to