CMPS 273 Assignment 10, LabView Programming, Due April 27, 2009; 200 points
Instructions: Do the work/answer the questions below.
- At the top of your program’s user interface put your:
- Name
- W number
LabView Questions (100 points)
- What is the diagram used for in LabView?
- How is the diagram different than the front panel?
- How are indicators used?
- What is the difference between indicators and controls?
- Draw by hand the diagram for a program that displays a count from 0 to 10.
- The program takes 10 seconds to run.
- Draw by hand the diagram for a program that displays a count that increments 5 times per-second until the user pushes a stop button. The count starts at 0 and goes until the user pushes the stop button.
- What is the difference between for loops and while loops?
- What is the remainder in the following division problems:
- 30/60
- 92/60
- 123/60
- What function can we use to get the remainder?
LabView Program (100 points)
- Make a stopwatch program that has a 100ths of a second dial and a seconds dial.
- The program should run until the user pushes the stop button.
- The following dials should be present:
- 100ths of a second – 0 to 99
- Seconds – 0 to 59
- Minutes – 0 to 59
- Hours – 0 to 23
1