LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to compare 1000 X 512 arrays

Hello there,
 
I have problem with comparing large amount of arrays. I have 1000 x 512 arrays. That means i have 1000 lines and each line contain 512 elements. I want to compare this 512 elements of each line and short out same one. how can i do? In result i want only the filtered one that means if out of 1000 line if 200 line are same then i want only 800 arrays that means 800 X 512
 
Thanx in advance,
dipen
0 Kudos
Message 1 of 4
(2,679 Views)
  • Is the 2D array sorted (i.e. are the duplicate rows next to each other)?
  • Is the duplicate row always the same or can you have several different rows that are duplicate?
  • What is the datatype of the array?

No matter what, this seems like an easy task. Can you attach a VI containing typical data?

0 Kudos
Message 2 of 4
(2,675 Views)

Hi there,

Thank you for your reply,

Yes it is 2D array but it is not sure that next line would be same as previous line. Actually i have tried to do it by using case structure but in false case it takes default data and that is zero so that line becomes zero but at last it remains 1000 X 512 but it is not we want, we want remove that line so it will be reduce to lower size i.e 300 x 512,

Sorry, Because of christmas my department is close i will surely send you file after 31st

Thank you very much for your kind help,

dipen

0 Kudos
Message 3 of 4
(2,646 Views)
discussion continues here!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(2,591 Views)