SlideShare a Scribd company logo
CONTACT US ON-
Address-
Opp. Phagwara Bus Stand,Above Bella Pizza, Handa City Center,Phagwara
Email-e2matrixphagwara@gmail.com, jalandhare2matrix@gmail.com
Web site-www.e2matrix.com
Contact no-07508509730, 09041262727, 7508509709
INTRODUCTION TO
LABVIEW
Graphical programming
language
& Data flow
◦ LabVIEW relies on graphical symbols rather than textual language to
describe programming actions
◦ The principle of dataflow, in which functions execute only after
receiving the necessary data, governs execution in a straightforward
manner
How does LabVIEW work?
◦ LabVIEW programs are called:
◦ Virtual Instruments (VIs)
◦ because their appearance and
operation imitate actual instruments.
◦ However, they are analogous to main programs, functions and subroutines from
popular language like C, Fortran, Pascal, …
Front Panel
• Controls = Inputs
• Indicators = Outputs
Block Diagram
• Accompanying “program”
for front panel
• Components “wired”
together
LabVIEW Programs Are Called
Virtual Instruments (VIs)
LabVIEW Introduction
◦ Two “sets” for development
◦ Front Panel
◦ Block Diagram
◦ Wiring connections
◦ LabVIEW Conventions
◦ Running LabVIEW programs
LabVIEW Front Panel
◦ All user interface goes here!
◦ Used to display Controls or
Indicators
◦ Highly customizable
LabVIEW Block Diagram
◦ Actual program
◦ Invisible to user
◦ Read left to right, like a book
◦ Where the MAGIC happens!
Terminals
When you place a control
(or indicator) on the
FRONT PANEL
LabVIEW automatically
creates a
corresponding
control (or indicator)
terminal on the BLOCK
DIAGRAM
Control? or Indicator?
Controls = Inputs from the user = Source Terminals
Indicators = Outputs to the user = Destinations
Manipulating Controls and Indicators
◦ Right click on an indicator to
◦ Change to control
◦ Change format or precision
◦ Right click on a control to
◦ Change to indicator
◦ Change mechanical action (whether to latch open or
closed, and what to use as default…)
Wiring Connections
◦ Wires transport data
through the block
diagram
◦ Wire color indicates
variable type
◦ A red “X” means
something is wrong!
Wires
A LabVIEW VI is held together by wires connecting nodes
and terminals; they deliver data from one source terminal to
one or more destination terminals.
Broken wires
If you connect more
than
one source or no source
at all to a wire,
LabVIEW
DISAGREES with what
you’re doing, and the
wire will appear broken
Messy vs. Clean Wiring
CLEAN: Easy to troubleshoot
MESSY: What is going on?
Basic wires used in block diagrams
and corresponding types
Each wire has different style or color, depending on
the data
type that flows through the wire:
Scalar 1D array 2D array Color
Floating-point
number
orange
Integer number blue
Boolean green
String pink
LabVIEW Conventions
◦ Front panel items
◦ Controls and indicators
◦ Block diagram items
◦ Program structures (loops, case structures, math, etc.)
◦ Controls vs. Indicators
◦ Wires attach to controls on the right (give values)
◦ Wires attach to indicators on the left (receive values)
◦ Wiring colors
◦ Wires are color coded to correspond to data types
Running LabVIEW Programs
◦ ALMOST ALWAYS put your program in some
sort of loop that can be stopped with a
control
◦ AVOID using the red “x” to stop your
program
Lab. Equipment
◦ Oscilloscope
◦ Function Generator
◦ Digital Voltmeter (DVM)
Universal Measuring
Instruments
Signal Generator
Add/edit text
Wire features together to
control flow of data
Select a feature to
edit or move
Operate a control
Probe Data
(troubleshoot)
Insert a digital
indicator or control
Insert a boolean control
(button or switch)
Add a structure such as for,
while, and case statements
Add a numeric
operator (+,-,…)
File I/O
Add a boolean
operator (and, or…)
Data Acquisition
Signal analysis
Comparison
Mathematical
Functions
Timing/dialog
Labview phd project in jalandhar
Reorder
objects
Run
Continuous run
PauseStop
Font ring
Alignment ring
Distribution ring
Debugging features
more on this later…
The Run Button
◦ The Run button, which looks
like an arrow, starts VI
execution when you click on
it
◦ It changes appearance
when a VI is actually running.
◦ When a VI won’t compile,
the run button is broken
Control
Terminals
Block Diagram Window
Front Panel Window
Indicator
Terminals
Creating a VI
Example 1:
Craps
◦ From the functions – numeric
panel insert a pair of dice
◦ From the Controls panel
insert a numeric digital
indicator (on the front panel)
◦ Use the wiring tool to
connect the two (in the
wiring diagram) and click
the “run” button repeatedly.
◦ Numbers from 0.00 to 1.00
should be displayed in the
front panel
Example 1: Craps
(continued)
◦ Delete the wire
◦ Add a multiplication node and
a numeric constant to allow
multiplication by 5
◦ Add an addition node and
numeric constant to allow
addition of 1
◦ Add a mathematical “Round
to Nearest” node.
◦ Make a second copy of this
structure to represent a second
die and wire them together
through an addition node with
an output to a numeric
constant
This wiring diagram simulates the rolling
of 2 dice and their addition to form a number
from 2 through 12.
Example 2: Analog & Digital
Voltmeter (simulated signal)
◦ Uniform noise used as simulated
signal – Functions – Signal Processing
– Signal Generation menu
◦ Absolute value function from
functions – numeric menu
◦ Mean value of data series from the
functions – mathematics – Probability
and Statistics menu
◦ The 250 ms wait implemented from
the time and dialog menu slows the
“flutter” of the meter.
Example 3: Reading an analog input
signal
Requires A/D board to implement
◦ From the functions menu
select data acquisition and
then analog input. Then
select either “Sample
Channel” or Sample
Channels”
◦ This places the sampling
icon in your wiring diagram
◦ You then need to configure
the channel(s) and wire the
output to other parts of your
program.
Example 4: Signal Analysis (continued)
Example 5: Creating Sub-VIs
◦ In wiring diagram use
selection tool (mouse box)
to select all items to be in
the SubVI.
◦ From Edit menu select
“Create SubVI”
◦ Double click on new icon
and save it as a separate
VI.
◦ Cut-and-paste it at will or
insert it using “Functions –
Select VI menu”

More Related Content

PPT
6 weeks summer training in labview,jalandhar
PPT
6months industrial training in labview, jalandhar
PPTX
LabVIEW lecture handout by Prof. d k chaturvedi
PDF
Labview pdf
PPTX
Presentation on LabVIEW Basics
PDF
Introduction to Labview
PDF
Introduction to LabVIEW
PPT
Lecture handout by Mohd. Ayub Khan
6 weeks summer training in labview,jalandhar
6months industrial training in labview, jalandhar
LabVIEW lecture handout by Prof. d k chaturvedi
Labview pdf
Presentation on LabVIEW Basics
Introduction to Labview
Introduction to LabVIEW
Lecture handout by Mohd. Ayub Khan

What's hot (12)

PDF
MATLAB Basics-Part1
PPTX
NIS LabView
PPT
Simulink
PPT
Lab view introduction
PPT
Labview material
PPTX
Final modified ppts
PPTX
Lesson 1 navigating lab view
PPT
Intro to Neo2
PPTX
INTRODUCTION TO COMPUTER
PDF
working with matrices in r
PDF
Ge6161 lab manual
PPT
MATLAB/SIMULINK for Engineering Applications day 2:Introduction to simulink
MATLAB Basics-Part1
NIS LabView
Simulink
Lab view introduction
Labview material
Final modified ppts
Lesson 1 navigating lab view
Intro to Neo2
INTRODUCTION TO COMPUTER
working with matrices in r
Ge6161 lab manual
MATLAB/SIMULINK for Engineering Applications day 2:Introduction to simulink
Ad

Similar to Labview phd project in jalandhar (20)

PPT
6months industrial training in labview, ludhiana
PPT
6 weeks summer training in labview,ludhiana
PPTX
First fare 2010 lab-view overview
PDF
Lab view introduction
PPTX
details of labviews
PPT
LabVIEW Introduction for student deni.ppt
PPT
Virtual Instrumentation & LabVIEW-lini.ppt
PDF
Lab view introduction-threehour
PPT
LabVIEW Introduction
DOC
222066369 clad-study-guide
PPTX
38180007 Sarish Wadkar.pptx
PDF
38180007 Sarish Wadkar.pdf
PPT
Lesson_1-4.ppt
PDF
1.1 LabVIEW Step By Step Guide Final.pdf.pdf
PPTX
Labview2_Computer Applications in Control_ACRRL
PPT
Labview Introduction
PPTX
Virtual instrumentation (LabVIEW)
PDF
Control and simulation in lab view
DOCX
Wmc lab (1)
PPTX
LabVIEW.pptx
6months industrial training in labview, ludhiana
6 weeks summer training in labview,ludhiana
First fare 2010 lab-view overview
Lab view introduction
details of labviews
LabVIEW Introduction for student deni.ppt
Virtual Instrumentation & LabVIEW-lini.ppt
Lab view introduction-threehour
LabVIEW Introduction
222066369 clad-study-guide
38180007 Sarish Wadkar.pptx
38180007 Sarish Wadkar.pdf
Lesson_1-4.ppt
1.1 LabVIEW Step By Step Guide Final.pdf.pdf
Labview2_Computer Applications in Control_ACRRL
Labview Introduction
Virtual instrumentation (LabVIEW)
Control and simulation in lab view
Wmc lab (1)
LabVIEW.pptx
Ad

More from deepikakaler1 (20)

PPTX
Vlsi final year project in ludhiana
PPT
Software testing mtech project in ludhiana
PPTX
Opnet final year project in ludhiana
PPT
Matlab final year project in ludhiana
PPT
Labview phd project in ludhiana
PPTX
image processing project course ludhiana
PPT
Hfss final year project in ludhiana
PPT
Fuzzy logic mtech project in ludhiana
PPT
Embedded final year project in ludhiana
PPT
Data mining final year project in ludhiana
PPTX
Android mtech project in ludhiana
PPT
Artificial intelligence mtech project in ludhiana
PPT
.Net final year project in LUDHIANA
PPTX
6 weeks/months summer training in vlsi,ludhiana
PPT
6 weeks summer training in software testing,ludhiana
PPT
6months industrial training in software testing, ludhiana
PPT
6 weeks summer training in hfss,ludhiana
PPT
6months industrial training in hfss, ludhiana
PPT
6 weeks summer training in fuzzy logic,ludhiana
PPT
6months industrial training in fuzzy logic, ludhiana
Vlsi final year project in ludhiana
Software testing mtech project in ludhiana
Opnet final year project in ludhiana
Matlab final year project in ludhiana
Labview phd project in ludhiana
image processing project course ludhiana
Hfss final year project in ludhiana
Fuzzy logic mtech project in ludhiana
Embedded final year project in ludhiana
Data mining final year project in ludhiana
Android mtech project in ludhiana
Artificial intelligence mtech project in ludhiana
.Net final year project in LUDHIANA
6 weeks/months summer training in vlsi,ludhiana
6 weeks summer training in software testing,ludhiana
6months industrial training in software testing, ludhiana
6 weeks summer training in hfss,ludhiana
6months industrial training in hfss, ludhiana
6 weeks summer training in fuzzy logic,ludhiana
6months industrial training in fuzzy logic, ludhiana

Recently uploaded (20)

PDF
Computing-Curriculum for Schools in Ghana
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
Indian roads congress 037 - 2012 Flexible pavement
PPTX
Unit 4 Skeletal System.ppt.pptxopresentatiom
PPTX
Introduction to Building Materials
PDF
Trump Administration's workforce development strategy
PDF
IGGE1 Understanding the Self1234567891011
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PPTX
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
Digestion and Absorption of Carbohydrates, Proteina and Fats
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPTX
Cell Types and Its function , kingdom of life
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PDF
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
PDF
Empowerment Technology for Senior High School Guide
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Computing-Curriculum for Schools in Ghana
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
A systematic review of self-coping strategies used by university students to ...
Indian roads congress 037 - 2012 Flexible pavement
Unit 4 Skeletal System.ppt.pptxopresentatiom
Introduction to Building Materials
Trump Administration's workforce development strategy
IGGE1 Understanding the Self1234567891011
Chinmaya Tiranga quiz Grand Finale.pdf
Orientation - ARALprogram of Deped to the Parents.pptx
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
Weekly quiz Compilation Jan -July 25.pdf
Digestion and Absorption of Carbohydrates, Proteina and Fats
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Cell Types and Its function , kingdom of life
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
Empowerment Technology for Senior High School Guide
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS

Labview phd project in jalandhar

  • 1. CONTACT US ON- Address- Opp. Phagwara Bus Stand,Above Bella Pizza, Handa City Center,Phagwara Email-e2matrixphagwara@gmail.com, jalandhare2matrix@gmail.com Web site-www.e2matrix.com Contact no-07508509730, 09041262727, 7508509709
  • 3. Graphical programming language & Data flow ◦ LabVIEW relies on graphical symbols rather than textual language to describe programming actions ◦ The principle of dataflow, in which functions execute only after receiving the necessary data, governs execution in a straightforward manner
  • 4. How does LabVIEW work? ◦ LabVIEW programs are called: ◦ Virtual Instruments (VIs) ◦ because their appearance and operation imitate actual instruments. ◦ However, they are analogous to main programs, functions and subroutines from popular language like C, Fortran, Pascal, …
  • 5. Front Panel • Controls = Inputs • Indicators = Outputs Block Diagram • Accompanying “program” for front panel • Components “wired” together LabVIEW Programs Are Called Virtual Instruments (VIs)
  • 6. LabVIEW Introduction ◦ Two “sets” for development ◦ Front Panel ◦ Block Diagram ◦ Wiring connections ◦ LabVIEW Conventions ◦ Running LabVIEW programs
  • 7. LabVIEW Front Panel ◦ All user interface goes here! ◦ Used to display Controls or Indicators ◦ Highly customizable
  • 8. LabVIEW Block Diagram ◦ Actual program ◦ Invisible to user ◦ Read left to right, like a book ◦ Where the MAGIC happens!
  • 9. Terminals When you place a control (or indicator) on the FRONT PANEL LabVIEW automatically creates a corresponding control (or indicator) terminal on the BLOCK DIAGRAM
  • 10. Control? or Indicator? Controls = Inputs from the user = Source Terminals Indicators = Outputs to the user = Destinations
  • 11. Manipulating Controls and Indicators ◦ Right click on an indicator to ◦ Change to control ◦ Change format or precision ◦ Right click on a control to ◦ Change to indicator ◦ Change mechanical action (whether to latch open or closed, and what to use as default…)
  • 12. Wiring Connections ◦ Wires transport data through the block diagram ◦ Wire color indicates variable type ◦ A red “X” means something is wrong!
  • 13. Wires A LabVIEW VI is held together by wires connecting nodes and terminals; they deliver data from one source terminal to one or more destination terminals.
  • 14. Broken wires If you connect more than one source or no source at all to a wire, LabVIEW DISAGREES with what you’re doing, and the wire will appear broken
  • 15. Messy vs. Clean Wiring CLEAN: Easy to troubleshoot MESSY: What is going on?
  • 16. Basic wires used in block diagrams and corresponding types Each wire has different style or color, depending on the data type that flows through the wire: Scalar 1D array 2D array Color Floating-point number orange Integer number blue Boolean green String pink
  • 17. LabVIEW Conventions ◦ Front panel items ◦ Controls and indicators ◦ Block diagram items ◦ Program structures (loops, case structures, math, etc.) ◦ Controls vs. Indicators ◦ Wires attach to controls on the right (give values) ◦ Wires attach to indicators on the left (receive values) ◦ Wiring colors ◦ Wires are color coded to correspond to data types
  • 18. Running LabVIEW Programs ◦ ALMOST ALWAYS put your program in some sort of loop that can be stopped with a control ◦ AVOID using the red “x” to stop your program
  • 19. Lab. Equipment ◦ Oscilloscope ◦ Function Generator ◦ Digital Voltmeter (DVM) Universal Measuring Instruments Signal Generator
  • 20. Add/edit text Wire features together to control flow of data Select a feature to edit or move Operate a control Probe Data (troubleshoot)
  • 21. Insert a digital indicator or control Insert a boolean control (button or switch)
  • 22. Add a structure such as for, while, and case statements Add a numeric operator (+,-,…) File I/O Add a boolean operator (and, or…) Data Acquisition Signal analysis Comparison Mathematical Functions Timing/dialog
  • 24. Reorder objects Run Continuous run PauseStop Font ring Alignment ring Distribution ring Debugging features more on this later…
  • 25. The Run Button ◦ The Run button, which looks like an arrow, starts VI execution when you click on it ◦ It changes appearance when a VI is actually running. ◦ When a VI won’t compile, the run button is broken
  • 26. Control Terminals Block Diagram Window Front Panel Window Indicator Terminals Creating a VI
  • 27. Example 1: Craps ◦ From the functions – numeric panel insert a pair of dice ◦ From the Controls panel insert a numeric digital indicator (on the front panel) ◦ Use the wiring tool to connect the two (in the wiring diagram) and click the “run” button repeatedly. ◦ Numbers from 0.00 to 1.00 should be displayed in the front panel
  • 28. Example 1: Craps (continued) ◦ Delete the wire ◦ Add a multiplication node and a numeric constant to allow multiplication by 5 ◦ Add an addition node and numeric constant to allow addition of 1 ◦ Add a mathematical “Round to Nearest” node. ◦ Make a second copy of this structure to represent a second die and wire them together through an addition node with an output to a numeric constant This wiring diagram simulates the rolling of 2 dice and their addition to form a number from 2 through 12.
  • 29. Example 2: Analog & Digital Voltmeter (simulated signal) ◦ Uniform noise used as simulated signal – Functions – Signal Processing – Signal Generation menu ◦ Absolute value function from functions – numeric menu ◦ Mean value of data series from the functions – mathematics – Probability and Statistics menu ◦ The 250 ms wait implemented from the time and dialog menu slows the “flutter” of the meter.
  • 30. Example 3: Reading an analog input signal Requires A/D board to implement ◦ From the functions menu select data acquisition and then analog input. Then select either “Sample Channel” or Sample Channels” ◦ This places the sampling icon in your wiring diagram ◦ You then need to configure the channel(s) and wire the output to other parts of your program.
  • 31. Example 4: Signal Analysis (continued)
  • 32. Example 5: Creating Sub-VIs ◦ In wiring diagram use selection tool (mouse box) to select all items to be in the SubVI. ◦ From Edit menu select “Create SubVI” ◦ Double click on new icon and save it as a separate VI. ◦ Cut-and-paste it at will or insert it using “Functions – Select VI menu”

Editor's Notes

  • #6: LabVIEW programs are called virtual instruments (VIs). Stress that controls equal inputs, indicators equal outputs. Each VI contains three main parts: Front Panel – How the user interacts with the VI. Block Diagram – The code that controls the program. Icon/Connector – Means of connecting a VI to other VIs. The Front Panel is used to interact with the user when the program is running. Users can control the program, change inputs, and see data updated in real time. Stress that controls are used for inputs- adjusting a slide control to set an alarm value, turning a switch on or off, or stopping a program. Indicators are used as outputs. Thermometers, lights, and other indicators indicate values from the program. These may include data, program states, and other information. Every front panel control or indicator has a corresponding terminal on the block diagram. When a VI is run, values from controls flow through the block diagram, where they are used in the functions on the diagram, and the results are passed into other functions or indicators.
  • #27: When you create an object on the Front Panel, a terminal will be created on the Block Diagram. These terminals give you access to the Front Panel objects from the Block Diagram code. Each terminal contains useful information about the Front Panel object it corresponds to. For example, the color and symbols provide the data type. Double-precision, floating point numbers are represented with orange terminals and the letters DBL. Boolean terminals are green with TF lettering. In general, orange terminals should wire to orange terminals, green to green, and so on. This is not a hard-and-fast rule; LabVIEW will allow a user to connect a blue terminal (integer value) to an orange terminal (fractional value), for example. But in most cases, look for a match in colors. Controls have an arrow on the right side and have a thick border. Indicators have an arrow on the left and a thin border. Logic rules apply to wiring in LabVIEW: Each wire must have one (but only one) source (or control), and each wire may have multiple destinations (or indicators). The program in this slide takes data from A and B and passes the values to both an Add function and a subtract function. The results are displayed on the appropriate indicators.