LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

finding a function within Labview

Using Sound and Vibration Suite and I am not a S&V specialist.  Trying to calculate the frequency of max power but can not find a function to do this directly (am I just missing it).  I am using the Power Spectrum VI and it seems I should be able to get it from that resulting info.  Any suggestions?
0 Kudos
Message 1 of 3
(2,492 Views)
The power spectrum VI returns an array (or you should be able to get it from
a returned waveform), Use Array Max & Min to find it's maximum, and the
index of the maximum.

Regards,

Wiebe.


0 Kudos
Message 2 of 3
(2,485 Views)

Once you use the Max/Min VI I am assuming you will want to compare to find other "close" maximums thereby giving you the frequency of your max.  There is also a Waveform Peak Detection.VI that might be what you are looking for.

 

Sincerely,
Jason Daming
Applications Engineer
National Instruments
http://www.ni.com/support
0 Kudos
Message 3 of 3
(2,459 Views)