im trying to read an average from an input source over a minute and then write this to an access db.
saving to the db isnt the problem.
i have an external class that is feeding me a current reading at regular intervals of 1sec. I want to use a timer to count down 60 secs and from that sixty secs i need to work out the average reading and save this to a database.
most of it i have an idea of how to acomplish but the timer is giving me grief.
any ideas would be most appreciated.
-- also, lol, once i have this db full of average readings i want to read from the db using a chart object to draw charts on the fly
- whats the best way to go about this?
again, any help, pointers or ideas would be most appreciated.