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...
332 Chapter 9
Test Sequencing
Creating a Test Execution Order
You may leave the other defaults. This configuration will lead to a PASS
result in approximately half of the runs. The dialog box should look like
Figure 9-1.
Figure 9-1. The Sequence Transaction Dialog Box
Click OK to close the dialog box. You will see the transaction
test1 0 <= (.25) <= .5
on the first transaction bar. This means that test1 will pass if the
returned value is in the range from
0 to .5 with the end points included.
The expected result is about
.25.
FUNCTION: The default entry
testFunc(a) holds the actual
function that performs the test. In this case, replace the
default field with the
random()function. Random()
will return a
Real64 value between 0 and 1 simulating
a test result. This result will be compared to the test
specification.
The
random(low,high) object is located in the
Probability & Statistics category in the
Function & Object Browser box. Remember that
you can call this math function from any expression
field without actually using a
Formula object. If you
do not provide the parameters low and high, as shown
in this example, the function will use the default
parameters
0 and 1.

Table of Contents

Related product manuals