LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview peak data collection

I would like to collect peaks data, but the amplitudes only contains peaks found in current block of data. If I use shift register on the whole while loop, the data store at each loop, there will be too many repeated data. What can I do?

微信截图_20180824214923.png

0 Kudos
Message 1 of 6
(2,676 Views)

Please attach your VI, not a picture of part of a VI.

 

Bob Schor

0 Kudos
Message 2 of 6
(2,633 Views)

Sorry!

Please see the attachment. I try output waveform chart at the peak amplitude, but is it repeated, I would like to make a scatter graph.

Do you have any ideas?

Thanks!

0 Kudos
Message 3 of 6
(2,630 Views)

Hi frogliang,

 

your core routine should look similar to this:

check.png

Btw.: NEVER delete the label of frontpanel elements!

(I replaced your DAQmx stuff with a WfmSigGen function.)

 

I try output waveform chart at the peak amplitude, but is it repeated, I would like to make a scatter graph.

There are no "charts" in your VI, all you do is to show some plots on XY graphs!

Best regards,
GerdW


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

Hi GerdW,

I tried, but it doesn't  seem to work out. Without data queue, the waveform is wired, and the array size is the number of samples, the peaks data is data block from this data block, still cannot show all the history peaks amplitude.

Thank you very much!

Best regards!

Liang

0 Kudos
Message 5 of 6
(2,613 Views)

Hi frogliang,

 

What did you try?

Attach your current state of the VI...

Best regards,
GerdW


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