User`s guide

94 VEE User’s Guide
2 Agilent VEE Programming Techniques Chapter
The following program creates a one- dimensional,
ten- element array, calculates the median of the 10 values,
and then displays the median value.
1 Select FileNew to clear the work area.
2 Add a For Range object, by selecting FlowRepeatFor
Range.
3 Add a Sliding Collector object, by selecting DataSliding
Collector.
4 Add a median(x) object. Select Device Function & Object
Browser. Then, select Type: Built- in Functions; Category:
Probability & Statistics; Functions: median and click Create
Formula.
You can display the Function & Object Browser by
clicking the fx button on the toolbar.
5 Add an AlphaNumeric object, by selecting Display
AlphaNumeric. Connect the objects as shown in Figure 55.
Run the program. If you have not changed any of the
inputs on the objects, you should see the result displayed
in
Figure 55.
Figure 55 Connecting Data Objects
Using the Formula Object
VEE provides mathematical operators and functions which
are documented in the Reference part of online help. Select
HelpContents and Index. Then, select Reference and browse
the items as desired.