1. Trang chủ
  2. » Kỹ Thuật - Công Nghệ

LabVIEW for everyone

1,2K 79 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Cấu trúc

  • LabVIEW For Everyone: Graphical Programming Made Easy and Fun, Third Edition

  • Table of Contents

  • Copyright

  • About the Authors

  • Acknowledgments

  • Chapter 1. What in the World Is LabVIEW?

  • Chapter 2. Virtual Instrumentation: Hooking Your Computer Up to the Real World

  • Chapter 3. The LabVIEW Environment

  • Chapter 4. LabVIEW Foundations

  • Chapter 5. Yet More Foundations

  • Chapter 6. Controlling Program Execution with Structures

  • Chapter 7. LabVIEW's Composite Data: Arrays and Clusters

  • Chapter 8. LabVIEW's Exciting Visual Displays: Charts and Graphs

  • Chapter 9. Exploring Strings and File I/O

  • Chapter 10. Signal Measurement and Generation: Data Acquisition

  • Chapter 11. Data Acquisition in LabVIEW

  • Chapter 12. Instrument Control in LabVIEW

  • Chapter 13. Advanced LabVIEW Structures and Functions

  • Chapter 14. Advanced LabVIEW Data Concepts

  • Chapter 15. Advanced LabVIEW Features

  • Chapter 16. Connectivity in LabVIEW

  • Chapter 17. The Art of LabVIEW Programming

  • Appendix A. CD Contents

  • Appendix B. Add-on Toolkits for LabVIEW

  • Appendix C. Open Source Tools for LabVIEW: OpenG

  • Appendix D. LabVIEW Object-Oriented Programming

  • Appendix E. Resources for LabVIEW

  • Appendix F. LabVIEW Certification Exams

  • Glossary

  • Symbols

  • Index

Nội dung

This brandnew Third Edition has been fully revamped and expanded to reflect new features and techniques introduced in LabVIEW 8. Youll find two new chapters, plus dozens of new topics, including Project Explorer, AutoTool, XML, eventdriven programming, error handling, regular expressions, polymorphic VIs, timed structures, advanced reporting, and much more. Certified LabVIEW Developer (CLD) candidates will find callouts linking to key objectives on NIs newest exam, making this book a more valuable study tool than ever.

LabVIEW for Everyone: Graphical Programming Made Easy and Fun, Third Edition By Jeffrey Travis, Jim Kring Publisher: Prentice Hall Pub Date: July 27, 2006 Print ISBN-10: 0-13-185672-3 Print ISBN-13: 978-0-13-185672-1 Pages: 1032 Table of Contents | Index The #1 Step-by-Step Guide to LabVIEWNow Completely Updated for LabVIEW 8! Master LabVIEW with the industry's friendliest, most intuitive tutorial: LabVIEW for Everyone, Third Edition Top LabVIEW experts Jeffrey Travis and Jim Kring teach LabVIEW the easy way: through carefully explained, step-by-step examples that give you reusable code for your own projects! This brand-new Third Edition has been fully revamped and expanded to reflect new features and techniques introduced in LabVIEW You'll find two new chapters, plus dozens of new topics, including Project Explorer, AutoTool, XML, event-driven programming, error handling, regular expressions, polymorphic VIs, timed structures, advanced reporting, and much more Certified LabVIEW Developer (CLD) candidates will find callouts linking to key objectives on NI's newest exam, making this book a more valuable study tool than ever Not just what to do: why to it! Use LabVIEW to build your own virtual workbench Master LabVIEW's foundations: wiring, creating, editing, and debugging VIs; using controls and indicators; working with data structures; and much more Learn the "art" and best practices of effective LabVIEW development NEW: Streamline development with LabVIEW Express VIs NEW: Acquire data with NI-DAQmx and the LabVIEW DAQmx VIs NEW: Discover design patterns for error handling, control structures, state machines, queued messaging, and more NEW: Create sophisticated user interfaces with tree and tab controls, drag and drop, subpanels, and more Whatever your application, whatever your role, whether you've used LabVIEW or not, LabVIEW for Everyone, Third Edition is the fastest, easiest way to get the results you're after! LabVIEW for Everyone: Graphical Programming Made Easy and Fun, Third Edition By Jeffrey Travis, Jim Kring Publisher: Prentice Hall Pub Date: July 27, 2006 Print ISBN-10: 0-13-185672-3 Print ISBN-13: 978-0-13-185672-1 Pages: 1032 Table of Contents | Index Copyright About the Authors Preface Acknowledgments Chapter What in the World Is LabVIEW? Overview Key Terms What Exactly Is LabVIEW, and What Can It Do for Me? Demonstration Examples Wrap It Up! Additional Activities Chapter Virtual Instrumentation: Hooking Your Computer Up to the Real World Overview Key Terms Using LabVIEW in the Real World The Evolution of LabVIEW What Is Data Acquisition? What Is GPIB? Communication Using the Serial Port Real-World Applications: Why We Analyze A Little Bit About PXI and VXI Connectivity LabVIEW Add-on Toolkits LabVIEW Real-Time, FPGA, PDA, and Embedded Wrap It Up! Chapter The LabVIEW Environment Overview Key Terms Front Panels Block Diagrams LabVIEW Projects SubVIs, the Icon, and the Connector Activity 3-1: Getting Started Alignment Grid Pull-Down Menus Floating Palettes The Toolbar Pop-Up Menus Help! Express VIs Displaying SubVIs as Expandable Nodes A Word About SubVIs Activity 3-2: Front Panel and Block Diagram Basics Wrap It Up! Chapter LabVIEW Foundations Overview Key Terms Creating VIs: It's Your Turn Now! Activity 4-1: Editing Practice Basic Controls and Indicators and the Fun Stuff They Do Wiring Up Running Your VI Useful Tips Wrap It Up! Additional Activities Chapter Yet More Foundations Overview Key Terms Loading and Saving VIs Debugging Techniques Activity 5-1: Debugging Challenge Creating SubVIs Documenting Your Work A Little About Printing Activity 5-2: Creating SubVIsPractice Makes Perfect Wrap It Up! Additional Activities Chapter Controlling Program Execution with Structures Overview Key Terms Two Loops Shift Registers The Case Structure Dialogs The Sequence StructureFlat or Stacked Timing The Timed Structures The Formula Node The Expression Node The While Loop + Case Structure Combination Wrap It Up! Additional Activities Chapter LabVIEW's Composite Data: Arrays and Clusters Overview Key Terms What Are Arrays? Creating Array Controls and Indicators Using Auto-Indexing Two-Dimensional Arrays Activity 7-1: Building Arrays with Auto-Indexing Functions for Manipulating Arrays Activity 7-2: Array Acrobatics Polymorphism Activity 7-3: Polymorphism Compound Arithmetic All About Clusters Interchangeable Arrays and Clusters Error Clusters and Error-Handling Functions Wrap It Up! Additional Activities Chapter LabVIEW's Exciting Visual Displays: Charts and Graphs Overview Key Terms Waveform Charts Activity 8-1: Temperature Monitor Graphs Activity 8-2: Graphing a Sine on a Waveform Graph XY Graphs Chart and Graph Components Activity 8-3: Using an XY Graph to Plot a Circle Activity 8-4: Temperature Analysis Intensity Charts and GraphsColor as a Third Dimension Time Stamps, Waveforms, and Dynamic Data Mixed Signal Graphs Exporting Images of Charts and Graphs Wrap It Up! Additional Activities Chapter Exploring Strings and File I/O Overview Key Terms More About Strings Using String Functions Activity 9-1: String Construction Parsing Functions Activity 9-2: More String Parsing File Input/Output Wrap It Up! Additional Activities Chapter 10 Signal Measurement and Generation: Data Acquisition Overview Key Terms DAQ and Other Data Acquisition Acronyms How to Connect Your Computer to the Real World Signals 101 Selecting and Configuring DAQ Measurement Hardware Wrap It Up! Solutions to Activities Chapter 11 Data Acquisition in LabVIEW Overview Key Terms Understanding Analog and Digital I/O NI-DAQmx Tasks Advanced Data Acquisition Wrap It Up! Chapter 12 Instrument Control in LabVIEW Overview Key Terms Instrumentation Acronyms Connecting Your Computer to Instruments SCPI, the Language of Instruments VISA: Your Passport to Instrument Communication Instrument Control in LabVIEW Wrap It Up! Chapter 13 Advanced LabVIEW Structures and Functions Overview Key Terms Local, Global, and Shared Variables Property Nodes Invoke Nodes Event-Driven Programming: The Event Structure Type Definitions The State Machine and Queued Message Handler Messaging and Synchronization Structures for Disabling Code Halting VI and Application Execution Cool GUI Stuff: Look What I Can Do! Wrap It Up! Chapter 14 Advanced LabVIEW Data Concepts Overview Key Terms A Word About Polymorphic VIs Advanced File I/O: Text Files, Binary Files, and Configuration Files Configuration (INI) Files Calling Code from Other Languages Fitting Square Pegs into Round Holes: Advanced Conversions and Typecasting You Can Be Anything: Variants Wrap It Up! Additional Activities Chapter 15 Advanced LabVIEW Features Overview Key Terms Exploring Your Options: The LabVIEW Options Dialog Configuring Your VI The VI Server Radices and Units Automatically Creating a SubVI from a Section of the Block Diagram A Few More Utilities in LabVIEW Wrap It Up! Chapter 16 Connectivity in LabVIEW Overview Key Terms Your VIs on the Web: The LabVIEW Web Server Emailing Data from LabVIEW Remote Panels Self-Describing Data: XML Sharing Data over the Network: Shared Variables Talking to Other Programs and Objects Talking to Other Computers: Network VIs Databases Report Generation Wrap It Up! Chapter 17 The Art of LabVIEW Programming Overview Key Terms Why Worry About the Graphical Interface Appearance? Arranging, Decorating, Resizing, Grouping, and Locking Vive l'art: Importing Pictures Custom Controls and Indicators Adding Online Help Pointers and Recommendations for a "Wow!" Graphical Interface How Do You Do That in LabVIEW? Memory, Performance, and All That Programming with Style Wrap It Up! Concluding Remarks Appendix A CD Contents Appendix B Add-on Toolkits for LabVIEW Application Deployment and Module Targeting Software Engineering and Optimization Tools Data Management and Visualization Real-Time and FPGA Deployment Embedded System Deployment Signal Processing and Analysis Automated Test Image Acquisition and Machine Vision Control Design and Simulation Industrial Control Appendix C Open Source Tools for LabVIEW: OpenG Free Open Source Software OpenG.org: Home of the LabVIEW Open Source Community Appendix D LabVIEW Object-Oriented Programming Introduction to Object-Oriented Programming LabVIEW Object-Oriented Programming Built-in LabVIEW Object-Oriented Programming Features Appendix E Resources for LabVIEW LabVIEW Documentation and Online Help Appendix F LabVIEW Certification Exams Certified LabVIEW Associate Developer (CLAD) Exam Certified LabVIEW Developer (CLD) Exam Certified LabVIEW Architect (CLA) Exam Glossary Symbols A B C D E F G H I K L M N O P Q R S T U V W X Index Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Y] race condition rate signal reacting to errors in subVIs Error Case Structure Merge Errors Read From Measurement File Read From Pipe read mode, local variables Read Shared Variable reading binary files 2nd data value changes, Event Structure digital inputs key values, configuration files measurement files shared variables spreadsheet files 2nd text files 2nd by page Real-Time System Integration (RTSI) recommendations for great layouts Recommended Standard #232 recycled reentrancy, reviewing reference ground referenced single-ended (RSE) measurement system references, static VI references Regular Expressions relative time calculations relinking to subVIs remote access to VI Server, enabling remote panel licenses remote panels Remove Key.vi Remove Section.vi removing dimensions items from projects rendezvous destroying named rendezvous reordering palette categories Replace, pop-up menus replacing cluster elements Report Express VI report generation advanced report generation Easy Text Report Report Express VI Report Generation palette Report Layout palette reports adding content closing creating printing saving styles resizing array element objects array elements array shells objects rendezvous resource strings, VISA Revert round robin scanning RSE (reference single-ended) measurement systems RTS (Ready-to-Send) RTSI (Real-Time System Integration) run mode, Toolbar Run Toolbar RUN, While Loops RxD (Receive) Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Y] sampling sampling rates acquiring data from different channels at different sampling rates save and load dialogs, saving and loading VIs Save Report to File saving reports VIs filter rings LLB Manager LLBs Revert save and load dialogs save options scalars scales graphs Scan From String scanning, round robin scanning SCC (Signal Conditioning Carriers) schemas, XML scope chart mode SCPI (Standard Commands for Programmable Instrumentation) 2nd screen resolution scrollbars array scrollbars strings SCXI (Signal Conditioning eXtensions for Instrumentation) systems 2nd search result items, replacing Select a VI button selecting wires semaphored data stores, OOP semaphores acquiring destroying releaseing Send Notification sensor arrays Sequence Locals, Stacked Sequence Structures and serial functions, VISA Serial palette serial ports communication RS-232 Set Report Font Set Report Orientation SG (Signal Ground) shape signals shared libraries, connectivity Shared Variable Properties dialog Shared Variable structure shared variables accessing with DataSocket creating data binding reading synchronization capabilities URLs writing shift registers message queue shift register passing errors through loops state variable shift register showing digital displays, waveform charts optional planes in XY graphs palette categories signal classification signal conditioning 2nd Signal Conditioning Carriers (SCC) Signal Conditioning eXtensions for Instrumentation (SCXI) 2nd signals aliasing analog signals frequency signals level signals shape signals anti-aliasing filters conditioning digital signals rate signal state signal earth ground finding common ground floating signal sources grounded sources frequency domain signals measurement perspective measuring differences differential measurement systems NRSE measurement system RSE measurement system Nyquist's Theorem on-off signal pulse train signals reference ground sampling sensor arrays signal classification activities system ground time domain signal timing transducers Simple Data Client.vi Simple Data Server.vi Simple Mail Transfer Protocol (SMTP) single line strings single-plot charts single-plot waveform graphs single-stepping through VIs, debugging techniques SMTP (Simple Mail Transfer Protocol) SMTP Email palette "Snapshot," publishing to HTML with LabVIEW web server sound 2nd source, error clusters special characters spectral bin splitter bars spreadsheet files reading reading and writing writing SQL (Structured Query Language) stacked plots, waveform charts Stacked Sequence Structure Standard State Machine activities state signal static VI references status information queues rendezvous semaphores status, error clusters stop button, global variables stopping VI execution storing data in configuration files streaming data to files strict type definition String Constant String Length String Subset strings ASCII strings binary strings Controls palette combo box control creating format string initial string parsing parsing functions, Scan From String resulting strings Structured Query Language (SQL) structures Error Case Structure Shared Variable styles, reports Subscribe Protocol subVIs 2nd activities 2nd connectors creating creating from block diagrams creating from VIs assigning connectors designing icons dynamic subVIs, Call By Reference Node errors generating generating and reacting to errors Error Case Structure Merge Errors help passing data with clusters relinking to suspending execution, debugging techniques system colors system colors, GUI system controls system controls, GUI system ground Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Y] t0, waveforms tab control tables, strings tack points, removing tasks analog input tasks creating with DAQmx Create Virtual Channel DAQmx Clear Task DAQmx Read DAQmx Stop Task DAQmx Write digital output tasks MAX DAQmx Tasks generating code from referencing in LabVIEW 2nd running with DAQmx Start Tasks triggered data acquisitions TCP Close Connection TCP Listen.vi TCP Open Connection TCP palette TCP Read TCP Write TCP/IP (Transmission Control Protocol/Internet Protocol) TEDS (Transducer Electronic Data Sheets) Temperature System Demo terminals block diagrams icons conditional terminals Test Panels window testing error status in loops VIs text changing, creating VIs GUI text and picture ring text files reading 2nd by page writing thermometers, building time domain signal Timed Loop Timed Sequence Timeout event timing functions, matching numbers activity timing, signals Toolbar edit mode toolbars Project Explorer toolbars Run Toolbar tools Breakpoint tool 2nd changing Color Copy tool 2nd Color tool Labeling tool 2nd Operating tool 2nd 3rd Pop-up tool Positioning tool 2nd 3rd Probe tool Scroll tool Wiring tool 2nd 3rd 4th Tools menu Tools palette Tooltip Help Transducer Electronic Data Sheets (TEDS) transducers 2nd 3rd tree control triggered data acquisition, using tasks triggering analog I/O digital edge triggering troubleshooting flickering graphs VISA sessions tweaking values two-dimensional (2D) arrays creating Type Cast 2nd type casting, binary strings type definition type descriptor Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Y] UDP (Universal Datagram Protocol) Unbundle By Name Unbundle function, clusters unbundling clusters clusters by name Unflatten From Error Unflatten From XML Universal Datagram Protocol (UDP) Universal Serial Bus (USB) 2nd unlocking semaphores shared resources, semaphores Update Period slide control updating strings while you type URLs, shared variables USB (Universal Serial Bus) 2nd USB functions, VISA user-defined error codes users, displaying error messages to Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Y] V+ Vvalues, tweaking variables global variables local variables 2nd shared variables 2nd accessing with DataSocket creating data binding reading synchronization capabilities URLs writing state variable Variant to Flattened String VI Class methods and properties, VI Server VI Properties, documenting VIs in VI Reference VI Server Application Class properties Invoke Node Property Node VI Class Methods and Properties VI Reference VI Server References, disabling controls while busy View menu virtual channels NI-DAQmx Virtual Instrument Standard Architecture (VISA) configuring resources in MAX troubleshooting sessions VIs (virtual instruments) analysis VIs as standalone executables calling by reference configuring keyboard navigation reentrant execution SubVI Node Setup options VI properties creating 2nd labeling items documenting in VI Properties embedding ActiveX web browsers in Emergency Abort VIs Express VIs fixing broken VIs GPIB VIs interactive VIs, publishing with LabVIEW web server loading filter rings LLB Manager LLBs save and load dialogs login VIs modularizing and testing network VIs TCP/IP UDP public VIs running saving filter rings LLB Manager LLBs Revert save and load dialogs save options single-stepping through debugging techniques stopping execution subVIs 2nd temperature monitor activity Timed Structures VISA (Virtual Instrument Standard Architecture) configuring resources in MAX troubleshooting sessions VISA Clear VISA Read VISA Read STB Visible Items vision hardware VME eXtensions for Instrumentation (VXI) 2nd Voltage common-mode voltage input and output settings VXI (VME eXtensions for Instrumentation) 2nd Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Y] Wait function waiting on occurrences on Rendezvous waiting on notification Warning button warnings, debugging techniques waterfall plots, displaying waveform charts Chart History Length chart update modes clearing overlaid plots showing digital displays single-plot charts single-plot versus multiple-plot charts stacked plots temperature analysis activity wiring multiple-plot charts X Scrollbar Y scales waveform graphs graphing sines waveforms digital waveform graphs generating and plotting writing continuous analog waveforms While Loops stopping if they contain Event Structures wiring one stop button into White Shared Variable Window Help Window menu windows Context Help window creating toolbar-type features that pop up different controls on the same window Help window Project Explorer window VI Hierarchy window wire stretching wires block diagrams changing direction of wiring broken wires canceling operations inputs and outputs, Case Structures Wiring tool wizards GOOP Wizard Instrument Driver Wizard write mode, local variables Write To Pipe writing binary files 2nd continuous analog waveforms key values, configuration files measurement files shared variables spreadsheet files text files to digital lines Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Y] X andY scale menus, charts and graphs X Scrollbar XControls 2nd XML (Extensible Markup Language) parsers schemas XML palette XY graphs, plotting circles Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Y] Y axis, having more than one Y scales, waveform charts Y, waveforms ... Step-by-Step Guide to LabVIEWNow Completely Updated for LabVIEW 8! Master LabVIEW with the industry's friendliest, most intuitive tutorial: LabVIEW for Everyone, Third Edition Top LabVIEW experts Jeffrey... whatever your role, whether you've used LabVIEW or not, LabVIEW for Everyone, Third Edition is the fastest, easiest way to get the results you're after! LabVIEW for Everyone: Graphical Programming Made... substitute colons or forward slashes where necessary What's New in the Third Edition LabVIEW For Everyone was the first book published aimed at the beginner LabVIEW user in 1997 for LabVIEW 4.0; since

Ngày đăng: 05/08/2019, 07:33

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN