Télécharger Imprimer la page

Keysight Technologies 3458A Guide D'utilisation page 393

Multimètre

Publicité

Logical functions
The 3458AA 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
Binary functions
The 3458AA 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)
Keysight 3458A User's Guide
A
B
A AND B
0
0
0
0
1
0
1
0
0
1
1
1
A OR B
0
1
1
1
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.
BASIC Language for the 3458A
A EXOR B
NOT A
0
1
1
1
1
0
0
0
7
NOT B
1
0
1
0
393

Publicité

loading