Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 3 Editing and Debugging VIs  Read Bishop, Chapter 3.  Lab #3 and Homework #3 due next week.  Quiz.

Slides:



Advertisements
Similar presentations
Getting Started with PowerPoint
Advertisements

Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 2 Virtual Instruments Read Bishop, Chapter 2. Lab #2 and Homework #2 due next week. Quiz #1 next week.
Lesson 2 Navigating LabVIEW
Using Macros and Visual Basic for Applications (VBA) with Excel
XP Tutorial 4 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Personalizing Your Windows Environment Tutorial 4.
Pasewark & Pasewark 1 Word Lesson 4 Formatting Text Microsoft Office 2007: Introductory.
Advanced Microsoft Word Hosted by Jared Hoffman Topics Keyboard Shortcuts Customizing Toolbars and Menus Auto Format & Auto Correct Tabs Inserting Pictures.
CS320n –Visual Programming LabVIEW Foundations. Visual ProgrammingLabVIEW Foundations2 What We Will Do Today Hand back and review the midterm Look at.
 2006 Pearson Education, Inc. All rights reserved Introduction to the Visual C# 2005 Express Edition IDE.
Virtual Instrumentation With LabVIEW. Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Build.
XP New Perspectives on Microsoft Office Word 2003 Tutorial 1 1 Microsoft Office Word 2003 Tutorial 1 – Creating a Document.
XP 1 Microsoft Office Word 2003 Tutorial 1 – Creating a Document.
Creating, Formatting, and Editing a Word Document with a Picture
Create a Narrated Story with PowerPoint. Basics Enter Text. (Click in the text box and start typing. If a text box is not visible, go to Insert > Text.
ME 411/511Prof. Sailor Data Acquisition & LabView Lecture goals… –Learn the basics of how to use and modify LabView Virtual Instruments –Become familiar.
Key Applications Module Lesson 12 — Word Essentials
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 4 SubVIs  Read Bishop, Chapter 4.  Lab #4 and Homework #4 due next week.
Word Lesson 2 Editing and Formatting Text
Virtual Instrumentation With LabVIEW
Lecture 13LabVIEW and GPIB LabVIEW (National Instruments) –Graphical program language –Widely used in academia (lab) and industry (R&D) General Purpose.
Infinity-project.org Engineering education for today’s classroom The Infinity Project SM LabVIEW for The Infinity Project.
Virtual Instrumentation With LabVIEW. Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Build.
Chapter 3 Maintaining a Database
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 8 Other Structures; Local Variables  Read Bishop, Sections 5.6 to  Lab #8 and Homework #8 due.
Virtual Instrumentation With LabVIEW. Section I LabVIEW terms Components of a LabVIEW application LabVIEW programming tools Creating an application in.
Virtual Instrumentation With LabVIEW. Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Create.
Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.
Virtual Instrumentation With LabVIEW. Front Panel Controls = Inputs Indicators = Outputs LabVIEW Programs Are Called Virtual Instruments (VIs) Block Diagram.
Introduction to LabVIEW
Microsoft Office 2003 Illustrated Introductory with Programs, Files, and Folders Working.
Microsoft Word 2010 Chapter 1 Creating, Formatting, and Editing a Word Document with Pictures.
Microsoft Office Word 2003 Tutorial 1 Creating a Document.
PowerPoint. Basic Vocabulary Slide - Presentation - Slide layout – ► ► ► ► a single page in PowerPoint all the slides for a speech all the slides for.
Microsoft Office 2007 Word Chapter 1 Creating and Editing a Word Document.
Chapter 1 Databases and Database Objects: An Introduction
Each VI has 2 Windows Front Panel User Interface (UI) –Controls = Inputs –Indicators = Outputs Block Diagram Graphical Code –Data travels on wires from.
Microsoft Office 2003 Illustrated Brief Document Creating a.
Chapter 2 Creating a Research Paper with References and Sources Microsoft Word 2013.
Chapter 6 Advanced Report Techniques
Word Processing Understanding Microsoft Word 10. Benefits of a Word Processor Word Processing Is the use of a computer and software to produce written.
LabView instrumentoinnissa, 55492, 3op Labview in instrumentation Lecturer: Heikki Ojala, room C204a
XP 1 Microsoft Word 2002 Tutorial 1 – Creating a Document.
EET 2259 Unit 7 Case Structures; Sequence Structures  Read Bishop, Sections 5.4 and 5.5.  Lab #7 and Homework #7 due next week.  Quiz #3 next week.
1. 2 LabVIEW Intro, Basics, Tips, Tricks Doug Norman & Stephanie Brierty National Instruments January 8, 2010.
Creating, Editing, & Debugging a VI A.How to Create VIs B.How to Edit VIs C.How to Debug VIs You Will Learn:
Copyright © 2010 Wolters Kluwer Health | Lippincott Williams & Wilkins Introduction to Windows Chapter 2.
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
Microsoft Publisher 2010 Chapter 1 Creating a Flyer.
Word – Lesson 4 Word Lesson 4 Formatting Text Microsoft Office 2007: Introductory 1.
Moving and Copying Text Instructor: Glenda H. Easter ITSW 1401, Intro to Word Processing.
Virtual Instrumentation With LabVIEW. Front Panel Controls = Inputs Indicators = Outputs Block Diagram Accompanying “program” for front panel Components.
CS320n –Visual Programming More LabVIEW Foundations.
Microsoft Word Level 1 Michael Carco. Word Level 1 Agenda  Word Basics  Navigating in a Document  Inserting and Modifying Text  Creating and Modifying.
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 9 Arrays  Read Bishop, Sections 6.1 to 6.3.  Homework #9 and Lab #9 due next week.  Quiz #5 next.
Lecture 4 Prepared By : Md Jakaria 1 Microsoft Word Basics.
Customizing Menus and Toolbars CHAPTER 12 Customizing Menus and Toolbars.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
PhotoShop Creative Suite 3 Chapter 1 The Work Area.
Introduction to PowerPoint 2007 (PPT) Statement of Responsibility (When, For Whom, By Whom)
Computer Programming with Scratch JAOIT 8. Scratch Scratch is a programming language that makes it easy to create your own interactive stories, animations,
Week 3 Data Structures and Common Tools. Common Tools in Labview Automatic Tool Selector Using the Operating Tool Using the Positioning Tool to Select.
Key Applications Module Lesson 12 — Word Essentials Computer Literacy BASICS.
EET 2259 Unit 3 Editing and Debugging VIs
Chapter 1 LabVIEW Basics
Chapter 4 Editing and Debugging
LabVIEW 7.1 寒假短期教學課程 歐陽丞修 2006/02/06.
EET 2259 Unit 7 Case Structures; Sequence Structures
EET 2259 Unit 2 Virtual Instruments
EET 2259 Unit 3 Editing and Debugging VIs
Presentation transcript:

Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 3 Editing and Debugging VIs  Read Bishop, Chapter 3.  Lab #3 and Homework #3 due next week.  Quiz #2 next week.

Floyd, Digital Fundamentals, 10 th ed Editing Techniques  Editing techniques include Creating controls & indicators on block diagram Selecting objects Moving objects Deleting objects Duplicating objects Resizing objects Labeling objects Changing text font, style, size, color Working with wires Aligning, distributing, and resizing objects Coloring objects Cleaning up the block diagram (Bishop, pp )

Floyd, Digital Fundamentals, 10 th ed Creating Controls & Indicators From the Block Diagram  After placing a function or subVI on block diagram, right-click on one of its terminals and select Create > Control or Create > Indicator.  This adds a control or indicator to the front panel and automatically wires it on the block diagram. (Bishop, p. 112)

Floyd, Digital Fundamentals, 10 th ed Tools Palette Operating Tool Positioning/Resizing Tool Labeling Tool Wiring Tool Shortcut Menu Tool Lets you operate and modify objects on front panel or block diagram. Scrolling Tool Breakpoint Tool Probe Tool Color Copy Tool Coloring Tool Automatic Selection Tool (Bishop, p. 23)

Floyd, Digital Fundamentals, 10 th ed Selecting Objects  To move, delete, or copy an object on the front panel or block diagram, you must first select the object.  The easiest way to select an object or objects is to drag a box around them.  You can also select an object by clicking it with the positioning tool, and you can select multiple objects by shift-clicking. (Bishop, p. 114)

Floyd, Digital Fundamentals, 10 th ed Moving Objects  After selecting an object or objects, move by dragging with the mouse or using the arrow keys. (Bishop, p. 116)

Floyd, Digital Fundamentals, 10 th ed Deleting Objects  After selecting an object or objects, delete by pressing Delete or Backspace key, or by Edit > Clear on pull-down menus. (Bishop, p. 117)  If you make a mistake, you can undo your last step by using Edit > Undo or pressing Ctrl+Z.

Floyd, Digital Fundamentals, 10 th ed Duplicating Objects  After selecting an object or objects, duplicate by Edit > Copy and Edit > Paste on pull- down menus (or use Ctrl+C and Ctrl+V shortcut keys). (Bishop, p. 117)

Floyd, Digital Fundamentals, 10 th ed Resizing Objects  To resize an object on the front panel, drag the blue resize handles that appear when you move the positioning tool over the object.  Most block-diagram objects cannot be resized. (Bishop, p. 117)

Floyd, Digital Fundamentals, 10 th ed Labels  There are two kinds of labels: free labels and owned labels.  Create a free label by using the labeling tool on the tools palette or by double-clicking on blank area of front panel or block diagram.  Show or hide an object’s owned label by using short-cut menu’s Visible Items > Label.  Edit any label by double-clicking. (Bishop, p. 119)

Floyd, Digital Fundamentals, 10 th ed Changing Text Font, Style, Size, Color  Use the Text Settings drop-down box on the toolbar to change text appearance. (Similar to word processors.)  You can change text appearance on the front panel or on the block diagram. (Bishop, p. 120)

Floyd, Digital Fundamentals, 10 th ed Working with Wires Wiring “Hot Spot” Clean Up Wiring Click To Select Wires (Bishop, pp )

Floyd, Digital Fundamentals, 10 th ed Broken Wires  Remove a single broken wire by selecting the wire and pressing the Delete key, or by right-clicking the wire and selecting Delete Wire Branch.  Remove all broken wires by using Edit > Remove Broken Wires pull-down menu (or Ctrl+B shortcut key). (Bishop, p. 125)

Floyd, Digital Fundamentals, 10 th ed  After selecting two or more front-panel objects, use buttons on the toolbar to align them with each other, space them evenly apart, or make them all the same size. (Bishop, p. 128)  The block diagram’s toolbar has Align and Distribute buttons, but not a Resize button. Aligning, Distributing, and Resizing Objects Align Distribute Resize

Floyd, Digital Fundamentals, 10 th ed Coloring Objects  Use the coloring tool on the tools palette to change colors of objects.  For many front-panel objects, you can also change the color by choosing Properties on the object’s shortcut menu. (Bishop, p. 130)

Floyd, Digital Fundamentals, 10 th ed Cleaning Up the Block Diagram  This feature will automatically rearrange your block diagram and reroute the wires to make everything look clean and well- ordered.  On the block diagram pull-down menu, click Edit > Clean Up Diagram; or you can just press CTRL+U; or you can just click the Clean Up button: (Bishop, p. 137)

Floyd, Digital Fundamentals, 10 th ed Debugging Techniques  Debugging techniques include Using Broken Run button to find errors Execution highlighting Single-stepping Breakpoints Probes (Bishop, pp )

Floyd, Digital Fundamentals, 10 th ed Broken Run Button  When the block diagram contains an error that prevents the VI from running, the Broken Run button appears in place of the normal Run button. (Bishop, p. 142) Click on Broken Run button to open window listing errors.

Floyd, Digital Fundamentals, 10 th ed Execution Highlighting  To monitor the execution of the block diagram, click Highlight Execution button on block diagram’s toolbar and then run the VI. (Bishop, p. 144) Click on Highlight Execution button; data flow is animated using bubbles. Values are displayed on wires.

Floyd, Digital Fundamentals, 10 th ed Single-Stepping  To execute block diagram one node at a time, use one of the single-stepping buttons on block diagram’s toolbar. (Bishop, p. 146) Step Into button executes current node. If current node is a subVI, its first step is executed. Step Over button executes current node. If current node is a subVI, entire subVI is executed. Step Out button executes until current subVI (or entire program) finishes.

Floyd, Digital Fundamentals, 10 th ed Execution Highlighting and Single- Stepping  Usually when you single-step, you’ll also want to have execution highlighting turned on so that you can see the effect of each step. (Bishop, p. 146)

Floyd, Digital Fundamentals, 10 th ed Breakpoints  Set a breakpoint in block diagram by using Breakpoint tool on tools palette or by right- clicking on an object.  When you run VI, execution will stop when it reaches the breakpoint. (Bishop, p. 147)

Floyd, Digital Fundamentals, 10 th ed Probes  Place a probe in block diagram by using Probe tool on tools palette or by right- clicking on wire.  When you run VI, window displays value at the point where the probe is placed. (Bishop, p. 148)

Floyd, Digital Fundamentals, 10 th ed Property Nodes  Property nodes are block-diagram objects that let you read or set the properties of front-panel objects.  To create a property node, right-click a front- panel objects and then select Create > Property Node. (Bishop, p. 153)  Property nodes are powerful, advanced features that will become more valuable to you as you gain more LabVIEW experience.

Floyd, Digital Fundamentals, 10 th ed Some Shortcut Keys  Ctrl+B removes broken wires.  Ctrl+E switches between front panel & block diagram.  Ctrl+T tiles front panel & block diagram side by side.  Ctrl+H turns help window on or off.  Ctrl+U cleans up the block diagram.  Plus standard Windows shortcuts: Ctrl+O to open file. Ctrl+S to save file. Ctrl+C to copy. Ctrl+V to paste. Ctrl+Z to undo. (Bishop, p. 155)