
Chapter 4 Remote Interface Reference
An Introduction to the SCPI Language
119
4
SCPI Parameter Types
The SCPI language defines several different data formats to be used in program
messages and response messages.
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
MINimum
,
MAXimum
, and
DEFault
are also accepted. You can also send engineering unit
suffixes (V, A or SEC) with numeric parameters. If only specific numeric values are
accepted, the power supply will automatically round the input numeric parameters.
The following command uses a numeric parameter:
CURR {<
current
>|MIN|MAX|UP|DOWN}
Discrete Parameters
Discrete parameters are used to program settings that have a
limited number of values (like
BUS
,
IMM
). Query responses will always return the
short form in all upper-case letters. The following command uses discrete parameters:
TRIG:SOUR {BUS|IMM}
Boolean Parameters
Boolean parameters represent a single binary condition that is
either true or false. For a false condition, the power supply will accept ‘‘OFF’’ or ‘‘ 0
’’. For a true condition, the power supply will accept ‘‘ON’’ or ‘‘ 1 ’’. When you query
a boolean setting, the power supply will always return ‘‘ 0 ’’ or ‘‘ 1 ’’. The following
command uses a boolean parameter:
DISP {OFF|ON}
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. The following command uses
a string parameter:
DISP:TEXT <
quoted string
>
Содержание E3646A
Страница 2: ...2...
Страница 16: ...16 Contents Contents...
Страница 17: ...1 Quick Start...
Страница 27: ...2 General Information...
Страница 39: ...3 Front Panel Operation and Features...
Страница 72: ...Chapter 3 Front Panel Operation and Features Calibration Overview 72...
Страница 73: ...4 Remote Interface Reference...
Страница 125: ...5 Error Messages...
Страница 136: ...Chapter 5 Error Messages Calibration Errors 136...
Страница 137: ...6 Application Programs...
Страница 148: ...Chapter 6 Application Programs Example Program for Excel 97 148...
Страница 149: ...7 Tutorial...
Страница 160: ...Chapter 7 Tutorial Remote Programming 160...
Страница 161: ...8 Specifications...
Страница 168: ...Chapter 8 Specifications Supplemental Characteristics 168 Figure 8 2 Dimensions for Rack mounting...
Страница 169: ...Appendix Service Information...
Страница 178: ...Appendix Service Information General Disassembly 178 General Disassembly...
Страница 210: ......