510 Appendix A
Additional Lab Exercises
Records
n Naming Fields: By renaming the input terminals on the Build Record
object, you can give your record specific field names such as int, rand,
and
wave.
n The Default Value Control Input: A
Record Constant makes an
excellent interactive display object by adding a
Default Value
Control
pin. The Record Constant will automatically configure
itself for the record it receives.
Manipulating Records, Step 2
Use a conditional expression in a
Formula object to test the random value
in the record, and display either the value or a text string. If the value is less
than 0.5, display that random value; otherwise, output a text string “
More
than 0.5
." Next, extract only the time and the waveform.
Hint
Do not use a
Formula object to extract the time and waveform. Display this
record with an
AlphaNumeric object.