![Agilent Technologies 8712ES Скачать руководство пользователя страница 123](http://html.mh-extra.com/html/agilent-technologies/8712es/8712es_programmers-manual_2867956123.webp)
Programmer’s Guide
9-13
Introduction to SCPI
Parameter Types
String Parameters
String parameters can contain virtually any set of ASCII characters. The
string must begin with a single quote (
'
) or a double quote (
"
) and
end with the same character (called the delimiter). The delimiter can be
included as a character (embedded) inside the string by typing it twice
without any characters in between. For example:
OUTPUT 716;"DISP:ANN:TITL:DATA 'DUT''S PHASE'"
<string>
is used in this document to denote a string parameter.
An example of a command that uses a string parameter is the
CONFIGURE
command:
OUTPUT 716;"CONFIGURE 'FILTER:TRANSMISSION'"
Some of the string parameters used by the analyzer, like
'FILTER:TRANSMISSION'
in the example above, follow the same rules
that apply to mnemonics. They may have branching
(
'FILTER:REFLECTION'
is a related command) and abbreviated
versions.
Query Response
The response when a string parameter is queried is a string. The only
difference is that the response string will only use double quotes as
delimiters. Embedded double quotes may be present in string response
data. When the string follows the "SCPI" mnemonic rules, the string
returned in response to a query is in the abbreviated form. An example is
the response to the configuration status of the analyzer (after executing
the last command).
OUTPUT 716;"CONFIGURE?"
returns the value
"FILT:TRAN"
.
Block Parameters
Block parameters are typically used to transfer large quantities of
related data (like a data trace). Blocks can be sent as definite length
blocks or indefinite length blocks — the instrument will accept either
form. For more information on block data transfers refer to
<block>
is used in this document to denote
a block parameter.
Содержание 8712ES
Страница 11: ...1 1 1 Introduction to GPIB Programming ...
Страница 27: ...2 1 2 Synchronizing the Analyzer and a Controller ...
Страница 36: ...3 1 3 Passing Control ...
Страница 39: ...4 1 4 Data Types and Encoding ...
Страница 46: ...5 1 5 Using Status Registers ...
Страница 71: ...6 1 6 Trace Data Transfers ...
Страница 98: ...6 28 Programmer sGuide Trace Data Transfers Internal Measurement Arrays ...
Страница 99: ...7 1 7 Using Graphics ...
Страница 105: ...8 1 8 Front Panel Keycodes ...
Страница 111: ...9 1 9 Introduction to SCPI ...
Страница 129: ...10 1 10 Menu Map with SCPI Commands ...
Страница 268: ...12 1 12 SCPI Conformance Information ...
Страница 290: ...13 1 13 SCPI Error Messages ...