You are on page 1of 8

Signals, Spectra and Signal Processing

Laboratory Report
Signals, Spectra and Signal Processing (ECE 401)
Name: Monville, Christian B. Date: 01/15/2020
Section: EC41FA1
Exercises # 05
GETTING FAMILIAR WITH LABVIEW (PART I)

DATA

Activity 1.1 – Building a Simple VI.


1. Screenshots of Front Panel and Block Diagram
2. Answer to Questions

Exercise No. 5 – Getting Familiar with LabVIEW (Part I) Page 1


Signals, Spectra and Signal Processing

Activity 1.2 – Creating SubVI


1. Screenshots of Front Panel and Block Diagram

Exercise No. 5 – Getting Familiar with LabVIEW (Part I) Page 2


Signals, Spectra and Signal Processing

Activity 1.3 – Using Structures and SubVIs


1. Screenshots of Front Panel and Block Diagram

Exercise No. 5 – Getting Familiar with LabVIEW (Part I) Page 3


Signals, Spectra and Signal Processing

2. Answers to Questions

Question: How does the VI work? Discuss the functionality as observed from running the VI.

The VI computes the sum by adding the values of the two knobs and displays the value on the
numeric indicator and getting the average of the two knobs will display on a gauge. The warning led
indicates that it only accepts 1 or 0 as input (Boolean data type).

Question: What can be said about the set of values that the Input 1 takes? What is the data type of
Input 1? What, then, can be inferred with the set of values that is represented by the data type like
that of Input 1?

Answer: The set of values that the Input 1 takes are set to byte type. The data type of Input 1 is I8 or
8-bit integer. It can be inferred that the set of values that is represented by the data type of Input 1 is
an 8-bit integer.

Question 3: Differentiate I64, I32, I16 and I8 data types.


Answer: I64 consists of 64-bit integer while I32 consists of 32-bit integer. I16 consists of 16-bit integer
while I8 consists of 8-bit integer.

Exercise No. 5 – Getting Familiar with LabVIEW (Part I) Page 4


Signals, Spectra and Signal Processing

Question 4: Question: What is the data type of Input 2? Compare the observations that have been
made with the data types of Input 1 and Input 2.
Answer: The data type of Input 2 is DBL or double precision floating point. Compared to Input 2 which
consists of 64-bit integer, Input 1 have an I8 data type which consists of 8-bit integer.

Question 5: Differentiate the data types EXT, DBL, SGL, and FXP.
Answer: EXT consists of 10 bytes while DBL consists of 8 bytes. SGL consists of 4 bytes while FXP
consists of fixed-point numbers.

Question 6: What happens? Why? What are the possible indicators that can replace this numeric
one?
Answer: The output in the numeric indicator is the average value which is also the limit value being
produced resulting from the sum of the two inputs. A possible indicator that can replace this numeric
one is by the use of a Boolean condition instead of a stop button.

Activity 1.4 – Create an Array


1. Screenshots of Front Panel and Block Diagram

Exercise No. 5 – Getting Familiar with LabVIEW (Part I) Page 5


Signals, Spectra and Signal Processing

Exercise No. 5 – Getting Familiar with LabVIEW (Part I) Page 6


Signals, Spectra and Signal Processing

2. Answer to Questions
Question: Compare the wires connecting the indicators to the tunnels. Why is this so?

The first connected wire has an indexing property in which it signifies the
variety of the outputs at an interval amount of time while the second wire
has the last value which can be found in the output with indexing.

Question: Describe the functionality of the program. Compare the output of the Output with
Indexing and Output without Indexing indicators.

The functionality of the program is to generate random output numbers in an


array format as noted in the discussion Output with Indexing has 10 values
as it follows the iterations the For loop has while the Output without
Indexing indicator will give the last value of the iterated loop.

ILO

1. Familiarize oneself with the programming environment of LabVIEW.


2. Build a simple virtual instrument (VI) that uses commonly-used functions, controls and indicators
of LabVIEW.
3. Create sub-VIs and use them in the development of more complex VIs.
4. Use the While-Loop structure in the development of a continuously running VIs.
5. Create a VI using an array and For-Loop.
6. Use the Help function of LabVIEW.

Conclusion:

To conclude, it is important for every engineering student to be familiarized and knowledgeable


about the labview software. Every student must be able to build a VI on their own without the help
of instruction manuals and internet. It is also important to be knowledgeable with the environment
of the software and its uses so that the user can execute the correct circuit.

Exercise No. 5 – Getting Familiar with LabVIEW (Part I) Page 7


Signals, Spectra and Signal Processing

Exercise No. 5 – Getting Familiar with LabVIEW (Part I) Page 8

You might also like