1 / 19

LabVIEW Crash Course

LabVIEW Crash Course. Presented by:. Goals of Crash Course. Become Familiar with the Interface Become Familiar with Basic Commands Become Familiar with Basic Elements. Crash Course Parts. Section 1: Introduction Presentation Section 2: Worksheet. What is LabVIEW?.

blaise
Download Presentation

LabVIEW Crash Course

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LabVIEW Crash Course Presented by:

  2. Goals of Crash Course • Become Familiar with the Interface • Become Familiar with Basic Commands • Become Familiar with Basic Elements

  3. Crash Course Parts • Section 1: Introduction Presentation • Section 2: Worksheet

  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

  5. Back Panel • This is where you build your Programs • All blocks and programming elements go here

  6. Block Explanation • Blocks are called VIs • VIs come in a variety of shapes and sizes • VIs are connected to each other by wires

  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 Formatting Inputs Outputs Data Flow

  8. 0 2 0 0 or 6? Block Diagram • Execution Order Can be a Problem

  9. Solve with Sequence Structures or Data Flow Block Diagram • Execution Order Can be a Problem Right Click =>Structures => Flat Sequence => For Loop, While Loop, Timed Structure, ETC

  10. Express VIs • Automate Frequently used operations • Will be used to generate signals

  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

  12. Debugging • Debugging Highlights Data Flow • You can also use the Error Data Type

  13. Front Panel • This is where your programs will output to • There is no zoom function – what you see is what you get

  14. Front Panel • Objects placed on the Front Panel will create icons in the back panel for the VI to manipulate

  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

  16. Hints • Work on the back panel first • Don’t cross wires – Keep the diagram clean • If in doubt: right-click

  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

  18. Other Resources • LabVIEW for Dummies • http://www.iit.edu/~labview/Dummies.html

  19. Worksheet Time!

More Related