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

Debugging - highlight execution


Given the nature of data transfer used in LabVIEW (wires) one of the most useful debugging tools available in LabVIEW is the concept of "Highlighted Execution".

If you click on the light bulb, LabVIEW will slow down the execution of VI, and one or several moving dots will trace the order of execution and transfer of data will be visible and traceable by the programmer. Also, in this state, all the VI starts off dimmed and as the execution continues, the parts of code that are executed exit the dimmed state. Another very important tidbit to notice is that in "Highlight Execution" while the dots travel on the wires that are currently being executed, the actual value that is carried at the moment on that wire is also displayed. The following figure is a partial cropped part of an example code of one of the examples that are shipped with LabVIEW.

Note: the left side of the picture is executed while the right side, where a loop is about to complete execution, is...

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}