SlideShare a Scribd company logo
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

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

Lesson 1 navigating lab view
Lesson 1   navigating lab viewLesson 1   navigating lab view
Lesson 1 navigating lab view
Raymundo Vazquez
 
Getting started with LabVIEW
Getting started with LabVIEWGetting started with LabVIEW
Getting started with LabVIEW
Yomna Eid
 
Virtual Instrumentation & LabVIEW-lini.ppt
Virtual Instrumentation & LabVIEW-lini.pptVirtual Instrumentation & LabVIEW-lini.ppt
Virtual Instrumentation & LabVIEW-lini.ppt
AvinashJain66
 
Sample instrument using lab view abhijeet agarwal-1
Sample instrument using lab view  abhijeet agarwal-1Sample instrument using lab view  abhijeet agarwal-1
Sample instrument using lab view abhijeet agarwal-1
Abhijeet Agarwal
 
Introduction%20to%20 labview
Introduction%20to%20 labviewIntroduction%20to%20 labview
Introduction%20to%20 labview
andrearln
 
Lab view
Lab viewLab view
Lab view
Seeni vasan
 
38180007 Sarish Wadkar.pptx
38180007 Sarish Wadkar.pptx38180007 Sarish Wadkar.pptx
38180007 Sarish Wadkar.pptx
BKushal1
 
Lab-Lecture3-Intro-to-LabView(1).ppt
Lab-Lecture3-Intro-to-LabView(1).pptLab-Lecture3-Intro-to-LabView(1).ppt
Lab-Lecture3-Intro-to-LabView(1).ppt
BakiyalakshmiR1
 
Labview material
Labview materialLabview material
Labview material
vijaya lakshmi kodali
 
LabView Workshop
LabView WorkshopLabView Workshop
LabView Workshop
Andrii Sofiienko
 
38180007 Sarish Wadkar.pdf
38180007 Sarish Wadkar.pdf38180007 Sarish Wadkar.pdf
38180007 Sarish Wadkar.pdf
BKushal1
 
VISUAL PROGRAMMING
VISUAL PROGRAMMINGVISUAL PROGRAMMING
VISUAL PROGRAMMING
SarithaDhanapal
 
Labview
Labview Labview
Labview
Rishikesh .
 
Virtual instrumentation (LabVIEW)
Virtual instrumentation (LabVIEW)Virtual instrumentation (LabVIEW)
Virtual instrumentation (LabVIEW)
Manipal University Jaipur
 
2 front panel
2  front panel2  front panel
2 front panel
Ankush Jamthikar
 
Lab view introduction
Lab view introductionLab view introduction
Lab view introduction
JakupBerisha2
 
Visual Basic IDE Intro.pdf
Visual Basic IDE Intro.pdfVisual Basic IDE Intro.pdf
Visual Basic IDE Intro.pdf
sheenmarie0212
 
Visual Basic IDE Introduction
Visual Basic IDE IntroductionVisual Basic IDE Introduction
Visual Basic IDE Introduction
Ahllen Javier
 
Version 3 introduction 11 jul-2016
Version 3 introduction 11 jul-2016Version 3 introduction 11 jul-2016
Version 3 introduction 11 jul-2016
Wellbarrier
 
Swift
SwiftSwift
Swift
Larry Ball
 

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

Lesson 1 navigating lab view
Lesson 1   navigating lab viewLesson 1   navigating lab view
Lesson 1 navigating lab view
 
Getting started with LabVIEW
Getting started with LabVIEWGetting started with LabVIEW
Getting started with LabVIEW
 
Virtual Instrumentation & LabVIEW-lini.ppt
Virtual Instrumentation & LabVIEW-lini.pptVirtual Instrumentation & LabVIEW-lini.ppt
Virtual Instrumentation & LabVIEW-lini.ppt
 
Sample instrument using lab view abhijeet agarwal-1
Sample instrument using lab view  abhijeet agarwal-1Sample instrument using lab view  abhijeet agarwal-1
Sample instrument using lab view abhijeet agarwal-1
 
Introduction%20to%20 labview
Introduction%20to%20 labviewIntroduction%20to%20 labview
Introduction%20to%20 labview
 
Lab view
Lab viewLab view
Lab view
 
38180007 Sarish Wadkar.pptx
38180007 Sarish Wadkar.pptx38180007 Sarish Wadkar.pptx
38180007 Sarish Wadkar.pptx
 
Lab-Lecture3-Intro-to-LabView(1).ppt
Lab-Lecture3-Intro-to-LabView(1).pptLab-Lecture3-Intro-to-LabView(1).ppt
Lab-Lecture3-Intro-to-LabView(1).ppt
 
Labview material
Labview materialLabview material
Labview material
 
LabView Workshop
LabView WorkshopLabView Workshop
LabView Workshop
 
38180007 Sarish Wadkar.pdf
38180007 Sarish Wadkar.pdf38180007 Sarish Wadkar.pdf
38180007 Sarish Wadkar.pdf
 
VISUAL PROGRAMMING
VISUAL PROGRAMMINGVISUAL PROGRAMMING
VISUAL PROGRAMMING
 
Labview
Labview Labview
Labview
 
Virtual instrumentation (LabVIEW)
Virtual instrumentation (LabVIEW)Virtual instrumentation (LabVIEW)
Virtual instrumentation (LabVIEW)
 
2 front panel
2  front panel2  front panel
2 front panel
 
Lab view introduction
Lab view introductionLab view introduction
Lab view introduction
 
Visual Basic IDE Intro.pdf
Visual Basic IDE Intro.pdfVisual Basic IDE Intro.pdf
Visual Basic IDE Intro.pdf
 
Visual Basic IDE Introduction
Visual Basic IDE IntroductionVisual Basic IDE Introduction
Visual Basic IDE Introduction
 
Version 3 introduction 11 jul-2016
Version 3 introduction 11 jul-2016Version 3 introduction 11 jul-2016
Version 3 introduction 11 jul-2016
 
Swift
SwiftSwift
Swift
 

Recently uploaded

GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Zilliz
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
TIPNGVN2
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 

Recently uploaded (20)

GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 

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