Each chapter ends with "Do It Yourself" features and Problems. 1. THE WHILE LOOP AND WAVEFORM CHART
1.1 LabVIEW Programming Environment
1.2 Sine-Wave Plot using a While Loop and Waveform Chart
1.3 Block Diagram Editing
1.4 LabVIEW Help Window
1.5 Front Panel Editing
1.6 Pop-Up Menu
1.7 Finishing the Program
1.8 Program Execution
1.9 Program Improvements
1.10 Date-Type Representations
1.11 Automatic Creation Feature
1.12 Program Storage
2. THE FOR LOOP AND WAVEFORM GRAPH
2.1 For Loop Basics
2.2 Sine-Wave Plot using a For Loop and Waveform Graph
2.3 Waveform Graph
2.4 Owned and Free Labels
2.5 Creation of Sine Wave using a For Loop
2.6 Cloning Block-Diagram Icons
2.7 Auto-Indexing Feature
2.8 Running the VI
2.9 x-Axis Calibration of the Waveform Graph
2.10 Sine-Wave Plot using a While Loop and Waveform Graph
2.11 Array Indicators and the Probe Watch Window
3. THE MATHSCRIPT NODE AND XY GRAPH
3.1 MathScript Node Basics
3.2 Quick MathScript Node Example: Sine-Wave Plot
3.3 Debugging with Error List
3.4 Waveform Simulator using a MathScript Node and XY Graph
3.5 Creating an xy Cluster
3.6 Running the VI
3.7 MathScript Interactive Window
3.8 Adding Shape Options to Waveform Simulator
3.9 The Enumerated Type Control
3.10 Finishing the Block Diagram
3.11 Running the VI
3.12 Control and Indicator Clusters
3.13 Creating an Icon using the Icon Editor
3.14 Icon Design
3.15 Connector Assignment
4. DATA ACQUISITION USING DAQ ASSISTANT
4.1 Data Acquisition VIs
4.2 Data Acquisition Hardware
4.3 Analog Input Modes
4.4 Range and Resolution
4.5 Sampling Frequency and the Aliasing Effect
4.6 Measurement and Automation Explorer (MAX)
4.7 Simple Analog Input Operation on a DC Voltage
4.8 Digital Oscilloscope
4.9 Analog Output
4.10 DC Voltage Source
4.11 Software-Timed Sine-Wave Generator
4.12 Hardware-Timed Waveform Generator
4.13 Placing a Custom-Made VI on a Block Diagram
4.14 Completing and Executing Waveform Generator (Express)
4.15 Modified Waveform Generator
5. DATA FILES AND CHARACTER STRINGS
5.1 ASCII Text and Binary Data Files
5.2 Storing Data in a Spreadsheet-Formatted File
5.3 Storing a One-Dimensional Data Array
5.4 Transpose Option
5.5 Storing a Two-Dimensional Data Array
5.6 Controlling the Format of Stored Data
5.7 The Path Constant and Platform Portability
5.8 Fundamental File I/O VIs
5.9 Adding Text Labels to a Spreadsheet File
5.10 Blackslash Codes
6. SHIFT REGISTERS
6.1 Shift Register Basics
6.2 Quick Shift Register Example: Integer Sum
6.3 Numerical Integration and Differentiation using Shift Registers
6.4 Power Function Simulator VI
6.5 Numerical Integration via the Trapezoidal Rule
6.6 Trapezoidal Rule VI using Single Shift Register
6.7 Convergence Property of the Trapezoidal Rule
6.8 Numerical Differentiation using a Multiple Shift Registers
6.9 Modularity and Automatic SubVI Creation
7. THE CASE STRUCTURE
7.1 Case Structure Basics
7.2 Quick Case Structure Example: Runtime Options using Property Nodes
7.3 Numerical Integration using Case Structures
7.4 Numerical Integration via Simpson's Rule
7.5 Parity Determiner using a Boolean Case Structure
7.6 Summation of Partial Sums using a Numeric Case Structure
7.7 Trapezoidal Rule Contribution using a Boolean Case Structure
7.8 Top-Level Simpson's Rule VI
7.9 Comparison of the Trapezoidal Rule and Simpson's Rule
8. DATA DEPENDENCY AND THE SEQUENCE STRUCTURE
8.1 Data Dependency and Sequence Structure Basics
8.2 Event Timer using a Sequence Structure
8.3 Event Timer using Data Dependency
8.4 Highlight Execution
9. ANALYSIS VIS: CURVE FITTING
9.1 Thermistor Resistance-Temperature Data File
9.2 Temperature Measurement using Thermistors
9.3 The Linear Least-Squares Method
9.4 Inputting Data to a VI using a Front-Panel Control
9.5 Inputting Data to a VI by Reading from a Disk File
9.6 Slicing Up a Multi-Dimensional Array
9.7 Curve Fitting using the Linear Least-Squares Method
9.8 Residual Plot
10. ANALYSIS VIs-FAST FOURIER TRANSFORM
10.1 The Fourier Transform
10.2 Discrete Sampling and the Nyquist Frequency
10.3 The Discrete Fourier Transform
10.4 The Fast Fourier Transform
10.5 Frequency Calculator VI
10.6 FFT of Sinusoids
10.7 Applying the FFT to Various Sinusoidal Inputs
10.8 Magnitude of the Complex-Amplitude
10.9 Observing Leakage
10.10 Analytic Description of Leakage
10.11 Description of Leakage Using the Convolution Theorem
10.12 Windowing
10.13 Estimating Frequency and Amplitude
10.14 Aliasing
11. DATA ACQUISITION AND GENERATION USING DAQmx VIs
11.1 DAQmx VIs
11.2 Simple Analog Input Operation on a DC Voltage
11.3 Digital Oscilloscope
11.4 Express VI Automatic Code Generation
11.5 Limitation of Express VIs
11.6 Improving Digital Oscilloscope using State Machine Architecture
11.7 Analog Output Operations
11.8 Waveform Generator
12. PID TEMPERATURE CONTROL PROJECT
12.1 Voltage-Controlled Bidirectional Current Driver for Thermoelectric Device 491
12.2 PID Temperature Control Algorithm 492
12.3 PID Temperature Control System
13. CONTROL OF STAND-ALONE INSTRUMENTS
13.1 Instrument Control using VISA VIs
13.2 The VISA Session
13.3 The IEEE 488.2 Standard
13.4 Common Commands
13.5 Status Reporting
13.6 Device-Specific Commands
13.7 Specific Hardware used in this Chapter
13.8 Measurement and Automation Explorer (MAX)
13.9 Simple VISA-Based Query Operation
13.10 Message Termination
13.11 Getting and Setting Communication Properties using a Property Node
13.12 Performing a Measurement over the Interface Bus
13.13 Synchronization Methods
13.14 Measurement VI Based on the Serial Poll Method
13.15 Measurement VI Based on the Service Request Method
13.16 Creating an Instrument Driver
13.17 Using the Instrument Driver to Write an Application Program
APPENDIX I: CONSTRUCTION OF TEMPERATURE CONTROL SYSTEM
APPENDIX II: PROGRAM CROSS REFERENCE TABLE
Index