06-20-2013 08:43 AM
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!!!
Solved! Go to Solution.
06-21-2013 03:08 AM
how about this?
What are you missing?
Sorry for not looking into your zip..
06-21-2013 07:03 AM
It looks like you are already getting the RMS. Where is your problem?
06-21-2013 08:17 AM
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,
06-22-2013 04:42 AM
Dear Balazs,
You made my day! My sincere thanks for your prompt response and professional solution.
Best Regards,
zuzi
06-22-2013 04:50 AM
Thanks for your help!
Greetings,
zuzi