LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Uisng the Dual Channel Spectral Measurement block inside a while loop for averaging

Solved!
Go to solution

Hello, 

 

I am currently using the Dual Channel Spectral Measurement block to perform analysis of a system. One of the goals is to perform the analysis several times and average the results. For that, I have placed the block inside a while loop and turned on the averaging option, but I am still confused if this is the correct approach to achieve my goal. 

I would truly appreciated fi someone could provide some additional insights

0 Kudos
Message 1 of 3
(201 Views)

Start with showing your code. Words are insufficient to really tell what you are doing.

0 Kudos
Message 2 of 3
(173 Views)
Solution
Accepted by topic author JB9

This LabVIEW example does just that (put the dual-channel spectral analysis block in a loop):
<LabVIEW>\examples\Express VIs\Express VI - Dual Channel Spectral Measurement.vi

dsbNI_0-1760539269862.png


This example doesn't use Express VIs:
<LabVIEW>\examples\Signal Processing\Waveform Measurements\Frequency Analysis of a Filter Design.vi

 

These examples each measure the averaged frequency response for a digital filter. If you need to measure the frequency response for a physical system, acquire the reference and response signals in the loop as well.

AND as Altenbach suggests, share your code to get more directed guidance.

 

Doug
Enthusiast for LabVIEW, DAQmx, and Sound and Vibration
0 Kudos
Message 3 of 3
(145 Views)