LabView Exercises (1) - 1
LabView Exercises (1) - 1
Build a VI
Complete the following steps to create a VI that takes a number representing kilometers per hour
and converts it to numbers representing miles/hour, feet/second, and furlongs/fortnight
Front Panel
1. Select File»New VI to open a new front panel.
2. (Optional) Select Window»Tile Left and Right to display the front panel and block
diagram side by side.
3. Create a numeric digital control. You will use this control to enter the value for miles per
hour (mph).
a. Right click on the Front Panel to bring up the Controls palette.
Select the digital control on the Controls»Express»Numeric Controls palette.
b. Move the control to the front panel and click to place the control.
c. Type kph inside the label and click outside the label. If you do not type the
name immediately, LabVIEW uses a default label. You can edit a label at any
time by using the Labeling tool.
4. Create three numeric digital indicators. You will use these indicators to display the
values for mph, fps, and furlongs/fortnight.
a. Select the digital indicator on the Controls»Express»Numeric
Indicators palette.
b. Move the indicator to the front panel and click to place the indicator.
c. Type mph inside the label and click outside the label.
d. Repeat for fps and furlongs/fortnight.
LabVIEW creates corresponding control and indicator terminals on the block diagram.
The terminals represent the data type of the control or indicator. For example, a DBL
terminal represents a double-precision, floating-point numeric control or indicator.
Not e Control terminals have a thicker border than indicator terminals.
Note: Block Diagram terminals can be viewed as icons or as terminals. To change the way
LabVIEW displays these objects right click on a terminal and select View As Icon.
End of Exercise
End of Exercise
Block Diagram
End of Exercise