Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

peak detector example Needed

Where can I find a peak detector example to determine the frequency of a signal. How do you declare 'out double' overload parameters for the peak detector? Thanks
0 Kudos
Message 1 of 6
(4,171 Views)
You can use the AmplitudePhaseSpectrum() method to first generate the frequency information of your time domain signal. Then use the PeakDetector method to find the frequency peaks. To see an example of how to use the PeakDetector, refer to the Measurement Studio shipping example found in MeasurementStudio folder under ..\Examples\Analysis\PeakDetector
Bilal Durrani
NI
0 Kudos
Message 2 of 6
(4,165 Views)
what class contains the method AmplitudePhaseSpectrum()?
0 Kudos
Message 3 of 6
(4,148 Views)
E-man,

The AmplitudePhaseSpectrum method is a part of the NationalInstruments.Analysis.SpectralMeasurements.Measurements class. Let us know if you have further questions.

Adam B.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 6
(4,139 Views)
how do I use the AplitudePhaseSpectrum() with a signal I am reading in to measure the frequency. I don't know how to get all the parameters needed to make the method valid. Thanks
0 Kudos
Message 5 of 6
(4,130 Views)
ignore, i figured it out
0 Kudos
Message 6 of 6
(4,125 Views)