Data Types
These paragraphs explain the data types available for parameters and
response data. They list the types available and present examples for
each type. SCPI defines different data formats for use in program
messages and response messages. It does this to accommodate
the principle of forgiving listening and precise talking. Recall
that forgiving listening means instruments are flexible, accepting
commands and parameters in various formats. Precise talking means
an instrument always responds to a particular query in a predefined,
rigid format. Parameter data types are designed to be flexible in
the spirit of forgiving listening. Conversely, response data types are
defined to meet the requirements of precise talking.
Table 1-3.
Data Types
Parameter Types
Response Data Types
Numeric
Extended Numeric
Real or Integer
Integer
Discrete
Discrete
Boolean
I Numeric Boolean
I
String
String
Block
Definite Length Block
Indefinite Length Block
Non-decimal Numeric Hexadecimal
Octal
Binary
Notice that each parameter type has one or more corresponding
response data types. For example, a setting that you program using
a numeric parameter returns either real or integer response data
when queried. Whether real or integer response data is returned
depends on the instrument used. However, precise talking requires
that the response data type be clearly defined for a particular
instrument and query. The instrument command dictionary generally
contains information about data types for individual commands. The
following paragraphs explain each parameter and response data type
in more detail.
Parameter Types
Numeric Parameters.
Numeric parameters are used in both
subsystem commands and common commands. Numeric parameters
accept all commonly used decimal representations of numbers
including optional signs, decimal points, and scientific notation.
If an instrument setting programmed with a numeric parameter can
only assume a finite number of values, the instrument automatically
Getting Started Programming 1-83
Содержание HP 8360 L Series
Страница 134: ...L 2i D u o ov P D P D cn B j g z e VJ g d m 5 ...
Страница 215: ...HP IB Menu See Also CONNECTORS HP IB Getting Started Programming in Chapter 1 H 2 Operating and Programming Reference ...
Страница 347: ...Menu Maps Menu Maps 2b 1 ...
Страница 348: ......
Страница 349: ......
Страница 350: ......
Страница 351: ......
Страница 352: ......
Страница 353: ......
Страница 354: ......
Страница 355: ......
Страница 356: ......
Страница 405: ...5 Instrument History This chapter is left blank until this manual requires changes Instrument History 5 l ...