LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Delete repeated rows from table

Hello, im having a trouble...
 
I have a 2D array (Table) as you may see in the image.
 
I want to delete all repeated rows except two, i want to leave one row with 123QSD and all the remaining columns and the 344MX and all the remaing columns.
 
Thanks!!
0 Kudos
Message 1 of 4
(3,095 Views)
Hi ethan85,
so you want to remove all the duplicate entries from the first coulmn, but you want to delete the complete row, right? In this case index the first column and search for duplicate entries and remove them, or you can also write the not duplicate entries into a new 2D array.

Hope it helps.
Mike
0 Kudos
Message 2 of 4
(3,075 Views)
See here for examples. You might also be interested in the Remove Duplicates from 1D Array.vi from the OpenG array library.
0 Kudos
Message 3 of 4
(3,061 Views)
Thanks JB one of the examples worked!
 
0 Kudos
Message 4 of 4
(3,050 Views)