Re: [Owfs-developers] temperature sensors - simultaneous and"pre-reading"

2006-12-19 Thread Paul Alfille
] [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

Re: [Owfs-developers] temperature sensors - simultaneous and "pre-reading"

2006-12-12 Thread Jerry Scharf
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

Re: [Owfs-developers] temperature sensors - simultaneous and "pre-reading"

2006-12-11 Thread Ben Griffith
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

Re: [Owfs-developers] temperature sensors - simultaneous and "pre-reading"

2006-12-11 Thread Paul Alfille
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

Re: [Owfs-developers] temperature sensors - simultaneous and "pre-reading"

2006-12-11 Thread Ben Griffith
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 >

Re: [Owfs-developers] temperature sensors - simultaneous and "pre-reading"

2006-12-11 Thread Darryl
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

Re: [Owfs-developers] temperature sensors - simultaneous and"pre-reading"

2006-12-11 Thread Alfille, Paul H.,M.D.
_ 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

Re: [Owfs-developers] temperature sensors - simultaneous and "pre-reading"

2006-12-11 Thread Jerry Scharf
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

Re: [Owfs-developers] temperature sensors - simultaneous and "pre-reading"

2006-12-11 Thread Ben Griffith
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

Re: [Owfs-developers] temperature sensors - simultaneous and "pre-reading"

2006-12-11 Thread Darryl
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

Re: [Owfs-developers] temperature sensors - simultaneous and "pre-reading"

2006-12-11 Thread Jerry Scharf
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]

Re: [Owfs-developers] temperature sensors - simultaneous and "pre-reading"

2006-12-11 Thread Ben Griffith
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

Re: [Owfs-developers] temperature sensors - simultaneous and "pre-reading"

2006-12-11 Thread Paul Alfille
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

[Owfs-developers] temperature sensors - simultaneous and "pre-reading"

2006-12-11 Thread Ben Griffith
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