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...
344 Chapter 9
Test Sequencing
Passing Data in the Sequencer
Figure 9-6. The Rand UserFunction
5. Save the program as seqdat1.vee. Close the Rand window using the x
button on its top right corner.
Note Closing the window does not remove the UserFunction. If you want to
check this, just click on
Edit Edit UserFunction and you will see
Rand come up in a list box of UserFunctions to edit. Or you can iconize
the
Rand function and you will see the icon for it in the bottom of the VEE
screen.
Now set up three tests in the
Sequencer to call Rand using a Sequencer
input pin to feed the input parameter to
Rand.
6. Select
Device Sequencer and place it in Main. Add an input
terminal to the
Sequencer. Click the transaction bar to get the
Sequence Transaction dialog box. Change the FUNCTION field from
testFunc(a) to rand(a). This will call the UserFunction Rand()
and send it the value on the
Sequencer input terminal A. Click OK to get
back to the
Sequencer open view.
Note You could also use a Sequencer input terminal name, such as A, to pass
data to any of the expression fields within the
Sequence Transaction
box. For example, you could use
A to pass data to RANGE: and SPEC
NOMINAL:.

Table of Contents

Related product manuals