File Name: labview programming data acquisition and analysis .zip
Skip to search form Skip to main content You are currently offline. Some features of the site may not work correctly.
Skip to Main Content. A not-for-profit organization, IEEE is the world's largest technical professional organization dedicated to advancing technology for the benefit of humanity. Use of this web site signifies your agreement to the terms and conditions. This is due to the vast array of data acquisition cards and measurement systems which can be supported by LabVIEW as well as the relative ease with which advanced software can be programmed. The analysis and monitoring of the signal are of concern for fault detection and predictive maintenance.
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required. To get the free app, enter your mobile phone number.
It has also been written to serve practicing engineers, scientists, and researchers, and even those who have been programming with LabVIEW, who wish to learn LabVIEW programming from the ground up or update their knowledge on different techniques of G-programming. The book was started as a reference book for the biannual G-programming workshop that I offer to the local research community as well as a supplementary textbook for an introductory computer science class that I have taught.
The ultimate goal of this book is to provide the most important aspects of LabVIEW programming to the research community and students, whether it is for scientific programming or for personal use and experience, in the most concise way so that readers can quickly start programming with LabVIEW. The philosophy behind this book was not to write a huge volume with everything in it, nor to write a narrowly-focused technical manual.
LabVIEW is a programming language, often referred to as G-language, and what beginning users need is to get the most essential techniques and understanding about where and how to start. Once the programming gets going, programmers can usually improve their skills on their own since they then know where to go with their questions and problems. When the intention of a book is to deliver the most knowledge in the most concise way, caution must be exercised not to be so abstract that the book skips details about important topics, nor to be so verbose that the readers lose their focus.
So the challenge in completing this book was to screen the topics that must be covered, and to present the material in layperson's terms so that anyone could understand them easily. Programming should be fun; so should the learning process. If the learning part becomes wearisome, the fun in programming will never be accomplished.
However, nothing can be fun at all times, so some material in this book may appear to be dull or dry. In these sections, every possible effort has been made to make them concise without losing the integrity of the information. Any topic that seemed to be useful only in rare cases was excluded. If a book is about software, it can quickly become outdated as newer versions are introduced. In order to avoid such a case, all of the topics in this book are carefully selected and presented so that readers can comfortably apply the techniques to their applications regardless of their versions of LabVIEW.
Such an effort can be seen clearly in many chapters, especially those about data acquisition. On the other hand, all of the examples and exercise problems are carefully selected so that they are not too general. The outcome of such an effort is template-like examples, especially in the latter part of this book, such as Chapters 11, 12, 14, and The examples in the latter chapters naturally seem to be more practical and more directly related to real applications, since the early part of this book covers the basic tools of G-programming.
Most of the examples are based on actual applications that I have written for private companies, so their usefulness should be apparent. LabVIEW is a great programming language. It allows programmers to develop an application, either with or without data acquisition and instrument control, in the shortest time period with the greatest amount of functionality.
It looked different, but did not seem to be as powerful. Icons for programming? However, it did not take long to upset such a prejudice. Interestingly enough, people tend to forget about their past problems once they solve them. Therefore, the book may sometimes seem to be too descriptive, especially to those with previous experience in LabVIEW, but this is intentional because most readers will not have had such experiences, and what seems to be obvious to one person may not be so to others.
As for the chapters about data acquisition and instrument control, all of the examples that come with LabVIEW are categorized by their functionality. I believe that it is often a waste of time to write a data acquisition or instrument control application from scratch.
It is important to learn how to modify them for your application, not how to build them from the ground up. Such a strategy applies not only to data acquisition and instrument control cases, but to any application in general. Therefore, a categorized list follows immediately after the detailed discussion about each topic. This book contains many examples as a template for your future use. If the examples were complete, they would most likely look so complicated that readers would hesitate even to study them in the first place.
To make matters even worse, a complete example can hardly be useful for your application unless your application is exactly the same as what is shown in that particular example. Such complete examples can be used to show what can be done with LabVIEW, but they often become a mere showoff. Based on such a belief, all of the examples are carefully written so that they are simple enough to be understood, but their objective remains apparent.
Then they can easily be expanded by readers for their own applications. Chapter 15, in particular, illustrates many examples that are extracted from actual applications written in LabVIEW and modified so that they show a unique functionality with a simple look. This is one of the most important principles behind this book: maintaining the simplicity for easy understanding and expandability while keeping each example practical and meaningful.
You are reading this because you want to learn something that can be used for your application, not to be impressed by LabVIEW. Also, the content in this book is independent of different versions of LabVIEW and different platforms except for the locations of some VIs and functions. The information about such changes can be found in your LabVIEW package, and you can concentrate on learning the material in this book. To summarize, this book is written to help anyone who intends to learn G-programming with LabVIEW, and start programming in the least amount of time while learning the most important aspects of LabVIEW programming.
The topics are carefully selected so that readers can do almost anything with those covered in this book. The examples are extracted from the actual applications that I have written for companies and can be used as a template for your application. Data acquisition and instrument control chapters include lists of categorized LabVIEW examples, so that readers can easily decide which one to use where and when, after modifying them.
Last but not least, LabVIEW is a powerful language, and it is worth spending some time on mastering it. I hope this book helps bring all readers the full power and the exultation of G-programming. Key Features The major features of this book are the exercise problems at the end of each chapter except Chapters 1 and 15, and the accompanying hands-on exercise manual, which comes with a set of complete solution VIs.
End-of-Chapter Problems Whenever needed, a proper example is provided in the body of each chapter with step-by-step instructions. In addition to that, more problems are included at the end of each chapter, except for Chapters 1 and If you intend to teach LabVIEW in a formal classroom environment, those exercise problems can be useful for weekly assignments or as stepping stones for term projects.
Each problem set covers the material in each corresponding chapter, and the solutions to all of the problems are available to instructors upon their request. Any learning process cannot be complete without practice, and those problems will uphold such a principle.
Therefore, even if you do not own the full version, you may be able to complete and run most of the examples in this book with the evaluation copy. Accompanying Hands-on Exercise Manual This is an extended version of the exercise manual that is being used for the biannual G-programming workshop that I have been offering to the research community in Virginia.
Each problem has step-by-step instructions on how to create it, and the solutions to all of the problems are available. This manual is divided into six sections, and each one is designed to be finished each day, completing the entire sections within six days. The problems cover a broad range of important topics in G-programming: from the simple wiring technique to a complicated programming example, including data acquisition and instrument control.
The problems for data acquisition are designed in such a way that any data acquisition device can be used. Contents of the Book Chapter 1 begins with a brief review of the history of computers and programming languages since they are closely related. The purpose of such a case study was to see if a graphical language such as LabVIEW would have any benefit in the programming language and concept learning process over the text-based programming languages.
Then the conventions in this textbook are summarized. The importance of using shortcuts is discussed along with a list of useful ones. Chapter 3 explains the concept behind sub VIs and how to create them. The various user option settings of sub VIs are presented and studied in detail. The effect of each of the settings and where it can be used are also discussed. The unique features, such as autoindexing and shift registers, and the differences from those of text-based languages are highlighted.
Since LabVIEW represents programming graphically in a two-dimensional diagram window, the execution order can sometimes be opaque and nebulous. Such a problem can be resolved by using the Sequence structure, and a detailed discussion about its usage is presented in this chapter. Chapter 5 examines different ways of displaying data and explains different situations where each type is preferred to the others.
It also describes how to prepare the data properly so that user specifications, such as display scales of each axis can be reflected correctly on the graphs. Such user specification can be controlled programmatically by Attribute Nodes, and their properties are explored in this chapter, too. Each type has its advantages and disadvantages, and they are discussed in detail. Due to the similarity between the two types, LabVIEW functions for the two types are compared to distinguish them clearly.
The correlation between memory usage and arrays and clusters is also studied. Chapter 7 presents the prerequisite material for data acquisition, including sampling theorem, a brief preview of data acquisition VIs, different types of input signal modes, and different types of data acquisition, such as analog input, analog output, digital input and output, and counter operation.
The sampling theorem is formally defined, and the effects of ideal sampling using the impulse train and of practical sampling using a square pulse train are mathematically driven for interested readers. This chapter also discusses what to look for when selecting a data acquisition device.
Chapter 8 provides detailed discussion of data acquisition. The first category of data acquisition, analog input AI , is studied in detail. Such an effort is made in order to help readers choose which one to use easily, since the size of the example pool is so large that it can be somewhat frustrating to find the proper one.
The selection of the LabVIEW examples covers almost all of the possible data acquisition methods; therefore, learning how to use or modify which example should be your top priority, instead of building a new VI from scratch. Of course, a detailed discussion about each AI VI is presented for those who prefer to start a completely new VI on their own. However, it is worth emphasizing again that adapting prewritten LabVIEW examples to your application should be the first attempt.
Chapter 9 deals with the second category of data acquisition, analog output AO , and comprises the complete discussion of every aspect of AO. Due to the number of examples available, the sorted list will assist readers in deciding which one to select.
In addition to the list of categorized AO examples, a detailed discussion of AO VIs is also presented for those who prefer to build their own AO application. Chapter 10 covers the last two categories of data acquisition: digital input and output and counters. Different types, such as handshaking and pattern generation, of digital input and output acquisition methods are defined and studied.
Buffered and non-buffered digital acquisition techniques are also illustrated using LabVIEW examples. A variety of tasks that can be performed using counters on a data acquisition board are described individually in detail. Some examples include frequency measurements of high and low frequency Transistor Transistor Logic TTL signals, event counting where counting the number of high states is the goal of the operation, and continuous or single burst TTL signal generation.
All of the prewritten LabVIEW examples are again categorized in addition to the detailed discussion about the VIs to help readers create their own application. Chapter 11 discusses one of the most important tasks in data acquisition: saving or reading data to or from a file.
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required. To get the free app, enter your mobile phone number. It has also been written to serve practicing engineers, scientists, and researchers, and even those who have been programming with LabVIEW, who wish to learn LabVIEW programming from the ground up or update their knowledge on different techniques of G-programming. The book was started as a reference book for the biannual G-programming workshop that I offer to the local research community as well as a supplementary textbook for an introductory computer science class that I have taught.
Labview measurement tutorial. LabVIEW is a development system for industrial, experimental, and educational measurement and automation applications based on graphical programming, in contrast to textual programming - however, textual programming is supported in LabVIEW. Im trying to do basic coding in this and the ni community while learning the basics. NI test and measurement Controlling the time between loop iterations and being able to measure the time between events are both very important tasks in any data acquisition activity. The four basics are: virtual instruments , front panel , block diagram , and icon and connector. Above the application software layer is the test executive and data management software layer. Creating Array and Array operations.
data acquisition application, special programming considerations, common SCXI Introduction to Analysis in LabVIEW of the LabVIEW User Manual. What Is.
Titre : J. Lien : Labview. The author covers every key technique needed to build reliable, high-performance applications. A complete discussion of practical aspects and tricks in LabVIEW programming such as memory management, and large file management are included.
Labview trigger acquisition. LabView is a leading system-engineering platform for interfacing with data-acquisition hardware. I'm not sure what options are available in the VI, but there usually is a manual trigger option. To use positive feedback with a comparator IC to construct a Schmitt trigger, converting an analog signal to a binary digital signal in a reproducible and noise-immune way. NET framework?
Computer-based data acquisition systems play an important role in clinical monitoring and in the development of new monitoring tools. The advantage of graphical programming is that the code is flexible, reusable, and self-documenting. Subroutines can be saved in a library and reused without modification in other programs. This dramatically reduces development time and enables researchers to develop or modify their own programs.
Data acquisition is the process of sampling signals that measure real world physical conditions and converting the resulting samples into digital numeric values that can be manipulated by a computer. The components of data acquisition systems include:. Stand-alone data acquisition systems are often called data loggers. There are also open-source software packages providing all the necessary tools to acquire data from different, typically specific, hardware equipment. These tools come from the scientific community where complex experiment requires fast, flexible and adaptable software.
Based on LabVIEW, this paper presents a design scheme of data acquisition, which it proposes using computer and ordinary data collection card as the main hardware and LabVIEW as software development platform, thus constructs the virtual instrument system for signal acquisition. The system can realize synchronous data acquisition of single channel or multi-channel signal, as well as real-time display and preservation. The practice shows that this scheme can not only effectively play performance of ordinary data acquisition card, but also reduce greatly program development time and beautify interface through LabVIEW which has powerfully visual human-machine interface editor and graphical programming function.