Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Data Acquisition Using LabVIEW

You're reading from   Data Acquisition Using LabVIEW Transform physical phenomena into computer-acceptable data using a truly object-oriented language

Arrow left icon
Product type Paperback
Published in Dec 2016
Publisher Packt
ISBN-13 9781782172161
Length 150 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Behzad Ehsani Behzad Ehsani
Author Profile Icon Behzad Ehsani
Behzad Ehsani
Yik Yang Yik Yang
Author Profile Icon Yik Yang
Yik Yang
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. LabVIEW Basics FREE CHAPTER 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 $19.99/month. Cancel anytime
Banner background image