No, I'm getting 8 answers back in about 3.4 seconds when using simultaneous.

basement owfs # time cat uncached/10.*/temperature
         68        66.2        60.8     62.2625     33.9125     60.6875
65.6375     41.5625
real    0m11.908s
user    0m0.000s
sys     0m0.004s
basement owfs # echo 1 > simultaneous/temperature
basement owfs # time cat uncached/10.*/temperature
         68        66.2        60.8       62.15      34.025     60.6875
65.6375     41.5625
real    0m3.393s
user    0m0.004s
sys     0m0.000s
basement owfs #


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


On 12/11/06, Jerry Scharf <[EMAIL PROTECTED]> wrote:

Ben Griffith wrote:
> I just tried it by adding an unpowered sensor to my net and doing the
> following...
>
> echo 1 > simultaneous/temperature
> cat 10.*/temperature
>
> The result was that it paused to do the conversion on the one unpowered
> sensor, and all the powered ones came up right away.  The unpowered
> sensor probably tries to do the conversion with all the powered ones,
> but since the data bus isn't being held high the conversion fails.
>
>

The first guy will delay, then the others come up quickly after that. I
think the sensors are smart enough to know they are on parasitic power
and ignore the simultaneous command.

Out of curiosity, are you getting more the 5 answers a second when
running simultaneous not from cache? If so, I will need to look into my
setup a bit more.

jerry

-------------------------------------------------------------------------
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

Reply via email to