Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Data Acquisition Using LabVIEW

You're reading from  Data Acquisition Using LabVIEW

Product type Book
Published in Dec 2016
Publisher Packt
ISBN-13 9781782172161
Pages 150 pages
Edition 1st Edition
Languages
Author (1):
Yik Yang Yik Yang
Profile icon Yik Yang

Table of Contents (18) Chapters

Data Acquisition Using LabVIEW
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface
1. LabVIEW Basics 2. Most Common Communication Buses 3. Using the DAQ Assistant to Automatically Generate LabVIEW Code 4. DAQ Programming Using LabVIEW 5. Debugging Techniques 6. Real-World DAQ Programming Techniques 7. Real-Time Issues 8. DAQ at a Distance - Network and Distributed Systems 9. Alternate Software for DAQ 10. Non-National Instrument Devices DAQ 11. LabVIEW and Simple Microcontrollers

Error conditions


The most common and most obvious error condition is when an attempt is made to wire (connect) two incompatible objects (different types) or functions together. In this condition a broken wire appears. A VI with even one broken wire will not run. Most functions have an error input and output that are very helpful. Error wires are a cluster and carry more than one form of information. Note the expanded Front Panel window showing the three components (Status, Code, and Source) that are encompassed in an error cluster notice. In the following figure (left) a hypothetical VI that does nothing; therefore, there is no error, so the status is a green checkmark (this is a Boolean value) and can be used as such.

A useful and common use for this Boolean value is to use the false state (where there is no error) to continue running with the rest of the program where you suspect the possibility of a frequent error condition that may exist. In our example, note that we start by opening...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}