LabVIEWBasics I-Exercise3 1
LabVIEWBasics I-Exercise3 1
Scenario
You are given the design information for a weather station project that you
must implement. Using the information, create a front panel that will be the
user interface for the Weather Station VI.
Design
Initialize
Acquisition
Time Elapsed=TRUE
and
Stop=False
Warning=TRUE
Analysis
Datalog
Time Elapsed=FALSE
and
Stop=FALSE
Time Check
Warning=FALSE
Stop=TRUE
Implementation
Each input entered and each output displayed must appear on the front
panel. Complete the following instructions to create a front panel similar to
that shown in Figure 3-4. This front panel retrieves the upper and lower
temperature limits and a stop Boolean and displays the warning string and
the temperature history.
Figure 3-4. Front Panel for the Temperature Weather Station Project
Note You modify the behavior and appearance of the waveform chart in another
exercise.
❑ Use the font tools on the front panel toolbar to change the size, color
and font of the indicator.
Tip You can enter text into the Warning indicator to test the fonts that you choose.
❑ Increase the size of the Stop button by selecting a corner of the Stop
button with the selection tool and dragging the area to the desired
size and shape.
9. Add labels and decorations and arrange the objects on the front panel to
increase the usability. Refer to Figure 3-4 for suggestions, or design the
front panel your own way. Tips:
❑ The square around the temperature ranges and the triangles used to
illustrate heatstroke and freeze is available in the Decorations
category of the Controls palette.
❑ Visually group all controls together on the left side of the front
panel.
❑ Visually group all indicators together on the right side of the panel.
The Stop button is the only exception to this rule, as it is generally
placed in the lower right side of the panel.
❑ Use colors where appropriate on the front panel. For example, the
Stop button is usually red, heat is generally associated with red, and
cold is generally associated with blue.