LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I find an element in a combo box

 

How do I find an  element in  a combo box. A similar high level coding could be, say, with a combo box name comb1:

 

if comb1[6]="John", then do this   /* John is the 7th entry in the combo array*/ 

else do this

 

better yet, if I want to achieve something like this:

 

if any entry in the comb1 = "John" then do this , else do this

 

How do I do this in LV?

 

 

0 Kudos
Message 1 of 3
(2,252 Views)
Like this
Tim
GHSP
0 Kudos
Message 2 of 3
(2,245 Views)

You can use the Strings[] property with a Search 1D Array.

 

Message Edited by Dennis Knutson on 02-12-2010 12:39 PM
Download All
0 Kudos
Message 3 of 3
(2,242 Views)