LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I control the activity of two while loops independently in the same vi?

Solved!
Go to solution
I would like to run two random number generators (RNG) in the same vi. The first RNG would run the entire time the vi is running. But, I would like to be able to control the second RNG (turn in on and off at will). I am envisioning start and stop buttons wired to the while loop to control the RNG; I have tried a few different setups, but none work so far. I have included a simple vi with the start and stop buttons. I am just not sure how to accomplish my goal with them. Thanks for your help.
0 Kudos
Message 1 of 2
(2,515 Views)
Solution
Accepted by topic author dkopp

Like this:

 

RND.png

 

You forgot to attach your vi's.  You don't need two while loops.

 

Message Edited by tbob on 06-08-2010 12:03 PM
- tbob

Inventor of the WORM Global
Message 2 of 2
(2,501 Views)