Build a VI that displays two plots, a random plot and a
running average of the last four points, on a waveform
chart in sweep update mode. Use the
following tips:
For Loop
(While Loop.
shift register with three left
terminals to average the last four data points.
Random Number (0-1) function located
on the Functions>>Arithmetic &
Comparison>>Express Numeric palette to generate the
data.
Bundle function located on the
Functions>>All Functions>>Cluster palette to
group the random data with the averaged data before
plotting.
Save the VI as Random Average.vi in the
C:\Exercises\LabVIEW Basics I directory.
Build a VI that continuously measures the temperature once per second and displays the temperature on a scope chart. If the temperature goes above or below limits specified with front panel controls, the VI turns on a front panel LED. The chart plots the temperature and the upper and lower temperature limits. You should be able to set the limit from the following front panel.
Save the VI as Temperature Limit.vi in the
C:\Exercises\LabVIEW Basics I directory.
Modify the VI you created in Exercise 2 to display the maximum and minimum values of the temperature trace.
shift registers and two Max &
Min functions located on the Functions>>All
Functions>>Comparison palette.
Select File>>Save As to save the VI as Temp Limit (max-min).vi
in the C:\Exercises\LabVIEW Basics I directory.
"A full introductory course on programming with LabVIEW."