LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Eliminate a particular data from Array

Hello, users and companions of LabVIEW and National Instruments Products, Hello, I'm working in a proyect with 2 Incremental Encoder Mitutoyo, I have a Digital Read Out (DRO) System for read the encoders,
The proyect consist in measure a Parabolic Suspension for the cars; using 2 encoders, in X Length an Y for the thickness.
 
I have a subroutine for read data from the DRO, then the data are storage in an array.
 
Then in other sub-VI extract  certain information with the next criterion:
 
In the information that I obtain I don't need:
 
1.- Data that are equal to zero in X and Y columns
2.- Data that are equal in X and Y columns
 
But now I need eliminate the first data from an array (X and Y) between two data that are equals in X Column. (See Extract Data2.bmp) Only I need the second data.
 
I want if some of you, can I help me? for complete this task.
 
The VIs what maxe this task is anexed in this mail.
 
I value your aid. Thanks for your help, Greetings and Blessings.
 
Ing. Jorge Alonso Cardozo Rodriguez.
Download All
0 Kudos
Message 1 of 2
(2,575 Views)

Here is a pic of a VI that will get the first column of the 2D array and then get the index's of all the dupicates in that column.  Then use the delete from array to pull those rows from the 2D array.

    

You can get the green VI from OpenG and it is called "Remove Duplicates from 1D Array". 

 

Message Edited by paulmw on 11-13-2006 09:08 AM

Download All
0 Kudos
Message 2 of 2
(2,550 Views)