EasyManua.ls Logo

Agilent Technologies VEE Pro

Agilent Technologies VEE Pro
577 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix A 511
Additional Lab Exercises
Records
SolutionManipulating Records, Step 2
Figure A-28 shows manipulating records, step 2.
Figure A-28. Manipulating Records, Step 2
Key Points
n Using a Conditional Expression: VEE supports a conditional
expression, which provides an efficient way to implement an if-then-else
action. The conditional expression in this
Formula object is known as a
triadic. It is
(a.rand < 0.5? a.rand: "More than 0.5"). Notice
that it is all one expression, and you can write it with line breaks in the
Formula object as shown. If there were more than one expression in the
Formula object, the expressions would be separated with semi-colons
(
;).
n The Sub Record Object: Notice the
Text array of the fields on the Sub
Record
input pin labeled fields. When you configure the Sub Record
object to include fields, it will output a record that only contains the
fields specified.

Table of Contents

Related product manuals