LabView Manual
LabView Manual
Prepared By :Mrs.Divya K
Name of the instructor :Mr.Anil Kumar Shetty
DEPARTMENT OF
ELECTRONICS AND COMMUNICATION ENGINEERING
List of Experiments
Demonstration Experiments:
9. Build a Virtual Instrument that simulates a heating and cooling system. The
system must be able to be controlled manually or automatically.
10. Build a Virtual Instrument that simulates a Basic Calculator (using formula node).
12 Demonstrate how to create a basic VI which calculates the area and perimeter of a circle.
Aim: To perform basic arithmetic operations - addition, subtraction, multiplication and division
using Labview.
Procedure:
Step 3: The push buttons/Toggle Switches are given as inputs and numeric indicators are given
as output they are selected by right clicking on the front panel.
Step 4: Different arithmetic operators such as addition, subtraction, multiplication and division
are generated in block diagram panel.
Step 5: Using wiring operation inputs and outputs are connected to the respective operators in the
block diagram panel.
Step6:Input values are given in the front panel and the program is executed. Hence the output is
generated.
Block Diagram:
Front Panel:
Result:
Thus the arithmetic operations were performed and the resulti s verified using lab view.
Exp No:2
BOOLEAN OPERATIONS
Theory:
Truth Table of Boolean Operations are given in figure below. The Boolean inputs are given by
push buttons/Toggle Switches in front panel .The output is observed via round/square LEDs.
Procedure:
Step 3: The push buttons/Toggle Switches are given as inputs and round/square LED as
output.
Step 4: Different Boolean operations such as AND, OR, XOR, NOT, NAND are selected from
the block diagram panel.
Step5: Boolean inputs and outputs are wired in the block diagram panel.
Step6: Logicvalues 0&1 are given in the front panel and the program is executed.
Block diagram:
RESULT:
ExpNo:3
Procedure:
Step8: Inputs are given in the front panel and the program is executed.
Block Diagram:
Result: Thus the sum of ‘n’ natural numbers using FOR loop is performed in LABview.
ExpNo:4
FACTORIALOFAGIVENUMBERUSINGFOR LOOP
Block Diagram:
Result: Thus the factorial of a given number using FOR loop is performed in LAB view.
ExpNo:6
Algorithm:
Step2:Right click on the block diagram panel, select program, goto structures and select a
WHILE loop.
Step3: Right click on the border of the WHILE loop and select add shift register, borders are
converted into shift register.
Step4: Using wiring operations required connections are given in the block diagram.
Step5: Inputs are given in the front panel and the program is executed.
Result: Thus the factorial of the given number using WHILE loop is performed.
ExpNo:7
Result: Thus the even numbers from the given set of numbers is sorted using WHILE loop in an
array.
ExpNo:8
Algorithm:
Result: Hence the maximum and minimum values of array were displayed using Labview.
Output/Front panel:
Experiment-10
Block Diagram:
Procedure: