Community Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Reduce Data Array

 

Introduction

Sometimes there is a need to reduce the amount of elements in an data array for mid and post processing reasons. This is a simple example on how this can be done.

 

 

Steps to Complete

Download the attached VI so that you can view in detail how the data array is reduced. In the block diagram, an array of random numbers is built and then passed to another for loop that will create a new array that will contain the reduced data set.bd.jpg

 

 

 

In the front panel you will see the array of random numbers (Input Array), an array of Booleans that show if an element has been removed or not (Boolean Element Array which is in negative logic), and the final Output Array.

fp.jpg

 

Additional Notes

LabVIEW Help Grouping Data with Arrays and Clusters

LabVIEW Help: Array Functions

 

Joshua B.
National Instruments