<< Chapter < Page Chapter >> Page >

Click the Run Continuously button, shown at left, to run the VI until you abort or pause execution. You also can clickthe button again to disable continuous running.

While the VI runs, the Abort Execution button, shown at left, appears. Click this button to stop the VI immediately if thereis no other way to stop the VI. If more than one running top-level VI uses the VI, the button is dimmed.

Avoid using the Abort Execution button to stop a VI. Either let the VI complete its data flow or design amethod to stop the VI programmatically. By doing so, the VI is at a known state. For example, place a button on the frontpanel that stops the VI when you click it.

Click the Pause button, shown at left, to pause a running VI. When you click the Pause button, LabVIEW highlights on the block diagram the location where you pausedexecution, and the Pause button appears red. Click the button again to continue running the VI.

Select the Text Settings pull-down menu, shown at left, to change the font settings for the selected portions of the VI,including size, style, and color.

Select the Align Objects pull-down menu, shown at left, to align objects along axes, including vertical, top edge, left,and so on.

Select the Distribute Objects pull-down menu, shown at left, to space objects evenly, including gaps, compression, and soon.

Select the Resize Objects pull-down menu, shown at left, to resize multiple front panel objects to the same size.

Select the Reorder pull-down menu, shown at left, when you have objects that overlap each other and you want to definewhich one is in front or back of another. Select one of the objects with the Positioning tool and then select from Move Forward , Move Backward , Move To Front , and Move To Back .

Select the Show Context Help Window button, shown at left, to toggle the display of the Context Help window.

Type appears to remind you that a new value is available to replace an old value. The Enter button disappears when you click it,press the Enter key, or click the front panel or block diagram workspace.

Block diagram toolbar

When you run a VI, buttons appear on the block diagram toolbar that you can use to debug the VI. The toolbar in appears on the block diagram.

Click the Highlight Execution button, shown at left, to display an animation of the block diagram execution when youclick the Run button. see the flow of data through the block diagram. Click the button again to disableexecution highlighting.

Click the Step Into button, shown at left, to open a node and pause. When you click the Step Into button again, it executes the first action and pauses at the nextaction of the subVI or structure. You also can press the Ctrl and down arrow keys. Single-stepping through a VI steps through the VI node by node. Each node blinks todenote when it is ready to execute. By stepping into the node, you are ready to single-step inside the node.

Click the Step Over button, shown at left, to execute a node and pause at the next node. You also can press the Ctrl and right arrow keys. By stepping over the node, you execute the node without single-stepping through thenode.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Labview graphical programming. OpenStax CNX. Apr 09, 2015 Download for free at https://legacy.cnx.org/content/col11408/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Labview graphical programming' conversation and receive update notifications?

Ask