SCPI Data Types
The
SCPI
language defines different data formats for use in program
messages and response messages. Instruments are flexible listeners and
can accept commands and parameters in various formats. However,
SCPI
instruments are precise talkers. This means that
SCPI
instruments will
always
respond to a particular query in a predefined, rigid format.
Numeric Parameters
Commands that require numeric parameters will
accept all commonly used decimal representations of numbers including
optional signs, decimal points, and scientific notation. Special values for
numeric parameters like
MAXimum
,
MINimum
, and
DEFault
are also
accepted. You can also send engineering unit suffixes (M, k, or u) with
numeric parameters. If only specific numeric values are accepted, the
meter will automatically round the input numeric parameters.
Discrete Parameters
Discrete parameters are used to program settings
that have a limited number of values (like
BUS
,
IMMediate
,
EXTernal
).
They have a short form and a long form just like command keywords. You
can mix upper-case and lower-case letters. Query responses will
always
return the short form in upper-case letters.
Boolean Parameters
Boolean parameters represent a single binary
condition that is either true or false. For a false condition, the meter will
accept “
OFF
” or “0”. For a true condition, the meter will accept “
ON
” or
“1”. When you query a boolean setting, the instrument will
always
return
“0” or “1”.
String Parameters
String parameters can contain virtually any set of
ASCII
characters. A string
must
begin and end with matching quotes;
either with a single quote or with a double quote. You can include the
quote delimiter as part of the string by typing it twice without any
characters in between.
4
Chapter 4 Remote Interface Reference
An Introduction to the SCPI Language
185
Содержание 34420A
Страница 1: ......
Страница 2: ......
Страница 13: ...1 Quick Start ...
Страница 31: ...2 Front Panel Operation ...
Страница 55: ...3 Features and Functions ...
Страница 117: ...4 Remote Interface Reference ...
Страница 200: ...5 Error Messages ...
Страница 213: ...6 Application Programs ...
Страница 245: ...6 Chapter 6 Application Programs Microsoft Excel Macro Example 245 ...
Страница 246: ...Chapter 6 Application Programs Microsoft Excel Macro Example 246 ...
Страница 247: ...7 Measurement Tutorial ...
Страница 274: ...8 Specifications ...
Страница 279: ...Dimensions Chapter 8 Specifications 34420A Nano Volt Micro Ohm Meter 280 ...
Страница 294: ......