The choice of the programming language for software implementation is always personal and depends on the background and skills of the user. The algorithms and systems described in the book can be easily implemented with any programming language where advanced mathematical and data processing tools are available and it is possible to manage the communication with the measurement hardware for data acquisition. Based on the authors' experience, this book recommends the use of LabVIEW (www.ni.com/labview) because this was originally developed with the objective of integrating measurement and data processing in a single platform. It is characterized by an advantageous learning curve, which allows a fast and easy development of systems and software, but it is also very powerful and versatile. In fact, advanced functions and analysis tools are available and it makes possible the communication with a large number of commercial devices. An overview of relevant aspects about programming in LabVIEW is given in this section, since all the proposed applications are discussed assuming LabVIEW as the common platform for system and software implementation. The choice of the platform for measurement execution and data processing can obviously be different but, for practical reasons, it is impossible to provide a tutorial for every program¬ming language. Nevertheless, since the algorithms are general, any other choice is possible for their implementation, provided that the reader carries out the appro¬priate language translations.LabVIEW programs are called Virtual Instruments, or VIs, because their appear¬ance and operation imitate physical instruments, such as oscilloscopes and multimeters. LabVIEW contains a wide set of tools to acquire, analyze, display, and store data, as well as for code troubleshooting (National Instruments 2005a). Programming in LabVIEW requires the design and implementation of a user interface, or Front Panel (Fig. 1.2), with controls and indicators, which are the interactive input and output terminals of the VI, respectively. Figure 1.2 shows a simple VI to analyze the variations of a signal and its spectrum for different amplitudes of its components, a sinusoid and a random signal. The user can interactively set the parameters of the signals by means of the controls.
The choice of the programming language for software implementation is always personal and depends on the background and skills of the user. The algorithms and systems described in the book can be easily implemented with any programming language where advanced mathematical and data processing tools are available and it is possible to manage the communication with the measurement hardware for data acquisition. Based on the authors' experience, this book recommends the use of LabVIEW (www.ni.com/labview) because this was originally developed with the objective of integrating measurement and data processing in a single platform. It is characterized by an advantageous learning curve, which allows a fast and easy development of systems and software, but it is also very powerful and versatile. In fact, advanced functions and analysis tools are available and it makes possible the communication with a large number of commercial devices. An overview of relevant aspects about programming in LabVIEW is given in this section, since all the proposed applications are discussed assuming LabVIEW as the common platform for system and software implementation. The choice of the platform for measurement execution and data processing can obviously be different but, for practical reasons, it is impossible to provide a tutorial for every program¬ming language. Nevertheless, since the algorithms are general, any other choice is possible for their implementation, provided that the reader carries out the appro¬priate language translations.<br>LabVIEW programs are called Virtual Instruments, or VIs, because their appear¬ance and operation imitate physical instruments, such as oscilloscopes and multimeters. LabVIEW contains a wide set of tools to acquire, analyze, display, and store data, as well as for code troubleshooting (National Instruments 2005a). Programming in LabVIEW requires the design and implementation of a user interface, or Front Panel (Fig. 1.2), with controls and indicators, which are the interactive input and output terminals of the VI, respectively. Figure 1.2 shows a simple VI to analyze the variations of a signal and its spectrum for different amplitudes of its components, a sinusoid and a random signal. The user can interactively set the parameters of the signals by means of the controls.
正在翻译中..