LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become...
Transcript of LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become...
![Page 1: LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become Familiar with Basic Commands Become Familiar with.](https://reader036.fdocuments.in/reader036/viewer/2022070306/5518b040550346881f8b4eac/html5/thumbnails/1.jpg)
LabVIEW Crash Course
Presented by:
![Page 2: LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become Familiar with Basic Commands Become Familiar with.](https://reader036.fdocuments.in/reader036/viewer/2022070306/5518b040550346881f8b4eac/html5/thumbnails/2.jpg)
Goals of Crash Course
Become Familiar with the Interface
Become Familiar with Basic Commands
Become Familiar with Basic Elements
Slide 2
![Page 3: LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become Familiar with Basic Commands Become Familiar with.](https://reader036.fdocuments.in/reader036/viewer/2022070306/5518b040550346881f8b4eac/html5/thumbnails/3.jpg)
Crash Course Parts
Section 1: Introduction Presentation
Section 2: Worksheet
Slide 3
![Page 4: LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become Familiar with Basic Commands Become Familiar with.](https://reader036.fdocuments.in/reader036/viewer/2022070306/5518b040550346881f8b4eac/html5/thumbnails/4.jpg)
Slide 4
What is LabVIEW?
Laboratory Virtual Instrumental
Engineering Workbench
LabVIEW is a graphical language
It works just like block diagrams
LabVIEW consists of two environments
Backpanel/Block Diagram
Frontpanel
![Page 5: LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become Familiar with Basic Commands Become Familiar with.](https://reader036.fdocuments.in/reader036/viewer/2022070306/5518b040550346881f8b4eac/html5/thumbnails/5.jpg)
Slide 5
Back Panel
This is where you build your Programs
All blocks and programming elements go here
![Page 6: LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become Familiar with Basic Commands Become Familiar with.](https://reader036.fdocuments.in/reader036/viewer/2022070306/5518b040550346881f8b4eac/html5/thumbnails/6.jpg)
Slide 6
Block Explanation
Blocks are called VIs
VIs come in a variety of shapes and sizes
VIs are connected to each other by wires
![Page 7: LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become Familiar with Basic Commands Become Familiar with.](https://reader036.fdocuments.in/reader036/viewer/2022070306/5518b040550346881f8b4eac/html5/thumbnails/7.jpg)
Slide 7
Block Explanation
VIs are setup so data moves from left to right
Each data type has its own wire color
Constants, Controls, Variables and Indicators have the same color scheme
Inputs
Formatting
Outputs
Data Flow
![Page 8: LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become Familiar with Basic Commands Become Familiar with.](https://reader036.fdocuments.in/reader036/viewer/2022070306/5518b040550346881f8b4eac/html5/thumbnails/8.jpg)
Slide 8
Block Diagram
Execution Order Can be a Problem
0
2
0
0 or 6?
![Page 9: LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become Familiar with Basic Commands Become Familiar with.](https://reader036.fdocuments.in/reader036/viewer/2022070306/5518b040550346881f8b4eac/html5/thumbnails/9.jpg)
Slide 9
Block Diagram
Execution Order Can be a Problem Solve with Sequence Structures or Data Flow
Right Click =>Structures => Flat Sequence
=> For Loop, While Loop, Timed Structure, ETC
![Page 10: LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become Familiar with Basic Commands Become Familiar with.](https://reader036.fdocuments.in/reader036/viewer/2022070306/5518b040550346881f8b4eac/html5/thumbnails/10.jpg)
Slide 10
Express VIs
Automate Frequently used operations
Will be used to generate signals
![Page 11: LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become Familiar with Basic Commands Become Familiar with.](https://reader036.fdocuments.in/reader036/viewer/2022070306/5518b040550346881f8b4eac/html5/thumbnails/11.jpg)
Slide 11
Debugging
If you’re unsure how to use a VI use ctrl-H for context help
LabVIEW contains several example VIs
Keep an eye on what data types you use
![Page 12: LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become Familiar with Basic Commands Become Familiar with.](https://reader036.fdocuments.in/reader036/viewer/2022070306/5518b040550346881f8b4eac/html5/thumbnails/12.jpg)
Slide 12
Debugging Highlights Data Flow
You can also use the Error Data Type
Debugging
![Page 13: LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become Familiar with Basic Commands Become Familiar with.](https://reader036.fdocuments.in/reader036/viewer/2022070306/5518b040550346881f8b4eac/html5/thumbnails/13.jpg)
Slide 13
Front Panel
This is where your programs will output to
There is no zoom function – what you see is what you get
![Page 14: LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become Familiar with Basic Commands Become Familiar with.](https://reader036.fdocuments.in/reader036/viewer/2022070306/5518b040550346881f8b4eac/html5/thumbnails/14.jpg)
Slide 14
Front Panel
Objects placed on the Front Panel will create icons in the back panel for the VI to manipulate
![Page 15: LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become Familiar with Basic Commands Become Familiar with.](https://reader036.fdocuments.in/reader036/viewer/2022070306/5518b040550346881f8b4eac/html5/thumbnails/15.jpg)
Slide 15
Advanced Topics
Loops, case structures, comments, variables, sub-programs and just about every other Comp-Sci term can be implemented in LabVIEW
There is text programming in LabVIEW
For more info visit NI’s website www.ni.com
![Page 16: LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become Familiar with Basic Commands Become Familiar with.](https://reader036.fdocuments.in/reader036/viewer/2022070306/5518b040550346881f8b4eac/html5/thumbnails/16.jpg)
Slide 16
Hints
Work on the back panel first
Don’t cross wires – Keep the diagram clean
If in doubt: right-click
![Page 17: LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become Familiar with Basic Commands Become Familiar with.](https://reader036.fdocuments.in/reader036/viewer/2022070306/5518b040550346881f8b4eac/html5/thumbnails/17.jpg)
Slide 17
Shortcuts
Ctrl-B -Remove Broken Wires
Ctrl-R -Run VI
Ctrl-E -Change Environment
Ctrl-T -Tiled View
Ctrl-H -Show Icon Help
Ctrl-(drag) -Copy to Location
Shift-(Right Click) -Call Cursor Palette
![Page 18: LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become Familiar with Basic Commands Become Familiar with.](https://reader036.fdocuments.in/reader036/viewer/2022070306/5518b040550346881f8b4eac/html5/thumbnails/18.jpg)
Other Resources
LabVIEW for Dummies http://www.iit.edu/~labview/Dummies.html
Slide 18
![Page 19: LabVIEW Crash Course Presented by:. Goals of Crash Course Become Familiar with the Interface Become Familiar with Basic Commands Become Familiar with.](https://reader036.fdocuments.in/reader036/viewer/2022070306/5518b040550346881f8b4eac/html5/thumbnails/19.jpg)
Slide 19
Worksheet Time!