SlideShare a Scribd company logo
7
Most read
9
Most read
10
Most read
UNIT-II- VI PROGRAMMING
TECHNIQUES
Front Panel
Controls = Inputs
Indicators = Outputs
Block Diagram
Accompanying “program” for
front panel
Components “wired” together
LabVIEW Programs Are Called Virtual
Instruments (VIs)
Boolean
Control
Double
Indicator
Waveform Graph
Panel T
oolbar
VI Front Panel
VI Block Diagram
NumericConstant WhileLoop
Callto
subVI
Knob
Terminal
StopButton
Terminal
StopLoop
Terminal
Thermometer
Terminal
Temperature
Graph
Controls and Functions Palettes
Graphical, floating palettes
Used to place controls &
indicators on the front panel, or
to build the block diagram
Controls Palette
(Panel Window)
Functions Palette
(Diagram Window)
Tools Palette
Operating Tool
Positioning/Resizing Tool
Labeling Tool
Wiring Tool
Shortcut Menu Tool
Scrolling Tool
Breakpoint Tool
Probe Tool
Color Copy Tool
Coloring Tool
• Floating Palette
• Used to operate and modify front
panel and block diagram objects.
Automatic Selection Tool
Run Button
Continuous Run
Button
Abort Execution
Pause/Continue
Button
Text Settings
Align Objects
Distribute Objects
Reorder
Additional Buttons on
the Diagram Toolbar
Execution
Highlighting Button
Step Into Button
Step Over Button
Step Out Button
Status Toolbar
Signal Generation
and Processing.vi
Help » Find Examples…
BrowseAccording to: Task
» Analyzing and Processing Signals
» Signal Processing
» Signal Generation and Processing.vi
Open and Run a Virtual Instrument
Control
T
erminals
Block Diagram Window
Front Panel Window
Indicator
T
erminals
Creating a VI
Creating a VI – Block Diagram
• After Creating Front Panel Controls and Indicators, Switch to
Block Diagram <Ctrl-E>
• Move Front Panel Objects to Desired Locations Using the
Position/Size/Select Tool
• Place Functions On Diagram
• WireAppropriate Terminals Together to Complete the
Diagram
WiringTips– Block Diagram
Wiring“Hot Spot” ClickToSelectWires
ClickWhileWiringToTack WiresDown
SpacebarFlips WireOrientation
SubVirtual Instruments
Whatis a subVI?
• Making an icon and
connectorfor a
subVI
• Using aVI as a subVI
SubVIs
• ASubVI is a VI that can be used within
another VI
• Advantages
– Modular
– Easier to debug
– Don’t have to recreate code
– Require less memory
Iconand Connector
• An icon represents a VI in otherblock
diagrams
• Aconnector shows available
terminals fordata transfer
SubVIs
SubVIs
Steps to Create a SubVI
• Create the Icon
• Create the Connector
• Assign Terminals
• Save the VI
• Insert the VI into a Top Level VI
Create the Icon
• Right-click on the icon in the
diagram or front panel
Create the Connector
Right click on the icon pane (front panel only)
Assign Terminals
Save The VI
• Choose an Easy to Remember Location
• Organize by Functionality
– Save Similar VIs into one directory (e.g. Math Utilities)
• Organize byApplication
– Save all VIs Used for a Specific Application into one
directory or library file (e.g. Lab 1 – Frequency Response)
• Library Files (.llbs) combine many VI’s into a single
file, ideal for transferring entire applications across
computers
Insert the SubVI into a Top Level VI
Accessing user-made subVIs
Functions >> Select a VI
Or
Drag icon onto target diagram

More Related Content

PDF
Lab view introduction-threehour
PPT
LabVIEW Introduction for student deni.ppt
PPT
Lab view introduction
PPT
Labview Introduction
PPTX
NIS LabView
PPTX
Presentation on LabVIEW Basics
PDF
Introduction to LabVIEW
PPT
Lesson_1-4.ppt
Lab view introduction-threehour
LabVIEW Introduction for student deni.ppt
Lab view introduction
Labview Introduction
NIS LabView
Presentation on LabVIEW Basics
Introduction to LabVIEW
Lesson_1-4.ppt

Similar to Unit 3 Sensor and Instrumentation _Graphical programming techniques.pptx (20)

DOC
222066369 clad-study-guide
PPTX
Lesson 1 navigating lab view
PPTX
Getting started with LabVIEW
PPT
Virtual Instrumentation & LabVIEW-lini.ppt
PPTX
Sample instrument using lab view abhijeet agarwal-1
PDF
Introduction%20to%20 labview
PPTX
Lab view
PPTX
38180007 Sarish Wadkar.pptx
PPT
Lab-Lecture3-Intro-to-LabView(1).ppt
PPT
Labview material
PPT
Introduction-to-LabView programming .ppt
PPT
Lab-Lecture3-Idddddddddddddddddddntro-to-LabView.ppt
PPTX
LabView Workshop
PDF
38180007 Sarish Wadkar.pdf
PDF
VISUAL PROGRAMMING
PPTX
Labview
PPTX
Virtual instrumentation (LabVIEW)
PDF
2 front panel
PPT
LABVIEW create graphical software programming
PDF
Lab view introduction
222066369 clad-study-guide
Lesson 1 navigating lab view
Getting started with LabVIEW
Virtual Instrumentation & LabVIEW-lini.ppt
Sample instrument using lab view abhijeet agarwal-1
Introduction%20to%20 labview
Lab view
38180007 Sarish Wadkar.pptx
Lab-Lecture3-Intro-to-LabView(1).ppt
Labview material
Introduction-to-LabView programming .ppt
Lab-Lecture3-Idddddddddddddddddddntro-to-LabView.ppt
LabView Workshop
38180007 Sarish Wadkar.pdf
VISUAL PROGRAMMING
Labview
Virtual instrumentation (LabVIEW)
2 front panel
LABVIEW create graphical software programming
Lab view introduction
Ad

Recently uploaded (20)

PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Cloud computing and distributed systems.
PDF
Approach and Philosophy of On baking technology
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Encapsulation theory and applications.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Electronic commerce courselecture one. Pdf
PPT
Teaching material agriculture food technology
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Cloud computing and distributed systems.
Approach and Philosophy of On baking technology
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Digital-Transformation-Roadmap-for-Companies.pptx
Understanding_Digital_Forensics_Presentation.pptx
Programs and apps: productivity, graphics, security and other tools
Spectral efficient network and resource selection model in 5G networks
Reach Out and Touch Someone: Haptics and Empathic Computing
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Per capita expenditure prediction using model stacking based on satellite ima...
20250228 LYD VKU AI Blended-Learning.pptx
Encapsulation theory and applications.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Review of recent advances in non-invasive hemoglobin estimation
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Electronic commerce courselecture one. Pdf
Teaching material agriculture food technology
Ad

Unit 3 Sensor and Instrumentation _Graphical programming techniques.pptx

  • 2. Front Panel Controls = Inputs Indicators = Outputs Block Diagram Accompanying “program” for front panel Components “wired” together LabVIEW Programs Are Called Virtual Instruments (VIs)
  • 4. VI Block Diagram NumericConstant WhileLoop Callto subVI Knob Terminal StopButton Terminal StopLoop Terminal Thermometer Terminal Temperature Graph
  • 5. Controls and Functions Palettes Graphical, floating palettes Used to place controls & indicators on the front panel, or to build the block diagram Controls Palette (Panel Window) Functions Palette (Diagram Window)
  • 6. Tools Palette Operating Tool Positioning/Resizing Tool Labeling Tool Wiring Tool Shortcut Menu Tool Scrolling Tool Breakpoint Tool Probe Tool Color Copy Tool Coloring Tool • Floating Palette • Used to operate and modify front panel and block diagram objects. Automatic Selection Tool
  • 7. Run Button Continuous Run Button Abort Execution Pause/Continue Button Text Settings Align Objects Distribute Objects Reorder Additional Buttons on the Diagram Toolbar Execution Highlighting Button Step Into Button Step Over Button Step Out Button Status Toolbar
  • 8. Signal Generation and Processing.vi Help » Find Examples… BrowseAccording to: Task » Analyzing and Processing Signals » Signal Processing » Signal Generation and Processing.vi Open and Run a Virtual Instrument
  • 9. Control T erminals Block Diagram Window Front Panel Window Indicator T erminals Creating a VI
  • 10. Creating a VI – Block Diagram • After Creating Front Panel Controls and Indicators, Switch to Block Diagram <Ctrl-E> • Move Front Panel Objects to Desired Locations Using the Position/Size/Select Tool • Place Functions On Diagram • WireAppropriate Terminals Together to Complete the Diagram
  • 11. WiringTips– Block Diagram Wiring“Hot Spot” ClickToSelectWires ClickWhileWiringToTack WiresDown SpacebarFlips WireOrientation
  • 12. SubVirtual Instruments Whatis a subVI? • Making an icon and connectorfor a subVI • Using aVI as a subVI
  • 13. SubVIs • ASubVI is a VI that can be used within another VI • Advantages – Modular – Easier to debug – Don’t have to recreate code – Require less memory
  • 14. Iconand Connector • An icon represents a VI in otherblock diagrams • Aconnector shows available terminals fordata transfer
  • 16. Steps to Create a SubVI • Create the Icon • Create the Connector • Assign Terminals • Save the VI • Insert the VI into a Top Level VI
  • 17. Create the Icon • Right-click on the icon in the diagram or front panel
  • 18. Create the Connector Right click on the icon pane (front panel only)
  • 20. Save The VI • Choose an Easy to Remember Location • Organize by Functionality – Save Similar VIs into one directory (e.g. Math Utilities) • Organize byApplication – Save all VIs Used for a Specific Application into one directory or library file (e.g. Lab 1 – Frequency Response) • Library Files (.llbs) combine many VI’s into a single file, ideal for transferring entire applications across computers
  • 21. Insert the SubVI into a Top Level VI Accessing user-made subVIs Functions >> Select a VI Or Drag icon onto target diagram