Preface |
|
xii | |
|
1. The While Loop and Waveform Chart |
|
|
1 | (45) |
|
Sine Wave Generator Using a While Loop and Waveform Chart |
|
|
2 | (44) |
|
|
3 | (13) |
|
|
16 | (3) |
|
|
19 | (3) |
|
|
22 | (1) |
|
|
23 | (2) |
|
|
25 | (1) |
|
|
26 | (2) |
|
|
28 | (8) |
|
Data-Type Representations |
|
|
36 | (4) |
|
Automatic Creation Feature |
|
|
40 | (2) |
|
Program Storage and the VI Library |
|
|
42 | (4) |
|
2. The For Loop and Waveform Graph |
|
|
46 | (30) |
|
Sine Wave Generator Using a For Loop and Waveform Graph |
|
|
47 | (18) |
|
|
48 | (3) |
|
Cloning Block-Diagram Icons |
|
|
51 | (3) |
|
|
54 | (5) |
|
X-Axis Calibration of the Waveform Graph |
|
|
59 | (6) |
|
Sine Wave Generator Using a While Loop and Waveform Graph |
|
|
65 | (11) |
|
Array Indicators and the Probe |
|
|
68 | (8) |
|
3. The Formula Node and XY Graph |
|
|
76 | (30) |
|
Sine Wave Generator Using a Formula Node |
|
|
77 | (8) |
|
Debugging with Error List |
|
|
82 | (3) |
|
Sine Wave Generator Using a Formula Node and XY Graph |
|
|
85 | (9) |
|
|
86 | (2) |
|
|
88 | (3) |
|
Formatting the Scale of a Plot Axis |
|
|
91 | (3) |
|
Creating an Icon Using the Icon Editor |
|
|
94 | (12) |
|
|
94 | (5) |
|
|
99 | (7) |
|
4. Data Files and Character Strings |
|
|
106 | (30) |
|
Storing Data in a Spreadsheet-Formatted File |
|
|
107 | (19) |
|
Placing a Custom-Made VI on a Block Diagram |
|
|
108 | (3) |
|
|
111 | (4) |
|
|
115 | (2) |
|
|
117 | (5) |
|
Controlling the Format of Stored Data |
|
|
122 | (2) |
|
The Path Constant and Platform Portability |
|
|
124 | (2) |
|
Adding Text Labels to a Data File |
|
|
126 | (10) |
|
|
132 | (4) |
|
|
136 | (29) |
|
Arbitrary-Function Data Simulator VI |
|
|
138 | (3) |
|
Numerical Integration Using a Shift Register |
|
|
141 | (13) |
|
Numerical Integration via the Trapezoidal Rule |
|
|
142 | (2) |
|
|
144 | (8) |
|
Convergence Property of the Trapezoidal Rule |
|
|
152 | (2) |
|
Numerical Differentiation Using a Multiple-Terminal Shift Register |
|
|
154 | (6) |
|
|
160 | (5) |
|
|
165 | (24) |
|
Numerical Integration via Simpson's Rule |
|
|
167 | (2) |
|
Odd Detector with Iteration Calculator Using a Boolean Case Structure |
|
|
169 | (5) |
|
Trapezoidal Rule Contribution Using a Boolean Case Structure |
|
|
174 | (2) |
|
Simpson's Rule VI Using a Numeric Case Structure |
|
|
176 | (8) |
|
Comparison of the Trapezoidal Rule and Simpson's Rule |
|
|
184 | (5) |
|
7. The Sequence Structure |
|
|
189 | (16) |
|
Event Timer Using a Sequence Structure |
|
|
192 | (7) |
|
Event Timer Using Data Dependency |
|
|
199 | (6) |
|
8. Built-in Analysis VIs--Curve Fitting |
|
|
205 | (37) |
|
|
205 | (2) |
|
Temperature Measurement Using Thermistors |
|
|
207 | (3) |
|
The Least-Squares Linear Method |
|
|
210 | (2) |
|
Inputting Data to a VI Using a Front-Panel Control |
|
|
212 | (4) |
|
Inputting Data to a VI by Reading from a Disk File |
|
|
216 | (6) |
|
Slicing Up a Multi-Dimensional Array |
|
|
219 | (3) |
|
Curve Fitting Using the Least-Squares Linear Method |
|
|
222 | (15) |
|
Constructing a 2D Array Indicator |
|
|
226 | (6) |
|
Creating a Multi-Element Array Indicator |
|
|
232 | (4) |
|
Built-In Curve Fitting VIs |
|
|
236 | (1) |
|
Curve Fitting Using the Least-Squares Nonlinear Method |
|
|
237 | (5) |
|
9. Built-in Analysis VIs--Fast Fourier Transform |
|
|
242 | (37) |
|
|
242 | (1) |
|
Discrete Sampling and the Nyquist Frequency |
|
|
243 | (1) |
|
The Discrete Fourier Transform |
|
|
244 | (1) |
|
Fast Fourier Transform (FFT) |
|
|
245 | (1) |
|
|
246 | (2) |
|
|
248 | (9) |
|
Applying the FFT to Various Sinusoidal Inputs |
|
|
250 | (3) |
|
Magnitude of the Complex-Amplitude A(k) |
|
|
253 | (4) |
|
|
257 | (22) |
|
|
257 | (4) |
|
Analytic Description of Leakage |
|
|
261 | (3) |
|
Description of Leakage Using the Convolution Theorum |
|
|
264 | (4) |
|
|
268 | (3) |
|
The Enumerated Type Control |
|
|
271 | (4) |
|
Estimating Frequency and Amplitude |
|
|
275 | (4) |
|
10. Analog-to-Digital Conversion |
|
|
279 | (35) |
|
|
279 | (1) |
|
|
280 | (1) |
|
DAQ Hardware and the Method of Successive Approximations |
|
|
281 | (2) |
|
|
283 | (1) |
|
Range, Gain and Resolution |
|
|
284 | (1) |
|
Sampling Frequency and the Aliasing Effect |
|
|
285 | (2) |
|
Simple Analog-to-Digital Operation on a DC Voltage |
|
|
287 | (5) |
|
Voltage Acquisition Using the Advanced VIs |
|
|
288 | (3) |
|
Voltage Acquisition Using the Easy I/O VIs |
|
|
291 | (1) |
|
|
292 | (18) |
|
Advanced VIs for a Buffered Analog Input Operation |
|
|
292 | (3) |
|
Analog and Software Triggering |
|
|
295 | (1) |
|
|
296 | (2) |
|
The Enumerated and Ring Constants |
|
|
298 | (4) |
|
|
302 | (2) |
|
|
304 | (3) |
|
Improving the Triggered Read VI |
|
|
307 | (3) |
|
|
310 | (2) |
|
|
312 | (2) |
|
11. Digital-to-Analog Conversion and PID Temperature Control |
|
|
314 | (13) |
|
Digital-to-Analog Circuitry |
|
|
314 | (4) |
|
Simple Digital-to-Analog Operation |
|
|
318 | (4) |
|
Voltage-Controlled Bi-directional Current Driver for Thermoelectric Device |
|
|
320 | (2) |
|
PID Temperature Controller |
|
|
322 | (5) |
|
Temperature Control System |
|
|
324 | (3) |
|
12. GPIB--Control of Instruments |
|
|
327 | (55) |
|
The GPIB Write and GPIB Read Operations |
|
|
327 | (3) |
|
|
330 | (1) |
|
|
331 | (1) |
|
|
332 | (3) |
|
|
335 | (1) |
|
Simple GPIB Write/Read Operation |
|
|
336 | (12) |
|
Using the GPIB Write and GPIB Read Icons |
|
|
337 | (2) |
|
Termination of GPIB Write |
|
|
339 | (1) |
|
|
340 | (1) |
|
Performing a Measurement over the GPIB |
|
|
341 | (4) |
|
Using the IEEE-488.2 Send and Receive Icons |
|
|
345 | (3) |
|
|
348 | (17) |
|
Measurement VI Based on the Serial Poll Method |
|
|
354 | (6) |
|
Measurement VI Based on the Service Request Method |
|
|
360 | (5) |
|
Creating an Instrument Driver |
|
|
365 | (17) |
|
Using the Instrument Driver to Write an Application Program |
|
|
379 | (3) |
Appendix: Construction of Temperature Control System |
|
382 | (8) |
Index |
|
390 | |