LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

rms of simulated signal

Solved!
Go to solution

Hi guys, I went trough all topics of RMS calculation and still stuck to it. Need to calculate RMS(root mean square) of the output signal (named as "OUT" on the block diagram and front penal) . I do really miss something on my way but can find out what. Please give me a hand!

 

Thanks!  Your help is highly appreciated!!!

0 Kudos
Message 1 of 6
(2,920 Views)

how about this?

 

rms simple.png

 

What are you missing?

 

Sorry for not looking into your zip..

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 2 of 6
(2,887 Views)

It looks like you are already getting the RMS.  Where is your problem?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 6
(2,875 Views)
Solution
Accepted by zuzi

Dear zuzi!

 

I took a look on your application. 

It's real nice, but the calculation of RMS should not be implemented in the Control Simulation loop, since the calculation will be dune for each point, as it can be ssen on the graph indicator, when you run the code.

I made some modifications, and used the Collector function from Uilities palette int the Simulation palette. This function makes possible to collect the data, and make the processing on it after the simulation completed.

Please find your code attached.

 

If you have any questions, don't hesitate to ask.

 

BR,

CLA, CLED
0 Kudos
Message 4 of 6
(2,869 Views)

Dear Balazs,

 

You made my day! My sincere thanks for your prompt response and  professional solution.

 

Best Regards,

zuzi

 

0 Kudos
Message 5 of 6
(2,843 Views)

Thanks for your help!

Greetings,

zuzi

 

0 Kudos
Message 6 of 6
(2,839 Views)