LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform peak detector ERROR

Hi guys 

 

I am confused with therror that is the result of waveform peak detector . error 20013 and it says : the width must be greater than zero and smaller than sample .

 

can you guys suggest anything to solve this error ?

 

Thank you . 

Bill David
0 Kudos
Message 1 of 4
(2,942 Views)

You probably have not set your peak detector parameters correctly for your waveform.  There's no way to help you further unless you post your code.  Run it first so it displays your waveform in a graph, then make current values default and save the VI so your waveform is stored with it.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 2 of 4
(2,934 Views)

Dear NYquist 

 

1 - are you trying to say that i first should run the VI and have a look at the obtained waveform and put the threshold and width for the peak detctor based on the results i am having in the chart ? 

 

2 - here is my VI take a look at it please , let's see if you have any comments 

 

 

Thank you . 

 

Bill David
Download All
0 Kudos
Message 3 of 4
(2,929 Views)

The full discussion can be found here:http://forums.ni.com/t5/LabVIEW/Filters-Errors/m-p/2240236/highlight/false#M711990


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 4
(2,923 Views)