0% found this document useful (0 votes)
35 views1 page

Exp 2

The document outlines a procedure to create a LabVIEW program that displays the sum and average of four input numbers using numeric controls and indicators. The program adds the four input values using addition nodes and divides the sum by 4 using a division node to calculate and display the average. The program was tested by inputting different values and observing the output sum and average values.

Uploaded by

shreetam behera
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views1 page

Exp 2

The document outlines a procedure to create a LabVIEW program that displays the sum and average of four input numbers using numeric controls and indicators. The program adds the four input values using addition nodes and divides the sum by 4 using a division node to calculate and display the average. The program was tested by inputting different values and observing the output sum and average values.

Uploaded by

shreetam behera
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Objective:

To create a simple program that adds displays the sum and average value of four
numbers using LabVIEW.

Equipment List:

Computer with LabVIEW 8.2.

Procedure:

1. LabVIEW was launched to create the front panel.


2. Right-clicking the mouse will bring up a menu of graphical elements known as
controls.
3. Then on the Num Ctrls (numeric control) was clicked for four times as we
required four inputs. The inputs are labeled as a, b, c, and d.
4. Then on the Num Inds (numeric indicator) was clicked twice for two outputs
labeled as sum and average.
5. Then the block diagram is invoked by clicking on Window – Show Block Diagram
from the panel’s menu bar.
6. Again, right-clicking the mouse will bring up a menu of graphical elements
known as functions.
7. Then Controls Terminals was clicked for four times to get four inputs which were
labeled as a, b, c, and d.
8. Then Indicator Terminals was clicked for twice times to get two outputs which
were labeled as sum and average.
9. From the Function palette ‘+’ and ‘%’ nodes were selected for addition and
division respectively.
10. The wires between the control terminals, indicator terminals and the nodes were
drawn as per the logic.
11. The play button (arrow icon) on the front panel’s menu bar was clicked
and the observations were made.

Observations:

Obs no. a b C d sum average


1 4 2 3 7 16 4
2 3 4 2 6 15 3.75

Conclusion:

You might also like