LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array to spreadsheet problem

Solved!
Go to solution
Solution
Accepted by topic author Oesen

It would take no more than 30 seconds to reduce all of the mulitple samples to a single one if that is all that concerns you. No changing of the timebase/clocking etc. Just use a Mean function. This is a trivial way solve the issue.

Message 41 of 45
(902 Views)

Hmmm.. Isn't the mean function used to calculate average value og the samples ?

Best regards

Oesen
0 Kudos
Message 42 of 45
(899 Views)

@Oesen wrote:

Hmmm.. Isn't the mean function used to calculate average value og the samples ?



Yes.  So you'd be taking the average of all the samples you've collected in that 1 second interval and thus reducing it down to the 1 sample you are actually looking for.  Or you could just use index array to get the first sample,  or get the last sample, or do whatever other data reduction you might like to go from hundreds or thousands of samples in 1 second to have just 1 value that represents that data.

 

Mean seems like a perfectly valid method to me.

Message 43 of 45
(896 Views)

@Oesen wrote:

Hmmm.. Isn't the mean function used to calculate average value og the samples ?



Of course. Why would that not be a simple and reasonable solution to this?

0 Kudos
Message 44 of 45
(891 Views)

Thanks for the help Dennis. It was very simple 🙂

Best regards

Oesen
0 Kudos
Message 45 of 45
(871 Views)