Homework
Assignments
Print this page
Homework #1
- If you have a computer at home, install LabVIEW
from one of the CDs that came with the textbook. (See page 2 of the
book for instructions.) Use the first CD if you have a PC running
Windows, and use the other CD if you have an Apple computer running
Mac OS.
- Go to http://community.ni.com/examples/labview-8-student-edition and download the
Learning Directory (in the green box) to your flash drive or home
computer (or both). Then unzip this file. If you
don't know how to download or unzip a file, ask me for help. In the
weeks ahead, whenever your textbook tells you to open a file in the
Learning directory, it's talking about these files.
- Read the Preface (pages xvii-xxiv) and Chapter
1 ("LabVIEW Basics") of the textbook. Do the book's step-by-step
examples as you read.
- Complete all of the Exercises on pages 37-40 in
the book. Don't turn in anything for these exercises.
- Complete Problems P1.1 and P1.3 on pages 41-42
in the book. Don't turn in anything for these problems.
- Complete both Design Problems on pages 42-44 in
the book.
- For Problem D1.1, name your program D1_1_Comparison.vi.
- For Problem D1.2, name your program D1_2_Multiply.vi. Your completed
program should include three numeric controls and a numeric indicator
wired to the Compound Arithmetic function so that you can run the
program.
- Use the Attachments and Submit buttons
below to send me your two files.
Homework #2:
- Read Chapter 2 ("Virtual Instruments ")
of Robert H. Bishops's LabVIEW 8 Student Edition. Do the
book's step-by-step examples as you read. (If you haven't studied
calculus, you probably won't understand the example on pages 50-52,
but you should still be able to perform the steps he gives.)
- Complete Exercises E2.1 and E2.2 on page 87 in
the book. Don't turn in anything for these exercises.
- Complete and turn in the following Problems on
pages 90-92 in the book:
- For Problem P2.2, name your program P2_2_Math.vi. For
this program and all other programs that you write, be sure to
label your controls and indicators with meaningful names, instead
of using LabVIEW's default names.
- For Problem P2.3, name your program P2_3_Slide.vi.
- For Problem P2.4, name your program P2_4_Calculate.vi.
- For Problem P2.7, name your program P2_7_Convert.vi.
- Use the Attachments and Submit buttons
below to send me your files.
Homework #3:
- Read Chapter 4 ("Editing and Debugging Virtual
Instruments") of Robert H. Bishops's LabVIEW 8 Student Edition.
Do the book's step-by-step examples as you read.
- Complete all of the Exercises on pages 188-191
in the book. Don't turn in anything for these exercises.
- Complete and turn in the following
Problems and Design Problems on pages 191-194 in the book:
- For Problem P4.1, name your program P4_1_Random.vi. On the red
meter, make the needle black so that you can see it against the
red face. For this program and all other programs that you
write, label your controls and indicators with meaningful names,
instead of using LabVIEW's default names.
- For Problem P4.2, name your program P4_2_Stoplight.vi. Set the
dial's representation to integer (I8) and set its scale so that
the only three possible values are 0, 1, and 2.
- For Problem P4.6, name your program P4_6_Radians.vi.
- For Design Problem D4.1, name your program D4_1_Average.vi.
- For Design Problem D4.3, name your program D4_3_Random.vi.
- Use the Attachments and Submit buttons
below to send me your files.
Homework #4:
- Read Chapter 5 ("SubVIs") of Robert H.
Bishops's LabVIEW 8 Student Edition. Do the book's step-by-step
examples as you read.
- Complete and turn in the following
Exercises, Problems, and Design Problems on pages 224-231 in the book. For
all programs that you write, label your controls and indicators with
meaningful names, instead of using LabVIEW's default names.
- For Exercise E5.5, name your program E5_5_Sign.vi.
- For Exercise E5.6, name your program E5_6_FindGreatest.vi. (For
this exercise you should only send me the subVI, not the program
that uses the subVI.)
- For Problem P5.2, name your program P5_2_Limit.vi.
- For Problem P5.3, name your program P5_3_Multiplexer.vi.
- For Design Problem D5.1, name your program D5_1_Age.vi. Your
program should give the same answer for the age that we'd give
in everyday conversation. For example, on the day before a person's
20th birthday, we still say that the person is 19; but on the
day of her 20th birthday, we say that she's 20.
- For Design Problem D5.2, name your program D5_2_BMI.vi. Be sure
to give your VI a meaningful icon and a connector so that it can
be used as a subVI.
- Use the Attachments and Submit buttons
below to send me your files.
Homework #5:
- Read Sections 6.1, 6.2, and 6.9 of Robert H. Bishops's LabVIEW
8 Student Edition. Do the book's step-by-step examples as you
read.
- Complete and turn in the following
Exercises and Problems on pages 280-287 in
the book. For
all programs that you write, label your controls and indicators with
meaningful names, instead of using LabVIEW's default names.
- For Exercise E6.2, after you get rid of the gray dots, name
your program E6_2_Dots.vi.
- For Exercise E6.4, name your program E6_4_While.vi. The front
panel should contain a numeric control that lets the user enter
the value of N. It should also contain a numeric indicator that
shows the number of the current loop iteration.
- For Problem P6.4, turn in two separate solutions.
For each solution, use a single loop--a For Loop for one solution,
and a While Loop for the other solution. Ignore the book's
hint, which tells you to use a Flat Sequence structure. (On
the next homework assignment you'll solve this same problem using
a Flat Sequence structure, but for now you should not use a Flat
Sequence structure.) Name your programs P6_4_LEDForLoop.vi and
P6_4_LEDWhileLoop.vi.
- Use the Attachments and Submit buttons
below to send me your files.
Homework #6:
- Read Sections 6.3 and 6.5 of Robert H. Bishops's LabVIEW
8 Student Edition. Do the book's step-by-step examples as you
read.
- Complete and turn in the following
Exercises and Problems on pages 282-286 in the book. For all
programs that you write, label your controls and indicators with meaningful
names, instead of using LabVIEW's default names.
- For Exercise E6.5, after you rewrite the program, name your
program E6_5_Avoid.vi.
- For Problem P6.2, name your program P6_2_MaxMin.vi. (Hint: To
get started on this program, you might
want to look back at the
program you wrote in Lab 2 to find the
maximum of two or three numbers.)
- For Problem P6.4, name your program P6_4_LEDSeqStruc.vi. You did this problem already on the previous
assignment, but this time I want you to use a flat sequence
structure, not a loop.
- For Problem P6.6, name your program P6_6_ButtonTimer.vi.
- Use the Attachments and Submit buttons
below to send me your files.
Homework #7:
- Read Sections 6.4, 6.6, 6.7, and 6.8 of Robert
H. Bishops's LabVIEW 8 Student Edition. Do the book's step-by-step
examples as you read.
- Complete and turn in the following
Exercises, Problems, and Design Problems on pages 280-288 in the book. For
all programs that you write, label your controls and indicators with
meaningful names, instead of using LabVIEW's default names.
- For Exercise E6.3, after you fix the errors, name your program
E6_3_CaseErrors.vi.
- For Problem P6.3, name your program P6_3_Average.vi. Use a While
loop with a shift register, and include a STOP button on the front
panel. Also include numeric indicators on the front panel that
display the last four random numbers generated (as well as displaying
the average of those last four numbers).
- For Design Problem D6.2, name your program D6_2_BMI.vi.
Do not use any Select functions on your block
diagram; use a single Case Structure instead. Also, note that
the instructions tell you to use a Formula
Node,
not a Formula Express VI.
- For Design Problem D6.3, name your program D6_3_HeartRate.vi.
Do not use any Select functions on your block
diagram; use a Case Structure instead. Note that the instructions tell you to use a Formula
Node, not
a Formula Express VI.
- Use the Attachments and Submit buttons
below to send me your files.
Homework #8:
- Read Chapter 7 ("Arrays and Clusters")
and Chapter 8 ("Charts and Graphs") of Robert H. Bishops's LabVIEW
8 Student Edition. Do the book's step-by-step examples as you
read.
- Complete and turn in the following
Exercises, Problems, and Design Problems on pages 334-341 and pages
379-383 in the
book. For
all programs that you write, label your controls and indicators with
meaningful names, instead of using LabVIEW's default names.
- For Exercises E7.1 and E7.4, do the exercises but don't
turn in anything.
- For Problem P7.6, name your program P7_6_Randoms.vi.
- For Problem P7.7, name your program P7_7_Polynomial.vi.
- For Design Problem D7.1, name your program D7_1_Search.vi.
- For Exercises E8.1, E8.5, and E8.6, do the exercises but don't
turn in anything.
- For Design Problem D8.3, name your program D8_3_MaxMin.vi.
- Use the Attachments and Submit buttons
below to send me your files.
Nick Reeder | Electronics Engineering Technology | Sinclair Community College
Send comments to nick.reeder@sinclair.edu |