View Single Post
  #2   Spotlight this post!  
Unread 05-01-2009, 22:28
Larry Lewis's Avatar
Larry Lewis Larry Lewis is offline
The Spiky Hair Guy
FRC #1511 (Rolling Thunder)
Team Role: Leadership
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Rochester, New York
Posts: 109
Larry Lewis is a name known to allLarry Lewis is a name known to allLarry Lewis is a name known to allLarry Lewis is a name known to allLarry Lewis is a name known to allLarry Lewis is a name known to all
Re: Labview SubVI return and continue looping

Quote:
Originally Posted by skidmarks View Post
We wish to have several VIs running simultaneously, and we want each one to loop continuously. We would have one section which would quickly return, and another than loops indefinitely. While I do not believe this is possible, other team members and mentors say they saw how to do it but have since forgotten. Is this possible, and how is it possible if so?
I would probably loop each one individually in a while loop. Just create a new loop for each subvi you want to run. If you wanted to constantly return values for one of them place a indicator in the loop. Every time it runs it will update the value on the indicator.

If you want to stop all the processes at the same time just use a stop button control to one of the while loops condition terminal and create local variables of that stop button and place them in the other loops. That way when one stops they all should stop.
Reply With Quote