Trigonometric Functions; Logical Functions; Binary Functions - Agilent Technologies 3458A User Manual

Hide thumbs Also See for 3458A:
Table of Contents

Advertisement

Trigonometric Functions

Logical Functions

Binary Functions

Function/Argument
EXP(X)
LGT(X)
Three trigonometric functions are provided in the 3458A. The trigonometric
functions are shown in the following table.
Function/Argument
SIN(X)
COS(X)
ATN(X)
The 3458A has four logical functions: AND (inclusive-AND), OR
(inclusive-OR), EXOR (exclusive-OR), and NOT (logical inverse). The first
three functions compare the two arguments and return either a "0" or a " 1"
based on the respective truth table. Any non-zero value (positive or negative)
in an argument is considered a logical "1". Only zero is treated as a logical
"0".
The logic function commands have the following syntax. The truth tables for
the four functions are shown below.
argument AND argument
argument OR argument
argument EXOR argument
NOT argument
A
B
A AND B
0
0
0
0
1
0
1
0
0
1
1
1
The 3458A provides seven binary functions. These can help in digital pattern
generation. When using the binary functions, argument values ("X" and "Y")
of real variables are rounded to integers in the range –32768 to +32767. The
binary functions are shown in the table below.
Function/Argument
BINAND(X,Y)
BINCMP(X)
BINEOR(X,Y)
BINIOR(X.Y)
BIT(X,position)
Chapter 7 BASIC Language for the 3458A
Meaning
x
e
: Natural antilogarithm. Raises e to
the power of the argument.
Log
: Common logarithm of a positive
10
argument to the base 10.
Meaning (X in radians)
Sine of argument.
Cosine of argument.
Arctangent of argument.
A OR B
A EXOR B
0
0
1
1
1
1
1
0
Meaning
Bit-by-bit logical AND of the arguments.
Bit-by-bit binary complement of the argument.
Bit-by-bit logical Exclusive-OR of the arguments.
Bit-by-bit logical Inclusive-OR of the arguments.
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).
NOT A
NOT B
1
1
1
0
0
1
0
0
271

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents