View Single Post
  #6   Spotlight this post!  
Unread 16-01-2009, 13:18
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: Wait.VI on basic motor tutorial, need clarification.

I've attached a really simple VI (unfortunately with LabVIEW 8.2 so I created a PDF of the block diagram).

It's a while loop that runs forever and just increments a number. The Wait VI forces this loop to execute every 10ms. Without that Wait VI, this would run stupid fast and hog the CPU.

Please try using Highlight Execution mode. It really helps (IMHO) to understand how programs flow in the LabVIEW world. In this particular instance (if you could run it), you'd find that the Wait VI and the increment function operate in parallel. Any other functions that are dropped in the while loop will operate in parallel as long as they don't share data/wires.

Russ
Attached Files
File Type: pdf How to use a Wait VI.pdf (17.0 KB, 70 views)
Reply With Quote