LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

get element in combo box indicator


jack47 wrote:
That's how I had it, but the snippet tools converted it to a reference.  That's what I get for trying to be too fancy.

 

Maybe you can seek comfort with the poster of this thread Smiley Very Happy Smiley Very Happy
0 Kudos
Message 11 of 15
(1,290 Views)

perfect, it looks fine, now i can select the elements from combobox and send them to another vi.

I neet to make the second vi run only after i finished my selection and it must run only once. 

should i put it in a while or something? is there any button which gives only one true signal when you click on it and it is false for default to make the while run only one time? 

see my vi

thanks

 

diego

0 Kudos
Message 12 of 15
(1,289 Views)
Yes, you could use a bollean control connected to a case structure in your while loop.  Put a short 'millisecond wait' in the false case, and your subvi in the true case.  Then it will only execute when the bollean is true.
0 Kudos
Message 13 of 15
(1,281 Views)

Put a case structure in the loop and wire you button to the case selector.

Select the mechanical action "Latch When Released" for that button.

Something like this

 

SNAG-031.jpg

 

 

Edit: Jack beats me but I had to draw some wires Smiley Sad

Message Edited by Alain S on 08-14-2009 05:54 PM
Message Edited by Alain S on 08-14-2009 05:55 PM
Message 14 of 15
(1,278 Views)
You should probably set the boolean 'mechanical action' to 'Latch when released'.  That way the VI will read it once and act on the true, but then set the value back to false.
Message 15 of 15
(1,277 Views)