ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remove Duplicate Row From 2d Array

Solved!
Go to solution

Dear All,

 

             I have a 2 D array(String). I want to remove duplicate Row in this 2D array.

 

Thanks and Regards

Himanshu Goyal

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
0 Kudos
Message 1 of 16
(13,179 Views)
0 Kudos
Message 2 of 16
(13,173 Views)

Hi niscada,

  Can you post the 2-d array from which you want to remove the duplicates?

 

Thanks and regards,

srikrishnanF

Regards,
Srikrishna


0 Kudos
Message 3 of 16
(13,166 Views)

As noted by Adnan, let's keep the discussion to the original thread.

0 Kudos
Message 4 of 16
(13,154 Views)

Actually, the other (duplicate) thread has not beens answered, and it's a LabVIEW problem not related to real time measurement and control. I suggest we continue the discussion here instead. This is the correct forum! 😉

 

 

0 Kudos
Message 5 of 16
(13,149 Views)

Are the duplicate rows adjacent?

0 Kudos
Message 6 of 16
(13,145 Views)

 


@altenbach wrote:

Actually, the other (duplicate) thread has not beens answered, and it's a LabVIEW problem not related to real time measurement and control. I suggest we continue the discussion here instead. This is the correct forum! 😉


 

That's fine. As long as we just stick to one place...

 

So... as a follow-up to original poster: did you try a search?

0 Kudos
Message 7 of 16
(13,140 Views)

Dear All,

 

Instant of this fight the forums or thred right place, i feel we think about the solution. 

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
0 Kudos
Message 8 of 16
(13,117 Views)
Solution
Accepted by topic author Himanshu_Goyal

I'm repeating from memory a technique I first saw Darin.K use. It's a clever way to exploit the Variant Attributes:

 

21083iCD0674FC5FCF53DA

Message 9 of 16
(13,109 Views)

Dear JackDunaway,

 

Thanks

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
0 Kudos
Message 10 of 16
(13,102 Views)