Scpi Conventions And Data Formats - Agilent Technologies N6700 Series User Manual

Modular power system
Hide thumbs Also See for N6700 Series:
Table of Contents

Advertisement

SCPI Conventions and Data Formats

Message Unit Separator
Root Specifier
Message Terminator

SCPI Conventions and Data Formats

Conventions
Angle brackets < >
Vertical bar
Square Brackets [ ]
Braces
Parentheses (
64
When two or more message units are combined into a compound
message, separate the units with a semicolon.
STATus:OPERation?(@1);QUEStionable?(@1)
When it precedes the first header of a message unit, the colon
becomes the root specifier. It tells the command parser that this is
the root or the top node of the command tree.
A terminator informs SCPI that it has reached the end of a message.
The following messages terminators are permitted:
newline <NL>, which is ASCII decimal 10 or hex 0A.
end or identify <END> (EOI with ATN false)
both of the above <NL><END>
also <CR><NL>
In the examples of this guide, there is an assumed message
terminator at the end of each message.
The following SCPI conventions are used throughout this guide.
Items within angle brackets are parameter abbreviations. For example, <NR1>
indicates a specific form of numerical data.
|
Vertical bars separate alternative parameters. For example, VOLT | CURR indicates
that either "VOLT" or "CURR" can be used as a parameter.
Items within square brackets are optional. The representation [SOURce:]VOLTage
means that SOURce: may be omitted.
{ }
Braces indicate parameters that may be repeated zero or more times. It is used
especially for showing arrays. The notation <A>{<,B>} shows that parameter "A"
must be entered, while parameter "B" may be omitted or may be entered one or
more times.
)
Items within parentheses are used in place of the usual parameter types to specify
a channel list. The notation (@1:3) specifies a channel list that includes channels
1, 2, and 3. The notation (@1,3) specifies a channel list that includes only channels
1 and 3.
Series N6700 User's Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents