Saturday, March 30, 2013

ConvertingTemperature from Celsius to Fahrenheit using LabVIEW



Converting Temperature from Celsius to Fahrenheit

 Hi Guys,Well, here’s the program which I did for converting temperature from Celsius to Fahrenheit. I had done this conversion using 3 different methods. But it has only on formula

i.e;                       Fahrenheit = 1.8 * (Celsius) + 32

1st Method is by using Mathematical Expressions like Addition, Multiplication,etc., from Functions Palette - Arithmetic & Comparison - Numeric

2nd Method is by using Formula Node which is available from Functions Palette - Programming - Structural - Formula Node.

3rd Method is by using Formula, which is available from Functions Palette - Arithmetic & Comparison - Formula.
The program for converting temperature from Celsius to Fahrenheit is given below
Program for converting temperature from Celsius to Fahrenheit.
  • For the 1st method, just addition and multiplication is used.
  • For the 2nd method, we use the formula node method, where we have to specify some formula.
  • Here, i have specified the formula as y=m*x+c; and defined m and c as constants which are 1.8 and 32 respectively and x as a variable input.
  • Thus the output is defined by 'y' and given it to the indicator.
  • The last method is quite same as the 2nd but the formula has to be specified in a dialog box and it does the rest...
That is all, the temperature will be converted from Celsius to Fahrenheit.

Regards
KiranSravan

1 comment:

  1. Casino News - DrmCD
    With the passage of HB 288, the first legal 양산 출장샵 gambling license in 서울특별 출장마사지 the 전주 출장샵 state was a long-standing one and 여주 출장마사지 only. It 포항 출장샵 passed the House of Representatives and the

    ReplyDelete