LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How does waveform graph downsamples the data before it is plotted

Solved!
Go to solution

Oddly, i cannot post a VI here, so here the screenshot of the code:

PlottingMoreSamplesThanXPixels.PNG

 

You will see that several values of the plot are drawn on the same x-coordinate.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 11 of 13
(1,183 Views)

Andrej,

 

I don't think the waveform graph is downsampling. It either plots everything and x-values get rounded according to the available resolution or it plots minimum and maximum value inside each bin of available x-increments.

This way you don't miss events in your waveform

 

Cheers

Edgar

 

Edit: and Norbert just confirmed that it plots everthing!

0 Kudos
Message 12 of 13
(1,182 Views)
Solution
Accepted by topic author andrej

Here http://digital.ni.com/public.nsf/allkb/F694FFEEA0ACF282862576020075F784 is the answer - LabVIEW uses a max-min decimation algorithm to display data on a graph 🙂

0 Kudos
Message 13 of 13
(1,151 Views)