|
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
|