ebook img

Learning with Labview PDF

784 Pages·2015·23.37 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Learning with Labview

Learning with LabVIEWTM This page intentionally left blank Learning with LabVIEW TM Robert H. Bishop MarquetteUniversity UpperSaddleRiver Boston Columbus SanFrancisco NewYork Indianapolis London Toronto Sydney Singapore Tokyo Montreal Dubai Madrid HongKong MexicoCity Munich Paris Amsterdam CapeTown VicePresidentandEditorialDirector,ECS:MarciaJ.Horton AcquisitionsEditor:NorrinDias EditorialAssistant:SandraRodriguez SeniorManagingEditor:ScottDisanno ProcurementManager:MaryFischer SeniorSpecialist,ProgramPlanning&Support:MauraZaldivar-Garcia ProductMarketingManager:BramvanKempen FieldMarketingManager:DemetriusHall MarketingAssistant:JonBryant CoverDesign:NationalInstruments Composition:JouveIndia LabVIEWisatrademarkofNationalInstruments. MATLABisaregisteredtrademarkofTheMathWorks,3AppleHillDrive,Natick,MA01760-2098. Companyandproductnamesmentionedhereinarethetrademarksorregisteredtrademarksoftheirrespective owners. Copyright (cid:2)c 2015 by Pearson Education, Inc., Upper Saddle River, New Jersey 07458. All rights reserved. Manufactured in the United States of America. This publication is protected by Copyright and permissionsshouldbeobtainedfromthepublisherpriortoanyprohibitedreproduction,storageinaretrieval system,ortransmissioninanyformorbyanymeans,electronic,mechanical,photocopying,recording,or likewise.Toobtainpermission(s)tousematerialsfromthiswork,pleasesubmitawrittenrequesttoPearson HigherEducation,PermissionsDepartment,1LakeStreet,UpperSaddleRiver,NJ07458. Theauthorandpublisherofthisbookhaveusedtheirbesteffortsinpreparingthisbook.Theseeffortsinclude thedevelopment,research,andtestingofthetheoriesandprogramstodeterminetheireffectiveness.The authorandpublishermakenowarrantyofanykind,expressedorimplied,withregardtotheseprograms orthedocumentationcontainedinthisbook.Theauthorandpublishershallnotbeliableinanyeventfor incidentalorconsequentialdamagesinconnectionwith,orarisingoutof,thefurnishing,performance,oruse oftheseprograms. LibraryofCongressCataloging-in-PublicationDataonFile. 10 9 8 7 6 5 4 3 2 1 ISBN-13:978-0-13-402212-3 ISBN-10: 0-13-402212-2 Tomyparents,W.RobertBishop andAnnaMariaDiPietroBishop This page intentionally left blank C O N T E N T S Preface xix 1 LabVIEW Basics 1 1.1 SystemConfigurationRequirements 2 1.2 InstallingtheLabVIEWStudentEdition 2 1.3 TheLabVIEWEnvironment 3 1.4 TheGettingStartedScreen 5 1.5 PanelandDiagramWindows 9 1.5.1 FrontPanelToolbar 9 1.5.2 BlockDiagramToolbar 13 1.6 ShortcutMenus 15 1.7 Pull-DownMenus 16 1.7.1 FileMenu 17 1.7.2 EditMenu 17 1.7.3 ViewMenu 17 1.7.4 ProjectMenu 20 1.7.5 OperateMenu 20 1.7.6 ToolsMenu 21 1.7.7 WindowMenu 21 1.7.8 HelpMenu 23 1.8 Palettes 24 1.8.1 ToolsPalette 24 1.8.2 ControlsPalette 25 1.8.3 FunctionsPalette 27 1.8.4 SearchingthePalettesandQuickDrop 28 1.9 Opening,Loading,andSavingVIs 31 vii viii Contents 1.10 LabVIEWHelpOptions 33 1.10.1 ContextHelpWindow 33 1.10.2 LabVIEWHelp 36 1.11 BuildingBlocks:PulseWidthModulation 36 1.12 RelaxedReading:RevolutionaryCancerTreatment MinimizesDamagetoHealthyTissue 38 1.13 myDAQBuildingBlocks 40 1.13.1 BuildingaBasicLEDCircuit 41 1.13.2 NIELVISmxInstrumentLauncher 42 1.13.3 TestingwiththeELVISmxInstrumentPanel 42 1.14 Summary 43 Exercises 45 Problems 50 Design Problems 52 2 Virtual Instruments 57 2.1 WhatAreVirtualInstruments? 58 2.2 SeveralWorkedExamples 60 2.3 TheFrontPanel 67 2.3.1 NumericControlsandIndicators 67 2.3.2 BooleanControlsandIndicators 69 2.3.3 ConfiguringControlsandIndicators 73 2.4 TheBlockDiagram 73 2.4.1 VIsandExpressVIs 74 2.4.2 Nodes 75 2.4.3 Terminals 76 2.4.4 Wiring 79 2.5 BuildingYourFirstVI 82 2.6 DataFlowProgramming 87 2.7 BuildingaVIUsingExpressVIs 89 2.8 BuildingBlocks:PulseWidthModulation 96 2.9 RelaxedReading:BuildingASemiautonomousVehicle DrivenBytheVisuallyImpaired 98 2.10 myDAQBuildingBlocks 100 2.10.1 BuildingaBasicThermistorCircuit 101 2.10.2 TheThermistorCircuitTestVI 101 2.10.3 TestingtheThermistorCircuit 102 Contents ix 2.11 Summary 103 Exercises 104 Problems 110 Design Problems 113 3 Editing and Debugging Virtual Instruments 117 3.1 EditingTechniques 118 3.1.1 CreatingControlsandIndicatorsontheBlockDiagram 118 3.1.2 SelectingObjects 120 3.1.3 MovingObjects 122 3.1.4 DeletingandDuplicatingObjects 122 3.1.5 ResizingObjects 123 3.1.6 LabelingObjects 124 3.1.7 ChangingFont,Style,andSizeofText 127 3.1.8 SelectingandDeletingWires 130 3.1.9 WireStretchingandBrokenWires 131 3.1.10 Aligning,Distributing,andResizingObjects 134 3.1.11 ColoringObjects 136 3.1.12 CleaningUptheBlockDiagram 144 3.1.13 RoutingWires 146 3.1.14 ReusingSnippetsofCode 148 3.2 DebuggingTechniques 149 3.2.1 FindingErrors 150 3.2.2 HighlightExecution 151 3.2.3 Single-SteppingThroughaVIandItsSubVIs 154 3.2.4 BreakpointsandProbes 155 3.2.5 NavigationWindow 159 3.3 PropertyNodes 160 3.4 AFewShortcuts 163 3.5 BuildingBlocks:PulseWidthModulation 163 3.6 RelaxedReading:UsingGraphicalSystemDesignfor TumorTreatments 166 3.7 myDAQBuildingBlocks 168 3.8 Summary 170 Exercises 172 Problems 174 Design Problems 178

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.