LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Filter or Window function from the analysis Library

Friends,  

 

I will be collecting about 20,000 data points.  I would like to reduce the number of points to plot to about 300 to 500 points.  (i call this filtering)   I know there is an Advanced Analysis Library function that would do this;  which one would be the best?  

 

Dave    

0 Kudos
Message 1 of 3
(2,960 Views)

Hi,

 

one possibility without even using the Advanced  Analysis Library is to use the 'point frequency' parameter in PlotXY:

 

PlotXY ( plot_handle, graph_control, x_array, y_array, 20000, VAL_DOUBLE, VAL_DOUBLE, VAL_THIN_LINE, VAL_EMPTY_SQUARE, VAL_SOLID, 40, VAL_RED); this would plot every 40th point out of your 20000 data points.

0 Kudos
Message 2 of 3
(2,957 Views)

Hi,

 

if you want to use your decimated number of points for other purposes as well, not just for plotting, you could use an extra function from the AAL: Decimate (), which can simply reduce the number of data points, or reduce them with averaging.

 

Wolfgang

0 Kudos
Message 3 of 3
(2,952 Views)