Developing basic application with Labview Application and getting virtual instrument.
Arithmetic operations using Lab View
Lets implement the arithmetic operations using Lab view
Operation:
- For addition; X+Y= Result
- For subtraction; X-Y= Result
- For Multiplication; X*Y= Result
- For division; X/Y= Result
Algorithm:
- Step1: create two controls X and Y on the input panel.
- Step2: create two Numeric indicators on the front panel.
- Step3: create an addition icon on the block diagram side.
- Step4: connect the icon with the two controls and indicator
- Step5: Run the program and view the result
- Step6: Repeat the above process by replacing the addition icon with that of subtraction, multiplication and division
- Step7: View the result
Result:
The arithmetic operations are implemented using Labview.
![]() |
Implementing Addition, Subtraction, Multiplication and Division |
It can be modified with Addition and multiplication of multiple inputs.
![]() |
VI For Addition and Multiplication of Multiple Input |
Lets further it and develop a VI to find the slope between two points.(x1,x2) (y1,y2)
Hint: slope = [latex]\frac{y_{2}-y_{1}}{x_{2}-x_{1}}[/latex]
![]() |
Finding Slope |
Lets make another one to convert celsius to farenheit. The formula used is 1.8*C + 32 = F
![]() |
Converting Centigrade to Farenheit |
No comments:
Post a Comment