LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

save all the values of statistic .vi

Smiley Happy good day,
 
i use the statistics express.vi (attached) to get Arithmetic mean, standard deviation, maximum, minimum, etc, but, i don't understand why i get two plots in the waveform chart and all the values are the same in numeric indicators.
another question, how can i save the values in spreadsheet or .txt file? any suggestion for the best way to do this.
 
i remember seeing someone written a .vi to get mean, standard deviation, max., min., using case structures and other single function codes, their values are displayed in numeric indicators, once the graph or execution is completed , and the user was required to press on a button, then the values displayed. somehow i couldn't find this .vi again.
 
appreciate all the experts out there to offer some help. 
 
thanks. 
0 Kudos
Message 1 of 3
(2,810 Views)
The reason you have two plots is that is what you have programmed to do with the merge signals. That is creating two separate signals for the chart. The reason all of your indicators are reporting the same value is that you are passing a scalar to the Statistics VI. The input to the Statistics functions should be an array or instead of the Express VI, use the point-by-point functions.
0 Kudos
Message 2 of 3
(2,794 Views)

Smiley Happy thanks, Dennis.

i think i have a long way to go, as my background is not from programming.

will try to write the values to spreadsheet and have some one check.

have a very great day.

 

0 Kudos
Message 3 of 3
(2,777 Views)