If a VI does not run, it is a broken, or nonexecutable, VI. The Run button often appears broken when you create or edit a VI. If it is still broken when you finish wiring the block diagram, the VI is broken and will not run.
Complete the following steps to find out why a VI is broken.
Click the broken Run button or select Window»Show Error List to display the Error list window, which lists all the errors.
Select the VI you want to correct from the VI List section, which lists the names of all VIs in memory that have errors. The name of the currently active VI is highlighted when you first open the Error list window.
(Optional) Place a checkmark in the Show Warnings checkbox to show all warnings.
Select an error or warning description from the Error list window. The Details section describes the errors and in some cases recommends how to correct the errors or how to find more information about them.
Click the Show Error button or double-click the error name to display the relevant block diagram or front panel and highlight the object that contains the error.
Common Causes of Broken VIs
Complete the following steps to check for the most common reasons why a VI is broken while you edit it.
Confirm that your block diagram has no broken wires.
Confirm that you wired all block diagram terminals.
Determine if a subVI is broken by selecting Window»Show Error List and checking all the entries in the VI List section for errors. You break a subVI if you edit its connector pane after you place its icon on the block diagram of the VI.