0% found this document useful (0 votes)
58 views15 pages

Vabview Manual

This document contains details of 6 experiments conducted in LabVIEW to perform various arithmetic, boolean, and iterative operations. The experiments cover basic arithmetic, boolean logic, calculating the sum and factorial of numbers using for and while loops. Each experiment includes the aim, apparatus, algorithm, block diagram, front panel, inputs/outputs, and result.

Uploaded by

K.anirudh Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views15 pages

Vabview Manual

This document contains details of 6 experiments conducted in LabVIEW to perform various arithmetic, boolean, and iterative operations. The experiments cover basic arithmetic, boolean logic, calculating the sum and factorial of numbers using for and while loops. Each experiment includes the aim, apparatus, algorithm, block diagram, front panel, inputs/outputs, and result.

Uploaded by

K.anirudh Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 15

DECE V SEM

LABVEIW MANUAL
List of Experiments

1. BASIC ARITHMETIC OPERATIONS


2. BOOLEAN OPERATIONS
3. SUM OF ‘n’ NUMBERS USING ‘FOR’ LOOP
4. FACTORIAL OF A GIVE NUMBER USING FOR LOOP
5. SUM OF ‘n’ NATURAL NUMBERS USING WHILE LOOP
6. FACTORIAL OF A GIVE NUMBER USING WHILE LOOP
EXPERIMENT 1: TO PERFORM BASIC ARITHMETIC OPERATIONS

AIM: To perform basic arithmetic operations using Lab view.


APPARATUS: PC, VABVIEW Software
ALGORITHAM:
Step 1: Start the Lab view and select the blank VI.
Step 2: Create front and block diagram panel.
Step 3: Numeric controls 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.
Step 6: Input values are given in the front panel and the program is executed.
Hence the output is generated.

BLOCK DIAGRAM:
FRONT PANEL:

Input: Output:

RESULT: Thus the arithmetic operations were performed and the result
is Verified using lab view.
EXPERIMENT2: TO PERFORM BOOLEAN OPERATIONS USING
VABVIEW.

AIM: To perform Boolean operations using Labview.


APPARATUS: PC, VABVIEW Software.
ALGORITHAM:
Step 1: Start the Labview and select the blank VI.
Step 2: Create front and block diagram panel.
Step 3: To perform Boolean operation push buttons are taken as inputs and round
LED as output.
Step 4: Different Boolean operations such as AND, OR, XOR, NOT, NAND are
selected from the block diagram panel.
Step 5: Boolean inputs and outputs are wired in the block diagram panel.
Step 6: Logic values 0 & 1 are given in the front panel and the program is
executed.

BLOCK DIAGRAM:
FRONT PANEL:
Input: Output:

TRUTH TABLE:

AND: Y=X1.X2 OR: Y=X1+X2

X1 X2
X2 YY

0 0 0
0 1 0
1 0 0
1 1 1
X1
0 0 0
0 1 1
1 0 1
1 1 1
NOT: Y= COMPLIMENT OF X

X Y
0 1
1 0

NAND: NOR

X1 X2
X2 Y
Y

0 0 1
0 1 1
1 0 1
1 1 0
X1
0 0 1
0 1 0
1 0 0
1 1 0

XOR

X1 X2 Y

0 0 0
0 1 1
1 0 1
1 1 0
RESULT: Thus the Boolean operation using LAB view is performed.

EXPERIMENT3: TO FIND SUM OF ‘n’ NUMBERS USING FOR


LOOP.

AIM: To find the sum of ‘n’ numbers using FOR loop.


APPARATUS: PC, VABVIEW Software.
ALOGRITHAM:
Step 1: Create blank VI.
Step 2: Right click on the block diagram panel, select program , go to structures
and select a FOR loop.
Step 3: Right click on the border of the FOR loop and select add shift register,
borders are converted into shift register.
Step 4: Using wiring operations required connections are given in the block
diagram.
Step 5: Inputs are given in the front panel and the program is executed.

BLOCK DIAGRAM:
FRONT PANEL:
Input: OUTPUT:

RESULT: Thus the sum of ‘n’ natural numbers using FOR loop is performed in
LABview.
EXPERIMENT4: TO PERFORM THE FACTORIAL OF A GIVE
NUMBER USING FOR LOOP

AIM: To perform the factorial of a given number using FOR loop.


APPARATUS: PC, LABVIEW Software
ALGORITHAM:
Step 1: Create blank VI.
Step 2: Right click on the block diagram panel , select program , go to structures
and select a FOR loop.
Step 3: Right click on the border of the FOR loop and select add shift register,
borders are converted into shift register.
Step 4: Using wiring operations required connections are given in the block
diagram.
Step 5: Inputs are given in the front panel and the program is executed.

BLOCK DIAGRAM:
FRONT PANEL:
Input: Output:

RESULT: Thus the factorial of a given number is using FOR loop is performed
in LAB view.
EXPERIMENT 5: TO FIND SUM OF ‘n’ NATURAL NUMBERS
USING WHILE LOOP.

AIM: To find the sum of n natural numbers using while loop.


APPARATUS: PC, LABVIEW Software.
ALGORITHAM:
Step 1: Create blank VI.
Step 2: Right click on the block diagram panel , select program , go to structures
and select a WHILE loop.
Step 3: The tunnels of the border are converted to shift register.
Step 4: Generate an adder and greater than equal to inside the WHILE loop .
Step 5: Using wiring operation required wiring is done in the block diagram panel.
Step 6: Input values are given in front panel and the output is generated.

BLOCK DIAGRAM:
FRONT PANEL:
Input: Output:

RESULT: Thus the sum of n natural numbers using WHILE loop is


performed.
EXPERIMENT 6: TO PERFORM FACTORIAL OF A GIVE
NUMBER USING WHILE LOOP

AIM: To perform the factorial of a given number using WHILE loop.


APPARATUS: PC, LABVIEW Software
ALGORITHAM:
Step 1: Create blank VI.
Step 2: Right click on the block diagram panel , select program , go to structures
and select a WHILE loop.
Step 3: Right click on the border of the WHILE loop and select add shift register,
borders are converted into shift register.
Step 4: Using wiring operations required connections are given in the block
diagram.
Step 5: Inputs are given in the front panel and the program is executed.

BLOCK DIAGRAM:
FRONT PANEL:
Input: Output:

RESULT: Thus the factorial of the given number using WHILE loop is
performed.

You might also like