Saturday, September 25, 2010

Temperature Application VI

Summary: In this exercise, you will apply what you have learned so far in this course�structures, shift registers, waveform charts, arrays, graphs, file I/O, and so on.

EXERCISE 1

  1. Build a VI that performs the following tasks.
    1. Takes a temperature measurement once every second until you stop the VI or an error occurs.
    2. Displays both the current temperature and the average of the last three measurements on a waveform chart.
    3. If the temperature exceeds a limit, turns on an LED.
    4. After each measurement, logs the date, time including seconds, temperature, average of the last three measurements, and a one-word message describing whether the temperature is normal or over the limit. Logs data so each item appears in one column of a spreadsheet, as shown in Figure 1.
      Figure 1
      Figure 1 (tempappxls.png)
    5. After you stop the acquisition, plots both the raw temperature data and a best-fit curve in an XY graph and displays the average, maximum, and minimum temperatures.

      TIP: 

      Start with the Temperature Logger VI. To complete this step, use portions of the Temperature Analysis VI.

      TIP: 

      The Build Text Express VI is limited to eight inputs. Use multiple Build Text Express VIs or use the Format into String function. You can build the delimiters into the format string to require fewer inputs.
      The front panel should be similar to Figure 2.
      Figure 2
      Figure 2 (tempapp.png)
  2. Save the VI as Temperature Application.vi in the C:\Exercises\LabVIEW Basics I directory.

Content actions

GIVE FEEDBACK:

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Popular Projects

My Blog List

Give support

Give support
Encourage Me through Comments & Followers

Followers