There is a pause before displaying the first temperature, even if I wait a
second. However, I just realized that it's not because of waiting for a
temperature conversion. It's because I was specifying the list of sensors
as "10.*" and it takes over a second to generate the list from the
wildcard. I tried running the same test again, but specified the full list
of sensor addresses instead of using 10.* and I got 10.724 seconds without
simultaneous and 1.746 with.
I've got a much clearer picture of how things work now.
Thanks,
-Ben
On 12/11/06, Paul Alfille <[EMAIL PROTECTED]> wrote:
Think about it.
You issue the simultaneous "convert" command, record the time.
You then try and read the first sensor. Has enough time elased? No? Then
wait. Read.
You then try and read the second sensor. Has enough time elased? Yes! Read
immediately.
You then try and read the third sensor. Has enough time elased? Yes! Read
immediately.
...
You then try and read the 100th sensor. Has enough time elased? Too much!
Use the the slow individual convert for the rest of the sensors.
Paul Alfille
On 12/11/06, Ben Griffith < [EMAIL PROTECTED]> wrote:
>
> So why is there a delay on the first read? I waited a second or so
> between writing to simultaneous and reading the temperatures. Is the
> simultaneous convert command not sent until the first read is attempted?
>
> -Ben
-------------------------------------------------------------------------
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
-------------------------------------------------------------------------
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