Vernier Software and Technology
Vernier Software & Technology

Above Threshold Warning of Temperature Data

Introduction

In the following exercise, you will create a program using the Analog Express VI that records temperature data. The code will allow the user to display the data in Celsius or Fahrenheit units. In addition, a threshold value is compared to the temperature measurement and a message is displayed to alert the user when the temperature is above the threshold.

Objectives

In this exercise, you will

  • Create a LabVIEW VI to collect temperature data.
  • Become familiar with an Enumerated control.
  • Warn the user when the temperature is above a threshold value.
  • Incorporate code that makes decisions based on user input and numeric comparison.

Sensors and Equipment

This activity features the following Vernier sensors and equipment.

Additional Requirements

You will also need

Hands-On Introduction to NI LabVIEW with Vernier

See other experiments from the lab book.

1Open and Run an Example VI
2Read Microphone Data
3Analyze Microphone Data
4Continuous Read and Analyze Microphone Data
5Read Temperature Data
6Above Threshold Warning of Temperature Data
7Create a Temperature Conversion SubVI
8Control Analog Out, Digital Out and Pulse Out
9Build a Sensor Control Program

Activity 6 from Hands-On Introduction to NI LabVIEW with Vernier Lab Book

<em>Hands-On Introduction to NI LabVIEW<sup>™</sup> with Vernier</em> book cover

Included in the Lab Book

Vernier lab books include word-processing files of the student instructions, essential teacher information, suggested answers, sample data and graphs, and more.

Buy the Book

Go to top