The toolbar contains the following tools, which you can use to run and edit a VI.
|
Run runs the VI. LabVIEW compiles the VI, if necessary. You can run a VI if the Run button appears as a solid white arrow, shown at left. The solid white arrow also indicates you can use the VI as a subVI if you create a connector pane for the VI. |
|
While the VI runs, the Run button appears as shown at left if it is a top-level VI, meaning it has no callers and therefore is not a subVI. |
|
If the VI that is running is a subVI, the Run button appears as shown at left. |
|
While the VI is reserved for call as a subVI, the Run button appears as shown at left. This situation can occur if the VI is a subVI of a VI that is already running or if the VI has a strictly typed VI reference open to it. When the VI is reserved, you cannot run it directly. |
|
The Run button appears broken, shown at left, when the VI you are creating or editing contains errors. Click the broken Run button to display the Error list window, which lists all the errors. If the Run button still appears broken after you finish wiring the block diagram, the VI is broken and cannot run. |
|
Run Continuously runs the VI until you abort or pause execution. |
|
Abort Execution aborts execution of the top-level VI. If more than one running top-level VI uses the VI, the button is dimmed. You also can use the Abort VI method to abort the execution of the VI programmatically. |
|
Pause pauses or resumes execution. When you click the Pause button, LabVIEW highlights on the block diagram the location where you paused execution. Click it again to continue running the VI. The Pause button appears red when execution is paused. |
|
Highlight Execution displays an animation of the block diagram execution when you click the Run button. If the Highlight Execution button appears yellow, execution highlighting is enabled. |
|
Retain Wire Values saves data values. When you click the Retain Wire Values button, LabVIEW saves the values at each point in the flow of execution so that when you place a probe on a wire, you can immediately obtain the most recent value of the data that passed through the wire. This debugging tool can impact the performance of your VI. |
|
Step Into opens a node and pauses. When you click the Step Into button again, it executes the first action and pauses at the next action of the subVI or structure.
|
|
Step Over executes a node and pauses at the next node. |
|
Step Out finishes executing the current node and pauses. When the VI finishes executing, the Step Out button becomes dimmed. |