-
-
-
dingxiubing | 当前状态:在线
总积分:8127 2025年可用积分:0
注册时间: 2006-07-13
最后登录时间: 2020-12-10
-
-
Introduction to LabVIEW-Three-Hour Course 3
dingxiubing 发表于 2008/9/11 12:17:04 820 查看 0 回复 [上一主题] [下一主题]
手机阅读
Use the Controls palette to place controls and indicators on the front panel. The
Controls palette is available only on the front panel. Select Window»Show
Controls Palette or right-click the front panel workspace to display the Controls
palette. You also can display the Controls palette by right-clicking an open area on
the front panel. Tack down the Controls palette by clicking the pushpin on the top
left corner of the palette.
Use the Functions palette, to build the block diagram. The Functions palette is
available only on the block diagram. Select Window»Show Functions Palette or
right-click the block diagram workspace to display the Functions palette. You also
can display the Functions palette by right-clicking an open area on the block
diagram. Tack down the Functions palette by clicking the pushpin on the top left
corner of the palette.
If automatic tool selection is enabled and you move the cursor over objects on the
front panel or block diagram, LabVIEW automatically selects the corresponding
tool from the Tools palette. Toggle automatic tool selection by clicking the
Automatic Tool Selection button in the Tools palette.
Use the Operating tool to change the values of a control or select the text within a
control.
Use the Positioning tool to select, move, or resize objects. The Positioning tool
changes shape when it moves over a corner of a resizable object.
Use the Labeling tool to edit text and create free labels. The Labeling tool changes
to a cursor when you create free labels.
Use the Wiring tool to wire objects together on the block diagram.
Click the Run button to run the VI. While the VI runs, the Run button appears
with a black arrow if the VI is a top-level VI, meaning it has no callers and
therefore is not a subVI.
Click the Continuous Run button to run the VI until you abort or pause it. You
also can click the button again to disable continuous running.
While the VI runs, the Abort Execution button appears. Click this button to
stop the VI immediately.
Note: Avoid using the Abort Execution button to stop a VI. Either let the VI
complete its data flow or design a method to stop the VI programmatically. By
doing so, the VI is at a known state. For example, place a button on the front
panel that stops the VI when you click it.
Click the Pause button to pause a running VI. When you click the Pause button,
LabVIEW highlights on the block diagram the location where you paused
execution. Click the Pause button again to continue running the VI.
Select the Text Settings pull-down menu to change the font settings for the VI,
including size, style, and color.
Select The Align Objects pull-down menu to align objects along axes, including
vertical, top edge, left, and so on.
Select the Distribute Objects pull-down menu to space objects evenly,
including gaps, compression, and so on.
Select the Resize Objects pull-down menu to change the width and height of
front panel objects.
11
Select the Reorder pull-down menu when you have objects that overlap each
other and you want to define which 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.
<the following items only appear on the block diagram toolbar>
Click the Highlight Execution button to see the flow of data through the block
diagram. Click the button again to disable execution highlighting.
Click the Step Into button to single-step into a loop, subVI, and so on. Singlestepping
through a VI steps through the VI node to node. Each node blinks to
denote 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 to step over a loop, subVI, and so on. By stepping
over the node, you execute the node without single-stepping through the node.
Click the Step Out button to step out of a loop, subVI, and so on. By stepping
out of a node, you complete single-stepping through the node and go to the next
node.