Vi Presentation
-
Upload
malleswarararao -
Category
Documents
-
view
219 -
download
0
Transcript of Vi Presentation
-
8/8/2019 Vi Presentation
1/64
Virtual Instrumentation and Data
Acquisition Using LabVIEW
-
8/8/2019 Vi Presentation
2/64
Out line of the Presentation
About Bench top/Traditional Instruments
Introduction to Virtual Instrumentation
LabVIEW Concepts.
Data Acquisition with Hardware
-
8/8/2019 Vi Presentation
3/64
-
8/8/2019 Vi Presentation
4/64
What is Virtual Instrumentation ?
It is an interdisciplinaryfield that merges sensing, hardware, andsoftware.
Virtual instrumentation is defined as the combination ofmeasurement and control hardware and application softwarewith industry-standard computer to create user-defined
instrumentation systems.
Virtual Instrumentation sets a new standard in measurement by replacingbench top instruments
Creates flexible and sophisticatedinstruments for control and monitoringapplications.
A Paradigm shift from Hardware centric to Software centric
-
8/8/2019 Vi Presentation
5/64
--- cont
Virtual Instrument What does it mean?
-
8/8/2019 Vi Presentation
6/64
--- cont
Virtual Instruments constructed with software are
--Inexpensive.--More Accurate.
--Maintenance free.
--Can sense different physical quantities.
Virtual Instrumentation--Works fast--Handles repetitive tasks
--Process data
--Stores results--Generates reports
--Increases test safety
--Controllable by the user
-
8/8/2019 Vi Presentation
7/64
VI Approach
Popular softwares in VI are
(a) LabVIEW (b) LabWindows/CVI
(c ) HP-VEE (d) Test stand
(e) Measurement studio.
Hard Ware
SCC/DAQPC
Soft Ware
-
8/8/2019 Vi Presentation
8/64
Traditional Vs Virtual Instruments
-
8/8/2019 Vi Presentation
9/64
LabVIEW
Laboratory Virtual Instrumentation EngineeringWorkbench
-
8/8/2019 Vi Presentation
10/64
What to EXPECT?
Learn what are virtual instruments and how LabVIEW can used
to create VIs
Understand user interface offerd by LabVIEWand methods of
programming.
Create applications using Data Acquisition(DAQ) boards.
-
8/8/2019 Vi Presentation
11/64
What Not To Expect?
Programming Theory
Using of every built- in LabVIEW object,function or library VI.
How to develop an instrument driver
-
8/8/2019 Vi Presentation
12/64
What is Virtual Instrument(VI)?
A small piece of code in VI software/ A small program
VI has
-- Front panel
-- Block Daigram--Icon
-- Connector pane
-
8/8/2019 Vi Presentation
13/64
LabVIEW Basics
-
8/8/2019 Vi Presentation
14/64
-
8/8/2019 Vi Presentation
15/64
-
8/8/2019 Vi Presentation
16/64
Controls and Functions Palettes
Controls Inputs fromthe User
IndicatorsOutputs to
the User
Contorls palette
(Front Panel Window)
Functions palette
(Block Diagram Window)
-
8/8/2019 Vi Presentation
17/64
Basic blocks of Block diagram
Terminals---These are entryand exit ports that exchange
information between the front
panel and block diagram.
.Nodes ---A node is just a fancyword for a program execution
element.
WiresWires are the datapaths between source and
destination terminal.
Data type & representation
-
8/8/2019 Vi Presentation
18/64
Numeric Data Representations
-
8/8/2019 Vi Presentation
19/64
Data Types
-
8/8/2019 Vi Presentation
20/64
Express VIs VIs and Functions
Express VI--- interactiveVIs with configurable
dialog page.
StandardVI--- modular
VIs customized by
wiring
Functions--- fundamentaloperating elements of
LabVIEW,
-
8/8/2019 Vi Presentation
21/64
--- contd
-
8/8/2019 Vi Presentation
22/64
Creation of VI
Step1: Open blank/new VI.
Step2: Create Front panel.
Step3: Create Block diagram.
Step4: Run the VI.
-
8/8/2019 Vi Presentation
23/64
-
8/8/2019 Vi Presentation
24/64
-
8/8/2019 Vi Presentation
25/64
Data flow programming LabVIEW follows a data flow model for running VIs.
In control fow, the sequential orderof program elements
determines the execution orderof a program.
-
8/8/2019 Vi Presentation
26/64
LabVIEW Functional Elements
-
8/8/2019 Vi Presentation
27/64
Loops and Structures
-
8/8/2019 Vi Presentation
28/64
Loops with Shift registers
-
8/8/2019 Vi Presentation
29/64
--- cont
-
8/8/2019 Vi Presentation
30/64
Case & Sequence Structures & Formula
nodes
Case structure Sequence structure
-
8/8/2019 Vi Presentation
31/64
Formula Node
The Formula Node is a resizable boxthat is used to enter
algebraic formulas directly into the block diagram.
The Formula Node is a convenient text-based node used to
perform mathematical operations on the block diagram.
Formula Nodes are useful forequations that have many
variables.
-
8/8/2019 Vi Presentation
32/64
Arrays and Clusters
Array--- group of similar data elements.
-
8/8/2019 Vi Presentation
33/64
--- cont
-
8/8/2019 Vi Presentation
34/64
Cluster
-
8/8/2019 Vi Presentation
35/64
-
8/8/2019 Vi Presentation
36/64
Wave form charts
-
8/8/2019 Vi Presentation
37/64
Wiring data into charts
-
8/8/2019 Vi Presentation
38/64
File I/O
File I/O --- passing data to and from files.
--- Files can binary, text or spread sheet.
--- Write/ Read LabVIEW measurement files.
Writing to LVM file Read from LVM file
-
8/8/2019 Vi Presentation
39/64
Debugging Techniques
Finding errors -- Click on broken Run buttonWindow showing error appears
Execution Highlighting
--- the user can view an animation of VI block diagram execution.--- As data is passed from one node to another, bubbles moving
along the wires indicate the movement of data.
--- highlighting greatly reduces the performance of a VI.
. Probes --- The probe is used to check intermediate values in aVI that executes
-
8/8/2019 Vi Presentation
40/64
--- cont
-
8/8/2019 Vi Presentation
41/64
Sub VI
What is Sub VI?
Making an icon & connector pane for subVI
Using VI as Sub VI
--- cond
-
8/8/2019 Vi Presentation
42/64
Sub VI
-- contd
-
8/8/2019 Vi Presentation
43/64
-- cont
Normal VIs block diagram Sub VIs block diagram
-
8/8/2019 Vi Presentation
44/64
Creation of SubVI
Step1 Edit icon
Step2 Create the connector pane
Step3 Assign terminals
Step4 Save the VI
Step5 Call the VI
-
8/8/2019 Vi Presentation
45/64
--- contd
-
8/8/2019 Vi Presentation
46/64
--- cont
-
8/8/2019 Vi Presentation
47/64
-
8/8/2019 Vi Presentation
48/64
-
8/8/2019 Vi Presentation
49/64
-
8/8/2019 Vi Presentation
50/64
-
8/8/2019 Vi Presentation
51/64
D A i i i
-
8/8/2019 Vi Presentation
52/64
Data Acquisition
DAQ Device
Computer
Terminal Block
Sensors
Cable
-
8/8/2019 Vi Presentation
53/64
Data Acquisition Terminology
Resolution - Determines How Many Different VoltageChanges Can Be Measured
Larger Resolution More Precise Representation of Signal
Range - Minimum and Maximum Voltages
Smaller range
More Precise Representation of Signal
Gain - Amplifies or Attenuates Signal for Best Fit in Range
t
-
8/8/2019 Vi Presentation
54/64
--- cont
t
-
8/8/2019 Vi Presentation
55/64
--- cont
cont
-
8/8/2019 Vi Presentation
56/64
--- cont
-
8/8/2019 Vi Presentation
57/64
HardwareBNC-2120
NI-ELVIS
-
8/8/2019 Vi Presentation
58/64
Basic Programming Architecture
Simple VI Architecture.
General VI Architecture
State Machine Architecture
-
8/8/2019 Vi Presentation
59/64
-
8/8/2019 Vi Presentation
60/64
General VI Architecture
-
8/8/2019 Vi Presentation
61/64
State machine Architecture
R t F t P l
-
8/8/2019 Vi Presentation
62/64
Remote Front Panels
-
8/8/2019 Vi Presentation
63/64
-
8/8/2019 Vi Presentation
64/64