Lab No 2
Lab No 2
Lab No 2
OBJECT:
Follow instructions to design a virtual temperature converter using LabVIEW software.
THEORY:
Temperature Conversion in LabVIEW.
Temperature is measured with different units at different places across the world. However,
there are three basic standard units for measuring the temperature i.e., Celsius, Fahrenheit and
Kelvin. We can convert them into each other by performing some mathematical operations.
The standards of these scales with reference to the freezing and boiling point of water.
"Celsius" scale is basically the scale based on 0 degrees for the freezing point of water and 100
degrees for the boiling point of water. "Fahrenheit" scale is based on 32 for the freezing point
and 212 for the boiling point of water. Kelvin scale is based on 273 for the freezing point and
373 for the boiling point of the water. Fahrenheit, Celsius and Kelvin are denoted by "F", "C"
and "K" respectively. There are mathematical expressions to convert the temperature from one
scale to another scale.
STEPS OF CONSTRUCTION:
1. Select File» New to open a new front panel.
2. Create a numeric digital control. Use this control to enter the value for degree Celsius.
To wire from one terminal to another, use the Wiring tool to click the first terminal,
move the tool to the second terminal, and click the second terminal.
9. Display the front panel by clicking it or by selecting Window» Show Panel.
10. Enter a number in the digital control and run the VI.
Use the Operating tool or the Labeling tool to double-click the digital control and type a
new number.
Click the Run button to run the VI.
Try several different numbers and temperature converters and run the VI again.
11. Select File» Close to close the Convert Celsius to Fahrenheit VI.
RESULT:
CONCLUSION:
A LabVIEW temperature converter effectively converts temperatures between units, provides a
user-friendly real-time interface, error management, and precise formula-based conversions.