LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Efficient logging algorithm

I'm about to start on the development of a new, more efficient and flexible way to log data from some ultrasonic sensors. The sensors produce 1 measurement every second, in addition there are always 2-10 other dynamic input parameters that I want to log together with that (I32 or Double). Today I do this by writing minute averages in a binary file. There is often tens of sensors and they log data for years so I split the data into one file per sensor per month.

However - in many cases it would be great to not use minute averaging, but rather use e.g. regression based logging e.g., or use variable logging frequency depending on some event definitions...etc. to get better time resolution without producing too much data (currently 600KB/sensor
/month, and still make reading the data back and display it simple and fast...(people access the data via a client-server interface).

I know lot's of these things (including the neat use of databases...)are available in the SCADA version of LabVIEW, however that is a bit too expensive (lot's of users...) and over the top. Instead I want to develop a solution myself, however - if anyone out there already have made a similar logging llb, have ideas, suggestions or parts that can be used I would greatly appreciate it:-)
0 Kudos
Message 1 of 2
(2,648 Views)
In 92/93 I did a creeptester automation project for a 60-channel DAQ-system (HBM UGR60).
It used adaptive sampling to write up to 30 individual logfiles, because the tests took months to complete. It was developed in LabWindows, but the nice parts are later re-written in LabVIEW code.
Data-reduction >99% was easily obtained.

If you are interested, contact me directly at info@serenity.nl .
0 Kudos
Message 2 of 2
(2,648 Views)