LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Append number to worksheet name if current name exist

Solved!
Go to solution

@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 Smiley LOL)

 

mcduff

Message 11 of 16
(836 Views)

@mcduff wrote:

@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 Smiley LOL)

 


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)

0 Kudos
Message 12 of 16
(834 Views)

@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

0 Kudos
Message 13 of 16
(831 Views)

I did try your suggestions (see attached code under the "Check Name" state). 

 

Thanks.

0 Kudos
Message 14 of 16
(820 Views)

@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..

0 Kudos
Message 15 of 16
(815 Views)

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

0 Kudos
Message 16 of 16
(799 Views)