0% found this document useful (0 votes)
177 views25 pages

Experiment No:01 Full Adder: Aim Algorithm

The document describes 10 experiments conducted on virtual instrumentation using LabVIEW. The experiments include designing a full adder, 4:1 multiplexer, checking if a number is prime, splitting numbers and words from a string, checking if a string is a palindrome, finding the number of occurrences of a string, solving quadratic equations, checking if numbers are even or odd, finding the sum of positive and negative numbers, and creating a seven segment display. For each experiment, the aim, implementation steps, front panel, block diagram, and result are documented.

Uploaded by

Kiran Athani
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)
177 views25 pages

Experiment No:01 Full Adder: Aim Algorithm

The document describes 10 experiments conducted on virtual instrumentation using LabVIEW. The experiments include designing a full adder, 4:1 multiplexer, checking if a number is prime, splitting numbers and words from a string, checking if a string is a palindrome, finding the number of occurrences of a string, solving quadratic equations, checking if numbers are even or odd, finding the sum of positive and negative numbers, and creating a seven segment display. For each experiment, the aim, implementation steps, front panel, block diagram, and result are documented.

Uploaded by

Kiran Athani
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/ 25

Experiment No:01

FULL ADDER
Aim: Design of Full adder using the half adder or sub VI

ALGORITHM:

Implimentation: Open a blank VI


1. Go to control palette
2. Go to boolean control
3. Select the required controllers and indicators
4. Name them as shown in the below figure
5. Make the necessary connections
6. Save it and provide necessary input
7. And run
 FRONT PANEL:

 BLOCK DIAGRAM

Result: Design of full adder using half adder has been verified.
Experiment No:02
4:1 MUX
AIM: Design of 4:1 mux using 2:1 mux or sub VI
.

ALGORITHM:

IMPLIMENTATION: Open a blank VI.


1. Go to control palette
2. Go to boolean control
3. Select the required controllers and indicators
4. Name them as shown in the below figure
5. Make the necessary connections
6. Save it and provide necessary input
7. And run
 FRONT PANEL:

 BLOCK DIAGRAM:

RESULT: Design of 4:1 mux using 2:1 mux has been verified.
Experiment No:07
PRIME NUMBER

Aim: Build a VI to check whether the number is prime or not.

Implementation: Open a blank VI


1. Go to control palette.
2. Go to string control.
3. Select the required controllers.
4. Name it as shown in the below figure.
5. Go to boolean control.
6. Select the required boolean indicator.
7. Name it as shown in the below figure.
8. Make the necessary connections.
9. Save it and provide necessary input.
10. And run.

 Front panel:
Input = 08

Input = 05
Input = 01

 Block diagram:

Result: G-code to check whether the given number is prime or not has been verified.
Experiment No:10
SPLITTING NUMBERS AND WORDS

Aim: To build a VI to split numbers and words available in a string and display tjem in
separate array.

Implimentation: Open a blank VI


1. Go to control palette.
2. Go to string control.
3. Select the required controllers.
4. Name it as shown in the below figure.
5. Create a output arrays of numbers and words as shown below.
6. Make the necessary connections.
7. Save it and provide necessary input.
8. And run.

 Front panel:
 Block diagram:

Result: VI to split numbers and words in a given array has been verified.
Experiment No:09
PALINDROME

Aim: To find whether the given string is palindrome or not.

Implimentation: Open a blank VI


1. Go to control palette.
2. Go to string control.
3. Select the required controllers.
4. Name it as shown in the below figure.
5. Make the necessary connections.
6. Save it and provide necessary input.
7. And run.

FRONT PANEL:

Input : Madam

Input : Mad
BLOCK DIAGRAM:

RESULT: VI to fing whether the given string is palindrome or not has been verified.
Experiment No:08
NUMBER OF OCCURANCE

Aim:To build a VI to create one dimensional string array, and find the number of occurance
of a particular string in a given array.

Implimentation: Open a blank VI


1. Go to control palette.
2. Go to string control.
3. Select the required controllers.
4. Name it as shown in the below figure.
5. Create a output arrays of numbers and words as shown below.
6. Make the necessary connections.
7. Save it and provide necessary input.
8. And run.

 Front panel:

Input : ram
Input : sita

 Block diagram:

Result: To finf the number of occurance of a particular string has been verified.
Experiment No:04
QUADRATIC EQUATION
Aim: To build a VI to find the roots of the quadratic equation.

Implimentation: Open a blank VI


1. Go to control palette.
2. Go to numeric control.
3. Select the required controllers.
4. Name it as shown in the below figure.
5. Go to boolean control.
6. Select the required boolean indicators.
7. Name them as shown in the below.
8. Make the necessary connections.
9. Save it and provide necessary input.
10. And run.

 Front panel:

Input: A=1, B=2, C=3


Input: A=2, B=13, C=8

Input: A=0, B=0, C=1


 Block diagram:

Result: A VI to find the roots of the quadratic equation has been verified.
Experiment No:05
EVEN OR ODD NUMBERS
AIM: To build a VI to create an one dimensional array of 10 elements , check whether each
element in an array is odd or even, if it is odd make the led in an output array to be off and if
it is even make the led to glow.

Implimentation: Open a blank VI


1. Go to control palette.
2. Go to array control and place the numeric controller inside it.
3. Name it as shown in the below figure.
4. Go to array control and place numeric indicator inside it.
5. Name them as shown in the below.
6. Make the necessary connections.
7. Save it and provide necessary input.
8. And run.

 FRONT PANEL:
 BLOCK DIAGRAM:

RESULT: VI to check whether the given number is even or odd has been verified.
Experiment No:06
SUM OF POSITIVE AND NEGATIVE NUMBERS
Aim: To build a VI to find the sum of positive and negative numbers.

Implimentation: Open a blank VI


1. Go to control palette.
2. Go to array control and place the numeric controller inside it.
3. Name it as shown in the below figure.
4. Go to array control and place numeric indicator inside it.
5. Name them as shown in the below.
6. Make the necessary connections.
7. Save it and provide necessary input.
8. And run.
 FRONT PANEL:
 BLOCK DIAGRAM:

RESULT:VI to find the sum of positive and negative numbers has been verified.
Experiment No:03
SEVEN SEGMENT DISPLAY
AIM: To build a VI to create a seven segment LED display.

IMPLIMENTATION: Open a blank VI


1. Go to control palette.
2. Go to array control and place the numeric controller inside it.
3. Name it as shown in the below figure.
4. Go to array control and place numeric indicator inside it.
5. Name them as shown in the below.
6. Make the necessary connections.
7. Save it and provide necessary input.

 Front panel:
 Block diagram:

Result: VI to create a seven segment display has been verified.


BMS COLLEGE OF ENGINEERING
(Autonomous under VTU)

DEPARTMENT OF ELECTRONICS AND


INSTRUMENTATION ENGINEERING

COURSE: DATA ACQUISITION AND VIRTUAL


INSTRUMENTATION

UNDER THE GUIDANCE OF KUMUDA MADAM

SARIKA J 1BM15EI404
BMS COLLEGE OF ENGINEERING
(Autonomous under VTU)

DEPARTMENT OF ELECTRONICS AND


INSTRUMENTATION ENGINEERING

COURSE: DATA ACQUISITION AND VIRTUAL


INSTRUMENTATION

UNDER THE GUIDANCE OF KUMUDA MADAM

SHRIDHAR D K 1BM14IT403

You might also like