Sei sulla pagina 1di 8

I.

Intended Learning Outcomes:


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.

II. Discussion

LabVIEW (Laboratory Virtual Instrumentation Engineering Workbench) is a graphical


programming environment developed by National Instruments (NI), which allows high-level or
system-level designs. It uses a graphical programming language to create so-called Virtual
Instruments (VI) blocks in an intuitive flowchart-like manner. A design is achieved by
integrating different components or subsystems within a graphical framework. LabVIEW
provides data acquisition, analysis and visualization features well suited for various
applications. It is also an open environment accommodating C and MATLAB codes, as well as
ActiveX and DLLs (Dynamic Link Libraries).

LabVIEW constitutes a graphical programming environment that allows one to design


and analyze a system in a shorter time as compared to text-based programming environments.
LabVIEW graphical programs are called virtual instruments (VIs). VIs run based on the concept
of data flow programming. This means that execution of a block or a graphical component is
dependent on the flow of data, or more specifically a block executes when a data is made
available at all of its inputs. Output data of the block are then sent to all other connected blocks.
Data flow programming allows multiple operations to be performed
in parallel since its execution is determined by the flow of data and not by sequential lines of
code.

Reference Kehtarnavaz, N. & Kim, N. (2005). Digital Signal Processing System-Level Design
Using LabVIEW. Oxford, United Kingdom: Elsevier, Inc.

III. Learning Activities ( Provide screenshots for each Activity )

Activity 1.1 Building a Simple VI


Activity 1.2 Creating SubVI

Activity 1.3 Using Structures and SubVIs


Activity 1.4 Create an Array

IV. Questions and Answers


Activity 1.3 Using Structures and SubVIs
Question 1: How does the VI work? Discuss the functionality as observed from running the VI.
Answer : There are two knobs for input. The gauge measures the average of the two input.
Theres also an indicator for the sum of two inputs. If the average of two inputs exceeds 9, a
warning LED will turn on.

Activity 1.3 Using Structures and SubVIs


Question 2: 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 input 1 takes very accurate measurement. The data type of the input1 is byte.

Activity 1.3 Using Structures and SubVIs


Question 3: Differentiate I64, I32, I16 and I8 data types.
Answer: I8 is byte which has 8 bits. I16 is word with 16 bits. I32 is double with 32 bits. I64 is
quad with 64 bits

Activity 1.3 Using Structures and SubVIs


Question 4: 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: Input 2 is double precision. It is more accurate because it has decimal values.

Activity 1.3 Using Structures and SubVIs


Question 4: Differentiate the data types EXT, DBL, and SGL
Answer: SGL have approximately 6 digit of precision. DBL have approximately 15 digit of
precision. EXT have approximately 15 to 20 digit of precision.

Activity 1.3 Using Structures and SubVIs


Question 4: What happens?
Answer: The program will run continuously.

Activity 1.4 Create an Array


Question 1: Compare the wires connecting the indicators to the tunnels.
Answer: Output without indexing have thin wires while output with indexing have thick lines.

Activity 1.4 Create an Array


Question 2: Describe the functionality of the program. Compare the output of the Output with
Indexing and Output without Indexing indicators.
Answer: There is two output in this program. One without indexing while the other have. The
one with indexing can put its value inside an array while the one without indexing cannot.

V. Conclusions
Labview is a graphical programming environment that allows us to create system-level or high
level designs. It uses programming language to create VI or Virtual Instruments blocks in a
flowchart-like manner

VI. Machine Problems

Simple English to Metric Conversion


TECHNOLOGICAL INSTITUTE OF THE PHILIPPINES

RUBRIC FOR MODERN TOOL USAGE


(Engineering Programs)

Student Outcome (e): Use the techniques, skills, and modern engineering tools necessary for engineering practice in complex engineering activities.

Program: Course: _______________ Section: Semester School Year ____________

Unsatisfactory Developing Satisfactory Very Satisfactory


Performance Indicators Score
1 2 3 4
1. Apply appropriate Fails to identify any Identifies modern Identifies modern Applies the most appropriate
techniques, skills, and modern techniques to techniques but fails to techniques and is able to modern technique in
modern tools to perform perform discipline- apply these in performingapply these in performing performing discipline-
a discipline-specific specific engineering discipline-specific discipline-specific specific engineering task
engineering task. task. engineering task. engineering task. exceeding the requirements.
2. Demonstrate skills in Fails to apply any Attempts to apply modern Shows ability to apply Shows ability to apply the
applying different modern tools to solve tools but has difficulties to
fundamental procedures most appropriate and
techniques and modern engineering problems. solve engineering in using modern tools effective modern tools to
tools to solve problems. when solving solve engineering problems.
engineering problems. engineering problems.
3. Recognize the benefits Does not recognize the Recognizes some Recognizes the benefits Recognizes the need for
and constraints of benefits and benefits and constraints of and constraints of benefits and constraints of
modern engineering constraints of modern modern engineering tools. modern engineering modern engineering tools
tools. engineering tools. tools and shows intention and makes good use of
to apply them for them for engineering
engineering practice. practice.
Total Score
Mean Score = (Total Score / 3)
Percentage Rating = (Total Score / 12) x 100%
Evaluated by:

Printed Name and Signature of Faculty Member Date

Potrebbero piacerti anche