User`s guide

5- 10 Agilent EasyEXPERT Users Guide Vol. 1, Edition 1
Built-in Programming Tool
Built-in Functions
dim1Size(A) Returns the number of elements in the primary plane of the vector variable A.
Example B=dim1Size(A)
Data type A: vector, B: numeric.
dim2Size(A) Returns the number of elements in the secondary plane of the vector variable A.
Example B=dim2Size(A)
Data type A: vector, B: numeric.
exp(A) Raises e (exponential) to the power of the expression A. The following example
enters e
A
calculation result to the variable B.
Example B=exp(A)
Data type A: numeric, B: numeric. Or A: vector, B: vector.
floor(A) Returns the maximum integer value less than or equal to the expression A.
Example B=floor(A)
Data type A: numeric, B: numeric. Or A: vector, B: vector.
getNumericData(A
)
Returns data of the numeric variable specified by A. This function is effective for
the variables defined in the Function Setup or Display Setup of the last Classic Test
or the analysis parameters of the last Application Test. The variables are valid in a
test definition.
Example B=getNumericData("A")
Data type A: string (name of numeric variable), B: numeric.
getVectorData(A) Returns data of the vector variable specified by A. This function is effective for the
variables defined in the Function Setup or Display Setup of the last Classic Test or
the analysis parameters of the last Application Test. The variables are valid in a test
definition.
Example B=getVectorData("A")
Data type A: string (name of vector variable), B: vector.
index(A,B) Finds the string B in the string A, and returns the index number where the string B is
first found. The index 0 indicates the first character. The following example returns
3.
Example C=index("AGILENT","L")
Data type C: numeric.