LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to do a VI which allow the program to RUn continuously and will stop to run when i press a button?

How to do it? thanks! ^^ Smiley Wink
 
cheers!
0 Kudos
Message 1 of 10
(3,548 Views)
Hi Neoguga:

I think you are describing a While Loop.
Aitortxo.
0 Kudos
Message 2 of 10
(3,545 Views)

Hey neoguga,

Is it a trick question???? Smiley Very Happy Smiley Wink

Any howz, Aitortxo has given u the answer!


 

0 Kudos
Message 3 of 10
(3,541 Views)
it's not a trick question...Maybe my question wasnt specific enough....hmmm...ok here goes...^^
 
Just say i press the RUN button, the program will initialize all the external devices...(the program havent end yet) .The external devices will trigger once i have press the run button...when i change the value in the VI, and i press the ATrigger button again...the external devices will change or respond to the new values that i have just set...( The program still havent end)
 
the program will only end when i stop it not when i press the trigger button...
get it? haha Smiley Very Happy hope i didnt confuse all of u! Smiley Happy
 
 
cheers! ^^
0 Kudos
Message 4 of 10
(3,514 Views)

Hiii, Neoguga

       I think Dev is also right, and another thing you can do for the triggering is you can use the case structure, in which true, when triggerd and false when not triggered, and if this also wont work, just post your vi.

Thanks,

Nishant

Message 5 of 10
(3,506 Views)

Hi,

are looking for something like this?

Regards

Dev

 

 

0 Kudos
Message 6 of 10
(3,503 Views)

yeah it's something like dat...but when i change the value in the VI then press trigger, the oscilloscope dont show any changes.....here's the VI after the changes! Smiley Very Happy

 

0 Kudos
Message 7 of 10
(3,500 Views)

Hi,

That's Bcoz, your configuration is outside the loop.

This part of your code also should be inside the loop and your case structure should encompass the configuration part of your code as well

Regards

Dev

 

0 Kudos
Message 8 of 10
(3,495 Views)
okok thanks! ill try it ok? ill get back to you guys laterz!
cheers!
happy new year to all! Smiley Very Happy
 
 
Smiley Tongue
0 Kudos
Message 9 of 10
(3,493 Views)

thank you!

wish you a happy new year !

all the best

 

0 Kudos
Message 10 of 10
(3,476 Views)