LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Peak values and RMS values

Solved!
Go to solution

 

Hello,

In Labview 2015 I'm making a program that I want to acquire the basic spatial 3/3/3 accelerometer phidgets signal in Peak values and RMS values in acceleration, speed and displacement according to the frequency bands established in the filters. In a case structure I have another way to acquire data, by a test formula and when I put the formula that is in the image below, the values in the line "Valor medido" are not correct.You can see in attachment. Am I using the most correct functions for that?Another question, how do you get the frequency and amplitude of a waveform formula automatically when you run the program, without being a numeric control? where am I going wrong? Another question, how do you get the frequency and amplitude of a waveform formula automatically when you run the program, without being controlled? I've made the calculations on a sheet of the relationship between Peak values and RMS that I put in the appendix.

Sincerely, thank you.

0 Kudos
Message 1 of 7
(3,106 Views)

Hello,

You have two controls with the same name "sinal RMS ISO", it's confusing. Try to clean your wires too ; they should go from left to right and as straight as feasible. If the VI becomes too big, use a sub-VI. 

Then can you post your actual VI files please ? 

 

how do you get the frequency and amplitude of a waveform formula automatically when you run the program, without being a numeric control?

What do you want to do with the frequency and the amplitude? What is it used for if it isn't displayed?

Yddet

0 Kudos
Message 2 of 7
(3,053 Views)

Hello,


I think it's better now.


Now the values in [mm] positive Peak are getting negative. You can analyse in the attached VI please.


Sincerely, thank you.

0 Kudos
Message 3 of 7
(3,038 Views)

Please attach the code in a .zip format. RAR format cannot be opened by everyone

Yddet

0 Kudos
Message 4 of 7
(3,034 Views)
Solution
Accepted by topic author HelenHeidi

Your code is wildly "disorganized" -- everything seems to be in one (very large) Block Diagram, wires and numbers everywhere, almost impossible to follow the logic without having you "walk us through the Forest".

 

I recommend that you do a small simulation.  Use one of the Waveform Signal Generation VIs to make a signal with noise.  Add the VIs you want to use to analyze this single, simple signal, make the plots, and attach that VI (without zipping it or compressing it, so everyone can open it if they have the appropriate version of LabVIEW).  Who knows, you might even figure out, yourself, where you are making your mistake.

 

Incidentally, I strongly recommend that you stop using those awful Express VIs, which hide too many details from you and produce those even-more-awful Dynamic Data wires.

 

Bob Schor

0 Kudos
Message 5 of 7
(3,027 Views)

Hello,

 

Now it's better organized. And as you suggested in .Zip format, but I can't carry it so I put it individually. The program is Interface novo 1.Vi

 

Thank you,

0 Kudos
Message 6 of 7
(3,018 Views)

Hello,
Can someone please help me?
As I explained before, I'm using Labview 2015 to create a program that acquires the signal from a accelerometer Phidgets spatial 3/3/3 Basic in acceleration, speed and displacement. I have a test mode, with a formula in a case structure. which can be seen in the attached image. The RMS values and peaks on the Line "measured value" (on the front panel) are not correct for that test formula that I entered. I made the calculations by hand of the relationship between peak and RMS and do not give those values.
Can you analyze it in attachment please?


Sincerely, thank you.

Front painel.PNGImagem do Diagrama de Blocos.PNG

 

0 Kudos
Message 7 of 7
(3,010 Views)