LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to determine errors in vi's

I have been going through the tutorials, and somehow I created an error in the first tutorial that I can't figure out. When I try to run the vi from the front pannel, LabVIEW immediately jumps to the block diagram which is highlighted black and then has a flashing doted outline aroung the while loop. This stops as soon as I terminate operation of the vi. I have repeated the settings within the tutorial so that I know there should be no conflicts. Short of deleteing the entire vi, how do I determine what the problem is and repair the vi?
0 Kudos
Message 1 of 9
(3,797 Views)
When you clicked the run button, the Error List window should show telling you what's the problem. What does it says?
www.vartortech.com
0 Kudos
Message 2 of 9
(3,792 Views)
It says that there are no errors in this vi.
0 Kudos
Message 3 of 9
(3,791 Views)

Did you possibly put in a breakpoint? Try to step into the loop.

hope this helps

Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 4 of 9
(3,784 Views)

Hello,

Does your VI have a broken run arrow?  If so, then the only thing I know of that can cause a While Loop to be "broken" is if you don't wire anything to the conditional terminal (the little stop sign) in the bottom corner.  If the run arrow is not broken, and you run the VI and things on the diagram get highlighted, you have have a breakpoint on your While Loop.  Make sure you don't have a breakpoint anywhere (it would be shown as a red dot, or a red outline on a structure/diagram that has a breakpoint).

If all else fails, attach a screenshot or the VI itself and we can help you pin down the problem.

-D

0 Kudos
Message 5 of 9
(3,779 Views)
I think that I removed all break points, after setting one accidentally. If there are others how do I find them, or step through them? If there are no breakpoints then what?
0 Kudos
Message 6 of 9
(3,782 Views)

You can use the Find function to find breakpoints (they're under the "Other" submenu in the Find dialog).  If you can't find any, post your VI (or a screenshot of your VI) in your response and we'll figure it out.

-D

0 Kudos
Message 7 of 9
(3,770 Views)
To make sure you have removed the breakpoints; in LV 7.1 click Browse>>Breakpoints, in LV 8.0 click Operate>>Breakpoints. Make sure you have the vi you want to check open. To single step through the vi use the top tool bar and click on the icon that looks like an arrow pointing at a box.
Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 8 of 9
(3,771 Views)
I was working on my laptop, so I had to shutdown to get to a system that had internet access to contact the forum. Once I restarted LV and restarted the vi; things worked just fine. There were no breakpoints set. The stop sign in the corner was wired in just fine. I spent 30 min trying to make the vi look exactly like it did in the tutorial.
 
I have no idea what is going on or why things got screwed up.
 
Thanks for all the advice.
0 Kudos
Message 9 of 9
(3,767 Views)