7-8
Agilent 4155B/4156B User’s Guide Vol.2, Edition 5
Data Variable and Analysis Function
Expression
Expression
An expression can be used for following:
•
In a user function definition
•
As a condition for an automatic analysis function
•
For direct keyboard calculation
Figure 7-1 shows the syntax of an expression. Notice that an expression can be used
within an expression.
NOTE
Direct Keyboard Calculation
You can directly calculate the value of an expression as follows:
•
Enter the expression by using the front-panel keys, press the green key, then
press Enter. The value of the expression is displayed.
If the expression contains data variables that are related to measurement points, the
calculated value corresponds to the marker position.
NOTE
Operation between data variables
Operation between data variables is performed between data at the same
measurement points.
NOTE
Arithmetic operator precedence
When an expression contains more than one operation, the order of operation is
determined by operator precedence. Operations with the highest precedence are
performed first. Multiple operations with the same precedence are performed left to
right. The following table shows the arithmetic operator precedence.
Precedence Operator
Highest
Lowest
Parentheses: (may be used to force any order of operations)
Functions: built-in function and data variable
Exponentiation: ^
Multiplication and division: * /
Addition, subtraction, monadic operators: + -
Summary of Contents for 4156b
Page 18: ...Contents 10 Agilent 4155B 4156B User s Guide Vol 2 Edition 5 Contents...
Page 19: ...Agilent 4155B 4156B User s Guide Vol 2 Edition 5 1 Measurement Units...
Page 41: ...Agilent 4155B 4156B User s Guide Vol 2 Edition 5 2 Measurement Mode...
Page 75: ...Agilent 4155B 4156B User s Guide Vol 2 Edition 5 3 Measurement Functions...
Page 143: ...Agilent 4155B 4156B User s Guide Vol 2 Edition 5 4 Making a Measurement...
Page 205: ...Agilent 4155B 4156B User s Guide Vol 2 Edition 5 5 Analyzing Measurement Results...
Page 243: ...Agilent 4155B 4156B User s Guide Vol 2 Edition 5 6 Screen Organization...
Page 333: ...Agilent 4155B 4156B User s Guide Vol 2 Edition 5 7 Data Variable and Analysis Function...
Page 375: ...Agilent 4155B 4156B User s Guide Vol 2 Edition 5 8 If You Have A Problem...