LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array with unique content

Hello,

an text-array is filled via a file, but its content should be unique -
that means when the same text is already in the array it should be
ignored. Is there any convenient way to achieve that? The "usual" way
to solve that is not the problem!


Thanks and greetings
Udo
0 Kudos
Message 1 of 3
(2,939 Views)
Hi Udo,

what is convinient? What is usual?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,931 Views)
I'm guessing the "usual" method is to loop through the text array and then inside the loop build up a new text array that's the original with the duplicates removed. What is it that you're trying to solve? Memory issue, speed? Not ephemerally elegant?
0 Kudos
Message 3 of 3
(2,902 Views)