Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments >...
-
Upload
agatha-wilson -
Category
Documents
-
view
234 -
download
6
Transcript of Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments >...
![Page 1: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/1.jpg)
Chapter 1 LabVIEW Basics
![Page 2: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/2.jpg)
Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs
![Page 3: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/3.jpg)
Virtual Instrumentation Applications• Design
– Signal and Image Processing– Embedded System Programming
• (PC, DSP, FPGA, Microcontroller)– Simulation and Prototyping– And more…
• Control– Automatic Controls and Dynamic Systems– Mechatronics and Robotics– And more…
• Measurements– Circuits and Electronics– Measurements and Instrumentation– And more…
Design Prototype Deploy
A single graphical development platform
![Page 4: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/4.jpg)
The NI Approach – Integrated Hardware Platforms
High-SpeedDigitizers
High-ResolutionDigitizers and DMMs
Multifunction Data Acquisition
DynamicSignal Acquisition
Digital I/OInstrumentControl
Counter/Timers
MachineVision
Motion Control
Distributed I/O andEmbedded Control
Laptop PC PDADesktop PCPXI Modular Instrumentation
Signal Conditioningand Switching
Unit Under Test
![Page 5: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/5.jpg)
Each VI has 2 Windows
Front Panel• User Interface (UI)
– Controls = Inputs– Indicators = Outputs
Block Diagram• Graphical Code
– Data travels on wires from controls through functions to indicators
– Blocks execute by Dataflow
LabVIEW Programs Are Called Virtual Instruments (VIs)
![Page 6: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/6.jpg)
![Page 7: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/7.jpg)
![Page 8: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/8.jpg)
Express VIs, VIs and Functions• Express VIs: interactive VIs with configurable dialog page• Standard VIs: modularized VIs customized by wiring• Functions: fundamental operating elements of
LabVIEW; no front panel or block diagram
Express VIExpress VI Standard VIStandard VI
FunctionFunction
![Page 9: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/9.jpg)
Virtual Instrumentation With LabVIEW
Virtual Instrumentation With LabVIEW
![Page 10: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/10.jpg)
Front Panel Toolbar> Run / Broken Run> Continuous Run> Abort Execution> Pause / Continue> Font Ring> Alignment Ring> Distribution Ring
![Page 11: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/11.jpg)
![Page 12: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/12.jpg)
Run Button
Continuous Run Button
Abort Execution
Execution Highlighting Button
Additional Buttons on the Diagram Toolbar
Status Toolbar
Retain Wire Values Button
Step Function Buttons
![Page 13: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/13.jpg)
Block Diagram Toolbar Additional: > Highlight Execution > Step Into > Step Over > Step Out > Warning Indicator
![Page 14: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/14.jpg)
![Page 15: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/15.jpg)
Run Button
Continuous Run Button
Abort Execution
Pause/Continue Button
Text Settings
Align Objects
Distribute Objects
Reorder
Resize front panel objects
Execution Highlighting Button Step Into Button
Step Over Button
Step Out Button
Additional Buttons on the Diagram Toolbar
Status Toolbar
![Page 16: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/16.jpg)
Palettes > Tools > Controls > Functions
![Page 17: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/17.jpg)
• Recommended: Automatic Selection Tool• Tools to operate and modify both front panel and
block diagram objects
Operating Tool
Positioning/Resizing Tool
Labeling Tool
Wiring Tool
Tools Palette
Automatic Selection Tool
Automatically chooses among the following tools:
![Page 18: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/18.jpg)
Operating Tool
Positioning/Resizing Tool
Labeling Tool
Wiring Tool
Shortcut Menu Tool
• Floating Palette• Used to operate and modify
front panel and block diagram objects.
Scrolling Tool
Breakpoint Tool
Probe Tool
Color Copy Tool
Coloring Tool
Tools Palette
Automatic Selection Tool
![Page 19: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/19.jpg)
![Page 20: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/20.jpg)
![Page 21: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/21.jpg)
Controls and Functions Palettes
Controls Palette (Front Panel Window)
Functions Palette (Block Diagram Window)
![Page 22: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/22.jpg)
Chapter 2
Virtual Instruments
![Page 23: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/23.jpg)
Modular Programming SubVIs
![Page 24: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/24.jpg)
VI Main Components > Front Panel - Controls - Indicators
> Block Diagram - Nodes - Terminals - Wires
> Icon/Connector
![Page 25: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/25.jpg)
Block Diagram Features > Control Terminals - Thick Borders > Indicator Terminals - Thin Borders
![Page 26: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/26.jpg)
![Page 27: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/27.jpg)
• Block diagram executes dependent on the flow of data; block diagram does NOT execute left to right
• Node executes when data is available to ALL input terminals
• Nodes supply data to all output terminals when done
Dataflow Programming
![Page 28: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/28.jpg)
![Page 29: Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.](https://reader036.fdocuments.in/reader036/viewer/2022062321/56649e215503460f94b0dc19/html5/thumbnails/29.jpg)
Block Diagram Features Colors: Number – Orange Boolean – Green Integer – Blue String - PinkWire Type: Thin – Scalar Thick – 1D Array Double – 2D Array