Introduction To LabVIEW Short
Introduction To LabVIEW Short
Design
Prototype
Deploy
High-Speed High-Resolution
Multifunction
Dynamic
Instrument
Digitizers and DMMs Data Acquisition Signal Acquisition Control
Digitizers
Signal Conditioning
and Switching
Laptop PC
Desktop PC
Digital I/O
Counter/
Timers
Machine
Vision
Motion
Control
PDA
C. Additional Help
Context Help
Data Flow Execution
Debugging
VI Front Panel
User Interface (UI)
Controls = Inputs
Indicators = Outputs
VI Block Diagram
Graphical Code
Data travels on wires from
controls through functions to
indicators
Blocks execute by Dataflow
Customize
Palette
View
Indicator:
Numeric Slide
Structure:
While Loop
Status Toolbar
Run Button
Continuous Run Button
Abort Execution
Dataflow Programming
Block diagram execution
Dependent on the flow of data
Block diagram does NOT execute
left to right
Debugging Techniques
Finding Errors
Click on broken Run button.
Window showing error appears.
Execution Highlighting
Click on Execution Highlighting button; data
flow is animated using bubbles. Values are
displayed on wires.
Probes
Right-click on wire to display probe and it shows
data as it flows through wire segment.
You can also select Probe tool from Tools palette
and click on wire.
Status Toolbar
Additional Buttons on
the Diagram Toolbar
Types of Functions
Functions Palette & Searching
Loops
While Loop
For Loop
Boolean Data
Numeric Display
Chart
Graph
XY Graph
Intensity Graph
3D graph: point, surface, and
model
Decorations
-Tab Control
- Arrows
Other
Analysis
Signal Processing
Statistics
Advanced Math and Formulas
Continuous Time Solver
Storage
File I/O
Loops
While Loop
While Loops
i terminal counts iteration
Always runs at least once
Runs until stop condition is
met
For Loops
i terminal counts iterations
Run according to input N of
count terminal
For Loop
Drawing a Loop
2. Enclose code to be repeated
1. Select the structure
Timing a Loop
1. Loop Time Delay
Configure the Time Delay Express VI for seconds to wait
each iteration of the loop (works on For and While loops).
2. Timed Loops
Configure special timed While loop for desired dt.
Time Delay
Timed Loop
Initial
Value
Before
Loop
Begins
Value 3
First
Iteration
Second
Iteration
Last
Iteration
Making Decisions
1. Case Structures
2. Select
(a)
(c)
(b)
Create SubVI
Enclose area to be converted into a subVI.
Select EditCreate SubVI from the Edit Menu.
main
{
average (in1, in2, pointavg)
}
MathSoft software
MATLAB software
Xmath software
(FunctionsProgramming
StructuresMathScript)
Window
Variable
Workspace
View/Modify
Variable Contents
m-file Script
User Commands
(LabVIEWToolsMathScript Window)
File I/O
File I/O passing data to and from files
Files can be binary, text, or spreadsheet
Write/Read LabVIEW Measurements file (*.lvm)
Writing to LVM file
Read
and/or
Write to File
Close
File
Check for
Errors
Properties Include:
Size
Color
Plot Style
Plot color
Features include:
Cursors
Scaling
Advanced topics
Introduction to Clusters
Data structure that groups data together
Data may be of different types
Analogous to struct in C
Elements must be either all controls or all indicators
Thought of as wires bundled into a cable
Order is important
LabVIEW Project
Group and organize VIs
Hardware and I/O management
Manage VIs for multiple targets
Build libraries and executables
Manage large LabVIEW applications
Enable version tracking and management
(LabVIEW>Project>New)
Additional Resources
NI Academic Web & Student Corner
http://www.ni.com/academic
LabVIEW Certification
LabVIEW Fundamentals Exam (free on www.ni.com/academic)
Certified LabVIEW Associate Developer Exam (industry recognized certification )
By Robert H Bishop.
Published by Prentice Hall.
Certified
LabVIEW
Architect
Developer
Advanced LabVIEW knowledge
and application development
experience
Project management skills
Certified LabVIEW
Developer
Associate Developer
Proficiency in navigating
LabVIEW environment
Some application
development experience
Fundamentals Exam
http://www.labviewjobs.com/index.php