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 14
(7,441 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 14
(7,434 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 14
(7,416 Views)

pl.png

0 Kudos
Message 4 of 14
(6,852 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 14
(6,850 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 14
(6,844 Views)

hey Knight of NI  , 

i have attached vi and i have set amplitude 1

0 Kudos
Message 7 of 14
(6,833 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 14
(6,823 Views)

Hi

Please help me, with the same error

 

Download All
0 Kudos
Message 9 of 14
(1,336 Views)

Hi osirism,

 

you are using way too much ExpressVIs! (And lots of other bad coding style.)

See the attachment for (only) some improvements!

You should also rethink about your DAQAssistent usage: you set your AI reading to just "1 sample on demand", but still convert the DDT wire to an array! Why is that? You only get a single (scalar) sample value!

 

On your error:

did you read the error explanation? Then it becomes pretty clear how to solve your problem…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 10 of 14
(1,327 Views)