Download presentation
Presentation is loading. Please wait.
Published byAllan Mason Modified over 9 years ago
1
infinity-project.org Engineering education for today’s classroom The Infinity Project SM LabVIEW for The Infinity Project
2
infinity-project.org Engineering education for today’s classroom Topics Understand the components of a Virtual Instrument (VI) Become familiar with common LabVIEW data types and functions Build your own simple programs Interface programs with the Speedy-33 and USB Webcam
3
infinity-project.org Engineering education for today’s classroom Section I Running Examples in LabVIEW for the Infinity Project Components of a LabVIEW application Wiring LabVIEW Help Debugging
4
infinity-project.org Engineering education for today’s classroom LabVIEW for The Infinity Project Splash Screen
5
infinity-project.org Engineering education for today’s classroom Exercise 1: Opening an Example for LabVIEW for The Infinity Project Start to familiarize yourself with the LabVIEW for Infinity environment. Directions: Open and run Lab 1.1.2: Testing Your system – Microphone and Cosine
6
infinity-project.org Engineering education for today’s classroom Front Panel Controls = Inputs Indicators = Outputs Block Diagram Accompanying “program” for front panel Components “wired” together LabVIEW Programs Are Called Virtual Instruments (VIs)
7
infinity-project.org Engineering education for today’s classroom 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 )
8
infinity-project.org Engineering education for today’s classroom VI Front Panel Front Panel Toolbar Graph Legend Boolean Control Waveform Graph Icon Plot Legend Scale Legend
9
infinity-project.org Engineering education for today’s classroom VI Block Diagram Wire Data Graph Terminal SubVI While Loop Structure Block Diagram Toolbar Divide Function Numeric Constant Timing Function Boolean Control Terminal
10
infinity-project.org Engineering education for today’s classroom 3 Types of Functions (from the Functions Palette) Express VIs : interactive VIs with configurable dialog page (blue border) Standard VIs : modularized VIs customized by wiring (customizable) Functions : fundamental operating elements of LabVIEW; no front panel or block diagram (yellow)
11
infinity-project.org Engineering education for today’s classroom What Types of Controls and Indicators are Available? Numeric Data Number input and display Analog Sliders, Dials, and Gauges Boolean Data Buttons and LEDs Array & Matrix Data Numeric Display Chart Graph XY Graph Intensity Graph 3D graph: point, surface, and model Decorations Tab Control Arrows Other Strings and text boxes Picture/Image Display ActiveX Controls Controls Palette
12
infinity-project.org Engineering education for today’s classroom Control & Indicator Properties Properties are characteristics or qualities about an object Properties can be found by right clicking on a Control or Indicator Properties Include: – Size – Color – Plot Style – Plot color Features include: – Cursors – Scaling
13
infinity-project.org Engineering education for today’s classroom What Types of Functions are Available? Input and Output Signal and Data Simulation Acquire and Generate Real Signals with DAQ Instrument I/O Assistant (Serial & GPIB) ActiveX for communication with other programs Analysis Signal Processing Statistics Advanced Math and Formulas Continuous Time Solver Storage File I/O Functions Palette
14
infinity-project.org Engineering education for today’s classroom Searching for Controls, VIs, and Functions Palettes are filled with hundreds of VIs Press the search button to index the all VIs for text searching Click and drag an item from the search window to the block diagram Double-click an item to open the owning palette
15
infinity-project.org Engineering education for today’s classroom 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
16
infinity-project.org Engineering education for today’s classroom 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
17
infinity-project.org Engineering education for today’s classroom Do Not Delete This Slide
18
infinity-project.org Engineering education for today’s classroom Review of Data Types Found in LabVIEW
19
infinity-project.org Engineering education for today’s classroom 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
20
infinity-project.org Engineering education for today’s classroom Exercise 2: Dataflow Understand how dataflow determines the execution order in a VI. Directions: Build the following VI in LabVIEW: Run the program in Highlight Execution mode and notice how data flows through the wires.
21
infinity-project.org Engineering education for today’s classroom Wiring Tips – Block Diagram Wiring “Hot Spot” Clean Up Wiring Use Automatic Wire Routing Click To Select Wires
22
infinity-project.org Engineering education for today’s classroom Do Not Delete This Slide
23
infinity-project.org Engineering education for today’s classroom Block Diagram Window Front Panel Window Demonstration 1: Creating a VI Input Terminals Output Terminal Boolean Control Graph Indicator
24
infinity-project.org Engineering education for today’s classroom Help Options Context Help Online help Lock help Simple/Complex Diagram help Ctrl + H Online reference All menus online Also available under Help>>Search the LabVIEW Help *Don’t forget to look under Help>>Find Examples!
25
infinity-project.org Engineering education for today’s classroom Do Not Delete This Slide
26
infinity-project.org Engineering education for today’s classroom Debugging Techniques Finding Errors Execution Highlighting Probe Click on broken Run button Window showing error appears Click on Execution Highlighting button; data flow is animated using bubbles. Values are displayed on wires. 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
27
infinity-project.org Engineering education for today’s classroom Demonstration 2: Debugging Use the debugging tools built into LabVIEW to determine why the VI is broken. How do you know the VI is not working? How can you find the errors in the VI?
28
infinity-project.org Engineering education for today’s classroom Tips for Working in LabVIEW Keystroke Shortcuts – Activate/Deactivate Context Help Window – Remove Broken Wires From Block Diagram – Toggle Between Front Panel and Block Diagram – Tile the Front Panel and Block Diagram – Undo (Also in Edit Menu) Tools » Options… – Set Preferences in LabVIEW VI Properties – Configure VI Appearance, Documentation, etc.
29
infinity-project.org Engineering education for today’s classroom Exercise 3: Create another VI Create a VI to compute the slope of a line.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.