View Single Post
  #2   Spotlight this post!  
Unread 05-01-2011, 19:48
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: VIs stop running after two seconds

Since it sounds like single stepping is an easy and quick way to reproduce the issue, I'd recommend placing probes on a few wires, or perhaps turning on execution hilighting (the light bulb on the toolbar), and stepping through the code to determine if there is a logic issue, what error may be reported, etc.

By the way, if there is an error you'd like to look up, there is a tool in the Help menu called Explain Errors which lets you type in the code and get some additional info.

If it still doesn't make sense, post a screenshot or attach a VI to help narrow it down.

Just guessing, it sounds like the VI is finishing because the loop and all other code has completed. When a LV VI terminates, there are no lights or dialogs, it simply set the arrow back so that you can run again.

Greg McKaskle
Reply With Quote