] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Ben Griffith
*Sent:* Monday, December 11, 2006 9:35 PM
*To:* [EMAIL PROTECTED]; owfs-developers@lists.sourceforge.net
*Subject:* Re: [Owfs-developers] temperature sensors - simultaneous
and"pre-reading"
I just tried it by adding an unpo
Darryl wrote:
> Any clues how to use simultaneous with owpython?
>
> -darryl
>
> -
> 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
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
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
No, I'm getting 8 answers back in about 3.4 seconds when using simultaneous.
basement owfs # time cat uncached/10.*/temperature
6866.260.8 62.2625 33.9125 60.6875
65.6375 41.5625
real0m11.908s
user0m0.000s
sys 0m0.004s
basement owfs # echo 1 >
Any clues how to use simultaneous with owpython?
-darryl
-
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 thro
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben Griffith
Sent: Monday, December 11, 2006 9:35 PM
To: [EMAIL PROTECTED]; owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] temperature sensors - simultaneous
and"pre-reading&quo
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 aw
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 tr
On 12/11/06, Paul Alfille <[EMAIL PROTECTED]> wrote:
> Not rambling. The design goal is to allow simple access to the 1-wire bus.
> Elaborate timing should be done with a multithreaded application. The
> "simultaneous" function should solve all your problems.
>
What is the effect if some of your
Ben Griffith wrote:
> Hi Paul,
>
> Thanks for your reply. I think my questions were based on some
> misconceptions and you have cleared them up. A couple comments and one
> more question (which I think I've already answered) inline below
>
> On 12/11/06, *Paul Alfille* <[EMAIL PROTECTED]
Hi Paul,
Thanks for your reply. I think my questions were based on some
misconceptions and you have cleared them up. A couple comments and one more
question (which I think I've already answered) inline below
On 12/11/06, Paul Alfille <[EMAIL PROTECTED]> wrote:
On 12/11/06, Ben Griffith
On 12/11/06, Ben Griffith <[EMAIL PROTECTED]> wrote:
Hi,
There was some talk about simultaneous a while back, and I'm wondering if
I could benefit from using it. I'm using MisterHouse, which is basically a
big perl loop. I use owperl to read a different temperature sensor every 15
seconds. T
Hi,
There was some talk about simultaneous a while back, and I'm wondering if I
could benefit from using it. I'm using MisterHouse, which is basically a
big perl loop. I use owperl to read a different temperature sensor every 15
seconds. There is, of course, a short pause when reading a sensor
14 matches
Mail list logo