Read Chapter 8 ("Data Acquisition")
of Robert H. Bishops’s LabVIEW 2009 Student Edition.
Complete and turn in the following
Exercises, Problems, and Design Problems from Chapters 6 and 7.
For all programs that you write, label your controls and indicators with
meaningful names, instead of using LabVIEW’s default names. Also make
sure that your block diagrams do not have any coercion dots.
You’ve been using the DAQ Assistant to perform data acquisition
since the beginning of this course. So most of the exercises and problems
from Chapter 8 are too easy for you. Instead, the problems below are
taken from earlier chapters.
For Problem P6.11, name your program P6_11_Prime.vi.
Recall that a prime number is a positive integer greater than 1 whose
only factors are 1 and itself. For example, 7 is prime because its
only factors are 1 and 7. As noted in the book’s hint, you might want to re-use the code that you wrote previously for Problem P6.10. You can ignore the book’s directions telling
what to name your program and where to save it.
For Design Problem D6.5 (on page 347), name your program D6_5_Perfect.vi.
This one is also an extension of Problem P6.10, which you’ve done previously.
The books’ directions say that a perfect number is a positive integer
equal to the sum of its factors, but more correctly it should say that
a perfect number is a positive integer equal to the sum of its factors excluding
itself. For example, the factors of 6 are 1, 2, 3, and
6. Its factors excluding itself are 1, 2, and 3. So 6 is a perfect number, since 6 = 1 + 2 + 3.
For Design Problem D7.5 (on page 400), name your program D7_5_TemperaturePlot.vi.
As the book’s hint suggests, use the Learning Directory program Simulated Temperature (deg F).vi as
a subVI (and you don’t need to send me this subVI).
Use the Homework #12 Dropbox on the course website
to send me your files.