C OR F THERMOMETER TUTORIAL
INTRODUCTION
In this exercise, you will create a thermometer VI that will display temperature data in Centigrade or in Fahrenheit. It will utilize the C to F Sub VI you created in the last tutorial. A Boolean Switch Control and the Select Function are used to choose between C or F outputs on the indicators.
Create a new VI
Create the Front Panel and Block Diagram up to this point:
Add the C to F Sub VI to the Block Diagram
Pop-up on the Block Diagram > Functions > Select a VI
Select the C_to_F.vi from the file manager
Place the Sub VI on the Block Diagram and wire it as shown:
Run the VI Continuously and observe the results
Save the VI as C_or_F_Thermometer.vi
|