View Single Post
  #3   Spotlight this post!  
Unread 02-02-2009, 09:23
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Telling Labview which loop to execute first

Nope. The sequencing is defined by dataflow. If one loop produces something that the other reads, they are automatically ordered. If no data dependency exists, LV assumes order isn't important and allows them to run at the same time.

If you want to order them, you can take an output of the first and wire it to the second, even if it isn't really needed. A better procedure if you are doing I/O -- which is where sequencing may also be important even where there is no data. Take the error wire from the I/O in the first loop, and wire to the input of the I/O in the second loop. This has the added benefit of actually chaining the errors.

Greg McKaskle
Reply With Quote