LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FRF averaging

Hello everyone,

 

I'm developing a FRF calculator for existing sampled data.  However do not understand really good the averaging.   Let me explain my problem.  I've a serie of txt or a datasheet files with recorded data (lets see, all the acquisitions were made at same sampling frequency and the same period of time, so the amount of data will be always the same), for four different channels.  In this order of ideas I would like to calculate the FRF between signals recorded in two channels, using the different tests I've recorded (so the different files).  Now my question is, how I have to handle the data in order to do the averaging for each signal, through the different recorded test?

 

Do I have to put all the data into a single file?  I been watching how's the Vi logic, but I don't understand how the averaging is done (I understand the rms and vectorial selection, what I was not able to understand is how the VI does it)

 

 

Thanks a lot

0 Kudos
Message 1 of 3
(2,933 Views)

Hi,

If i understood well, you have more than one file. But it's not a problem, in fact if your signals coming from different files are synchronized, you can open more than one reference to file and read a finite set of value signals.

These set of datas are the input datas for FRF function running iteratively.

 

Please feel free to reply.

 

Regards

Matteo
0 Kudos
Message 2 of 3
(2,918 Views)

Hi Matteo,

 

I think I've make a mistake and thats why the VI is not running, but I can not find it.  I'm attaching a pair of VI groups.  One has how I'm expecting to have the averaging (a simulator with no filed data but generated by a function generator), and other which uses the data files I've used (in matlab format also attached).

 

I've loaded the data in the way is supposed to.  But what is making me problems is how the FRF VI is placed, either in a while nor for loop (i've tried with both approaches).  What the VI is behaving is like calculating for each iteration the FRF indepently, but not doing the averaging (even the average iteration indicator doesn't change in the time).

 

I don't know how to follow, can you help me a bit?

 

Thanks a lot.  

Download All
Message 3 of 3
(2,912 Views)