08-16-2009 12:57 PM
Hi,
one question about arrays.
In my application I'm reading measurement data from a database in order to analyze them; they are ordered by date, and the user can select the period he wants to analyze.
When he selects, a query runs and put the data inside an array. I need to make calculations on the data, and show them on a graph grouped by day. For example, the user has selected a 10 day period, and I need to tell him, FOR EACH DAY, the measurements average and show him the average graph.
What should I do? Split my array into several (but I don't know how many)??
Any idea?
Solved! Go to Solution.
08-16-2009 01:24 PM
08-16-2009 01:56 PM
I gave a look at it.. It seems exacty what I need. Tomorrow I'll try and tell you (it's 3am in China now!).
Thanks a lot, man.
08-17-2009 05:30 AM
Ok, you had a good idea for the average calculation 🙂 I was thinking about it from yesterday!
Where did you find the point by point mean function?
08-17-2009 06:18 AM
08-17-2009 12:12 PM
Stefano Moret wrote:
Where did you find the point by point mean function?
I think the previous post shows you literally how to find it. The harder question is how did I know that it existed. The answer to that is mostly from poking around the palletes with a sense that since I had already written a similar VI myself and used it so often that NI must have gotten around to giving us something similar, and as usual they had.