Télécharger Imprimer la page

Keysight Technologies 3458A Guide D'utilisation page 394

Multimètre

Publicité

7
BASIC Language for the 3458A
Function/Argument
BIT(X,position)
ROTATE(X,displacement)
SHIFT(X,displacement)
[a] If the displacement is positive, rotating or shifting is toward the least significant bit. If the displacement is negative,
Math hierarchy
The 3458AA evaluates parenthetical expressions before evaluating any math
functions outside of parentheses. If two or more operations of the same priority
are in the expression, the hierarchy is from left to right
.
Highest Priority
Lowest Priority
394
Meaning
Returns "0" or "1" representing the logic value of the specified bit of the
argument. The bit position is in the range 0 (Isb) to 15 (msb).
Returns an integer obtained by rotating the argument a specified number
of positions with bit wraparound
Returns an integer obtained by rotating the argument a specified number
of positions without bit wraparound.*
rotating or shifting is toward the most significant bit.
Parentheses
Functions: SIN, COS, etc.
Exponentiation
*, /, MOD, DIV
+, –
Relational Operators: <, >, < =, >=, etc.
logical operators: AND, OR, etc.
[a]
Keysight 3458A User's Guide

Publicité

loading