LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

statistics

Hi there everyone...
I've got the following problem:
I've got a measurement (Sinewave) in 6 different channels, which are sampled into a 200 pts string (dynamic signal). Then I calculate the RMS values which gives me 6 RMS values per channel. I want to repeat this process N times and calculate the Average and StdDev of the N RMS values FOR EACH CHANNEL. My VI (using Updated Statistics) does it BUT... it calculates, for each iteration, the Average and SdtDev OF THE SIX CHANNELS, giving me back two values per iteration instead of 12 (two for each channel).
Can anybody help me??
Thanks
Roberto 
0 Kudos
Message 1 of 4
(2,859 Views)
Hi Roberto,

the problem is the conversion from dynamic to array data: change this in the properties dialog of the conversion node!
See attached vi: it's a hint on what to do, but not perfect...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(2,846 Views)

Thanks GerdW,

I never managed to open your VI, but your tip did help me to solve the problem.

Great this labView comunity!

Rob

0 Kudos
Message 3 of 4
(2,817 Views)
Hi Roberto,

please write down your LabView-version the next time to avoid this hassle (LV7.1 sometimes doesn't give a hint that you try to open a vi from more recent LabView versions...)
I attached a picture of the block diagram instead!

Next hint: As soon as your algorithm is fixed you should try to replace the express vi's by 'standard' vi's - this will greatly reduce size of your vi's as well as loading time 🙂

Message Edited by GerdW on 03-21-2007 10:14 AM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(2,811 Views)