On 12/27/06, Japie <[EMAIL PROTECTED]> wrote:
For water injection we use a pump from a high-pressure-water-cleaner (no
iedea how it's called in English, but normaly people use it to clean
power washer
there street or car, it's a small one from Karcher)
The water injection is a bit "rough" we can put it on and off and have no
idea how much water is sprayed but if we know the humidity we can start
thinking about a more "controleable" system.
> Rather than store every revolution, you can read the counters
with each
> of your other measurements and have a good idea of speed throughout.
> Well, owfs gives 1-wire data. Read the system clock and store that for
time
> base (or use the revolution counters as a time base). There are 1-wire
timer
> chips but they offer no advantages over just reading the system clock.
If I do a "cat" every 100ms. to the storage media that would be enough, as
long as all sensors are "lined up" in time.
That's wy I was thinking about a round robin db. (but gives more overhead)
I assume you're not going to do this with a bash script (not very efficient)
but the general idea could be:
while (1) ; do
echo `date` >> log
echo temperature >>log
echo humidity >>log
echo counter>>log
sleep(.01)
done
Clearly date doesn't give the resolution you'd want, and in a
C/perl/python/php/tcl program or the like you could maintain a persistent
connection, have better control over timing, and even keep the data in RAM
till the end of the logging session. You can also test and implement control
mechanisms.
So the point is that you can add timing info to the log file for each
collection of data points, allowing finer resolution, unequal spacing, and
better accuracy.
Paul Alfille
-------------------------------------------------------------------------
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