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

I would like to run two generators of random numbers (RNG) in the same vi. The first GNA go all the time that the vi is running. But I would like to be able to control the second RNG (turn on and off at will). I consider start and stop buttons wired for the while loop to control the GNA. I tried a few different configurations but none work so far. I have included a simple vi with the start and stop buttons. I don't know how to reach my goal with them. Thanks for your help.

Like this:

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

Tags: NI Software

Similar Questions

Maybe you are looking for