
Agilent B1500 User’s Guide, Edition 7 8- 13
Built-in Programming Tool
Built-in Functions
max(A) Returns the maximum value of data in the expression A. For subordinate sweep
measurement, this function returns the maximum value of the primary sweep for
each secondary sweep step.
If there are invalid values in A, invalid
values are ignored.
Example
B=max(A)
Data type A: vector or numeric, B: vector.
min(A) Returns the minimum value of data in the expression
A. For subordinate sweep
measurement, this function returns the minimum value of the primary sweep for
each secondary sweep step.
If A contains invalid values, the invalid values are ignored.
Example
B=min(A)
Data type A: vector or numeric, B: vector.
setDeviceId(A) Sets the value of the string variable A to the Device ID parameter of the test result
record. This va
lue is effective for the test result records created after this function
call. If the A value is an empty string, this function does nothing.
Example
B=setDeviceId(A)
Data type A: string, B: numeric. B (returned value) is always 0.
sin(A) Returns the sine value of the expression A.
Example
B=sin(A)
Data type A: numeric, B: numeric. Or A: vector, B: vector.
sqrt(A) Returns the square root of the expression A.
Example
B=sqrt(A)
Data type A: numeric, B: numeric. Or A: vector, B: vector.
storeAt(A,B,C,D) Finds a data element in the expression A, and replaces it with the D value,
and
returns the result vector data. The data element is specified by the indices B and C.
B is the index for the primary plane of a two-dimensional array and C is the index
for the secondary plane. The index number starts from 1. The following example
replaces the A[5, 5] value with the D value and enters the result vector data to the
variable E.
Example
E=storeAt(A,5,5,D)
Data type A: vector or numeric, B, C, D: numeric, E: vector.
Komentáře k této Příručce