07-28-2017 10:09 AM
@Altenbach
http://forums.ni.com/t5/LabVIEW/how-to-display-duplicate-strings-in-1d-string-array/td-p/2797222
The code is in the thread marked solution. (Obviously )
mcduff
07-28-2017 10:18 AM
@mcduff wrote:
http://forums.ni.com/t5/LabVIEW/how-to-display-duplicate-strings-in-1d-string-array/td-p/2797222
The code is in the thread marked solution. (Obviously )
Thanks. (Yes, that was just a 2 minute effort. 😮 But as I said in that post "Note that there are significantly more efficient ways to do all this, but the current code is sufficient for small arrays." :D)
07-28-2017 10:22 AM
@Altenbach
For my purposes, I had no more than an eight element array of names for DAQmx channels that the user could enter. Your solution worked perfectly to find any duplicates in the name array. It was late Sunday and I was trying to finish up, so at that point the code was sufficiently efficient.
mcduff
07-28-2017 10:48 AM
I did try your suggestions (see attached code under the "Check Name" state).
Thanks.
07-28-2017 11:02 AM
@hiNI wrote:
I did try your suggestions (see attached code under the "Check Name" state). .
It always helps to quote relevant parts of the post you are replying to (as I just did! 😄 Notice the [Quote] button in the upper right of the edit window?). Nobody knows what "your suggestion" was from reading your post..
07-28-2017 01:35 PM
Sincerest apologies...
The "your suggestions" that I was referring to were the comments by Minions (in his attached code snippet) and also by Bob_Schor.
Thanks,
hiNi