Connexions

You are here: Home » Content » Temperature Application VI
Content Actions
Lenses

What is a lens?

Lenses

A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual Connexions member, a community, or a respected organization.

This content is ...
Affiliated with (?)
This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • This module is included in aLens by: National InstrumentsAs a part of collection:"LabVIEW Graphical Programming Course"

    Comments:

    "A full introductory course on programming with LabVIEW."

    Click the "National Instruments" link to see all content affiliated with them.

    National Instruments
Also in these lenses
  • This module is included inLens: Connexions Books Available for Print on Demand
    By: ConnexionsAs a part of collection:"LabVIEW Graphical Programming Course"

    Comments:

    "This book is available through the Connexions beta version of print-on-demand from online materials."

    Click the "Printable Books" link to see all content selected in this lens.

    Printable Books
Tags

(?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

Temperature Application VI

Module by: National Instruments

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.

Problem 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.
      tempappxls.png
      Figure 1
    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.
      tempapp.png
      Figure 2
  2. Save the VI as Temperature Application.vi in the C:\Exercises\LabVIEW Basics I directory.

Comments, questions, feedback, criticisms?

Discussion forum

Send feedback