Tektronix AFG2021 Programmer's Manual page 24

Arbitrary function generator
Hide thumbs Also See for AFG2021:
Table of Contents

Advertisement

Command Syntax
Special Characters
Abbreviating Commands,
Queries, and Parameters
2-6
Table 2-4: Parameter types used in syntax descriptions (cont.)
Parameter type
Description
discrete
A list of specific values
binary
Binary numbers
octal
Octal numbers
hexadecimal
2
Hexadecimal numbers
(0-9, A, B, C, D, E, F)
NR1
2
numeric
Integers
NR2
2 3
numeric
Decimal numbers
NR3
2
numeric
Floating point numbers
NRf
2
numeric
Flexible decimal number that
may be type NR1, NR2 or NR3
string
4
Alphanumeric characters (must
be within quotation marks)
1
Defined in ANSI/IEEE 488.2 as "Definite Length Arbitrary Block Response Data."
2
An ANSI/IEEE 488.2-1992-defined parameter type.
3
Some commands and queries will accept an octal or hexadecimal value even though the parameter type is
defined as NR1.
4
Defined in ANSI/IEEE 488.2 as "String Response Data."
The Line Feed (LF) character or the New Line (NL) character (ASCII 10), and all
characters in the range of ASCII 127-255 are defined as special characters. These
characters are used in arbitrary block arguments only; using these characters in
other parts of any command yields unpredictable results.
You can abbreviate most SCPI commands, queries, and parameters to an accepted
short form. This manual shows these short forms as a combination of upper and
lower case letters. The upper case letters indicate the accepted short form of a
command. As shown in the following figure, you can create a short form by
using only the upper case letters. The accepted short form and the long form are
equivalent and request the same action of the instrument.
Figure 2-2: Example of abbreviating a command
AFG2021 Arbitrary Function Generator Programmer Manual
Example
MIN, MAX
#B0110
#Q57, #Q3
#HAA, #H1
0, 1, 15, -1
1.2, 3.141516, -6.5
3.1415E-9, -16.1E5
See NR1, NR2, and NR3
examples
"Testing 1, 2, 3"

Advertisement

Table of Contents
loading

Table of Contents