Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

In peak.Detect() receiving an exception

Using peak.Detect() to find the peak a of 512 element array of double values. One of the arguments of peak.Detect is declared as out double[] amplitude. Is this a single element array which represent the value of the peak entry in the array? Is there an example of using of peak.Detect()?

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

Hi daviddel,

 

Can you be more specific about what you are trying to do?  It sounds like you are just trying to find the max in an array, but the peak detection is used for a waveform.

 

Peak Detection Using LabVIEW and Measurement Studio - Developer Zone

 

In order to find the max of an array, there are many methods depending on what language you are using and what frameworks you have available.  If you are just trying to find the max of an array of doubles, a Google search will turn up many different methods.

 

Regards,

 

Brandon V.

Applications Engineering

National Instruments

www.ni.com/support

 

 

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