LabVIEW Tutorial

Assignment 2


Working with SubVIs

Assignment

Create a VI that simulates a temperature-monitoring device. Use the signal simulator to simulate temperatures between 90 and 100 degrees C. Show the temperatures on a thermometer with a digital display. Create a sub-VI (with its own unique icon) that converts the Celcius temperature to both Kelvin and Fahrenheit. The converted temperatures should be displayed on the front panel as well.

 

Textbook Sections

Chapter 4 (pp 172-193); Chapter 11 (pp 618-620)

Programming Hints

The Simulate Waveform express VI can be found on the functions palette [Programming » Waveform » Analog Waveform » Waveform Generation » Simulate Signal]. Set the signal type to DC, with an offset of 95. Click the "Add Noise" box, set the noise type to "Uniform White Noise," and set the noise amplitude to 5. The other settings can remain at the default values.
The thermometer can be found in the controls palette [Modern » Numeric » Thermometer].

 

Front Panel (example)

Link to working version of VI (no block diagram access)

Assignment 1 Front Panel


Back to...

LabVIEW Tutorial LabVIEW for Analytical Chemistry
Concordia College Mark Jensen's homepage
Concordia Chemistry Department

 

 

This page was last updated on July 27, 2011 .