
Introduction to SCPI
1
SCPI Conventions and Data Formats
U3606A Programmer’s Reference
9
Data types and formats
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- equipped instruments are precise talkers. This means that
SCPI- equipped instruments always respond to a particular query in a
predefined, rigid format.
Numeric
Parameters that accepts all commonly used decimal representations of
numbers including optional signs, and decimal points, scientific notations
(3e2 = 3 × 10
2
, 5.43e–3 = 5.43 × 10
–3
, or 10e6 = 10 × 10
6
), and engineering
notations (M, k, m,
μ
, n) Special values for numeric parameters such as
AUTO
,
MIN
,
MAX
, and
DEF
are also accepted. If only specific numeric
values are accepted, the instrument will automatically round the input
numeric parameters. As an example, the following command requires a
numeric parameter for the amplitude value:
[SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude] <value>
Discrete
Parameters (used in program settings) that have a limited number of
values such as
IMMediate
and
BUS
. Some of these parameters 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
abbreviated form in all upper- case letters. As an example, the following
command require a discrete parameter for the trigger source.
TRIGger:SOURce {IMMediate|BUS}
Boolean
Parameters that represent a single binary condition that is either true or
false. For a false condition, the U3606A will accept
OFF
or
0
. For a true
condition, the U3606A will accept
ON
or
1
. When you query a boolean
setting, the U3606A will always return
0
or
1
. As an example, the
following command require a boolean parameter for the instrument output
state:
OUTPut[:STATe] {0|OFF|1|ON}
Содержание U3606A
Страница 1: ...Keysight U3606A Multimeter DC Power Supply Programmer s Reference ...
Страница 2: ......
Страница 3: ......
Страница 13: ...U3606A Programmer s Reference XI Device specific errors 341 Self test errors 342 Calibration errors 343 ...
Страница 14: ...XII U3606A Programmer s Reference ...
Страница 27: ...Introduction to SCPI 1 SCPI Status System U3606A Programmer s Reference 13 Figure 1 1 Status system diagram ...
Страница 32: ...1 Introduction to SCPI SCPI Status System 18 U3606A Programmer s Reference ...
Страница 58: ...2 CALCulate Subsystem CALCulate NULL OFFSet 44 U3606A Programmer s Reference ...
Страница 92: ...3 CALibration Subsystem Remote Calibration Procedures 78 U3606A Programmer s Reference ...
Страница 132: ...4 CONFigure Subsystem CONFigure DCYCle 118 U3606A Programmer s Reference ...
Страница 138: ...5 INITiate Subsystem INITiate CONTinuous 124 U3606A Programmer s Reference ...
Страница 174: ...7 MEMory Subsystem MEMory STATe RECall AUTO 160 U3606A Programmer s Reference ...
Страница 295: ...SOURce Subsystem 10 SOURce PROTection STATe U3606A Programmer s Reference 281 RST on page 328 ...
Страница 296: ...10 SOURce Subsystem SOURce PROTection STATe 282 U3606A Programmer s Reference ...
Страница 332: ...14 Root Commands READ 318 U3606A Programmer s Reference ...
Страница 350: ...15 IEEE 488 2 Common Commands WAI 336 U3606A Programmer s Reference ...
Страница 370: ...Command Quick Reference 356 U3606A Programmer s Reference ...