Experiment No.1: Components of Lab View: Objective: To Open, and Explore The Components of Labview. Theory
Experiment No.1: Components of Lab View: Objective: To Open, and Explore The Components of Labview. Theory
You build the front panel with controls and indicators, which are the interactive
input and output terminals of the VI, respectively. Controls are knobs, push
buttons, dials, and other input devices. Indicators are graphs, LEDs, and other
displays. Controls simulate instrument input devices and supply data to the block
diagram of the VI. Indicators simulate instrument output devices and display data
the block diagram acquires or generates.
Procedure:
LabVIEW Environment
When you launch LabVIEW, the following dialog box appears.
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. Single-
stepping 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.
The Warning button appears when there is a potential problem with the block
diagram, but it does not stop the VI from running. You can enable the Warning
button by selecting ToolsOptions and selecting Debugging from the top pull-
down menu.
Tools Palette
You can create, modify, and debug VIs using the tools located on the floating
Tools palette. The Tools palette is available on the front panel and the block
diagram. A tool is a special operating mode of the mouse cursor. When you select
a tool, the cursor icon changes to the tool icon. Use the tools to operate and
modify front panel and block diagram objects.
Functions Palette
Use the Functions palette to build the block diagram. The Functions palette is
available only on the block diagram. Select WindowShow Functions Palette or
right-click the block diagramworkspace 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.
Saving VIs
Select Save, Save As, Save All, or Save with Options from the File menu to save VIs
as individual files or group several VIs together and save them in a VI library. VI
library files end with the extension .llb. National Instruments recommends that
you save VIs as individual files, organized in directories, especially if multiple
developers are working on the same project. LabVIEW uses native file dialogs for
loading and saving. You can disable this feature by selecting ToolsOptions and
selecting Miscellaneous from the top pull-down menu.