Download "user manual"

Transcript
Lesson 2
VI Design Techniques
Exercise 2-6
Objective:
Time to Match VI
To use the Stacked Sequence structure.
Complete the following steps to build a VI that computes the time it takes
to generate a random number that matches a number you specify. This
exercise shows a good use of a Stacked Sequence structure.
Front Panel
1. Open the Auto Match VI located in the C:\Exercises\
LabVIEW Basics II directory.
2. Enter a number in Number to Match and run the VI. Notice that the VI
continues to run until the random number generated matches the number
you specified.
3. Modify the front panel as follows.
a. Add a Numeric indicator to the front panel.
b. Change the label of the indicator to Time to Match.
4. Select File»Save As to save the VI as Time to Match.vi in the
C:\Exercises\LabVIEW Basics II directory.
LabVIEW Development Course Manual
2-30
ni.com