LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error 20309

Hello,

 

I received this kind of error :Error -20309 occurred at Amplitude and Level Measurements->practice.vi
 (waveform index 0 of 1). Possible reason(s): Analysis:  The amplitude of the waveform is zero, so the histogram method cannot be used.

 

I'm connecting the amplitude and level measurements to  a waveform chart. and i received this kind of error. Please help to solve this kind of problem.

 

Thank you

0 Kudos
Message 1 of 18
(7,304 Views)

We need to see code to help you debug this.


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 2 of 18
(7,297 Views)

When you attach code, attach the VI itself.  We need to be able to open your code in LabVIEW and try it out.

 

Bob Schor

0 Kudos
Message 3 of 18
(7,279 Views)

pl.png

0 Kudos
Message 4 of 18
(6,715 Views)

hey guys please help me to get out of this error

i searched @ this but didnt get any clue.

please 

0 Kudos
Message 5 of 18
(6,713 Views)

Hi guy,

 

the amplitude of the waveform is zero and so the histogram function cannot work as expected.

Solution: set an amplitude larger than zero…

 

(As long as you don't provide your VI you will not get much more help. Remember: we cannot edit or run images using LabVIEW!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 18
(6,707 Views)

hey Knight of NI  , 

i have attached vi and i have set amplitude 1

0 Kudos
Message 7 of 18
(6,696 Views)

A full period of a 2 Hz signal is 500 msec. In the "Configure Simulate Signal", you specified 100 samples at 1000 samples per second. That's only 100 msec of data. There is not enough data to analyze the waveform.

 

As a minimum set (Num Samples) / (Samples per sec) to be greater that 500 milliseconds

 

Capture.PNG

waveformCapture.PNG

Message 8 of 18
(6,686 Views)

Please help me with the same error.

I have attached the VI.

I'm trying to calculate the frequency and RPM through a digital encoder using arduino.

Also tell me whether i need to read the digital pulse or analog output from the encoder as it has both options.

0 Kudos
Message 9 of 18
(6,631 Views)

We can't run your code because we don't have your Arduino device to provide us with data.

 

But I do see something obvious.  Your subVI provides exactly 1 data point and puts that into the Timing Express VI.   So what is the frequency of a single value?

 

As you can see from the messages above yours, you need a sufficient number of samples for that VI to work.

0 Kudos
Message 10 of 18
(6,626 Views)