User`s guide
378 VEE User’s Guide
10 Test Sequencing Chapter
Figure 208 The Rand UserFunction
5 Save the program as seqdat1.vee. Close the Rand window 
using the x button on its top right corner. 
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
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. 
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:.










