
5820A
Operators Manual
5-36
5-41.
Response Message Syntax
In the command descriptions in Chapter 6, responses from the 5820A Calibrator are
described wherever appropriate. In order to know what type of data to read in, refer to the
first part of the entry under "Response" in the tables. The response is identified as one of
the data types in Table 5-11.
Table 5-11. Response Data Types
DATA TYPE
DESCRIPTION
Integer
Integers for some controllers or computers are decimal numbers in the range -32768 to
32768.
Responses in this range are labeled Integer.
Example:
*ESE 123; *ESE?
returns:
123
Floating
Numbers that may have up to 15 significant figures plus an exponent that may range
from
±
E20.
Example:
DC_OFFSET?
returns:
1.4293E+00
String
Any ASCII characters including quotation mark delimiters.
Example:
SRQSTR ”SRQ from 5820A”; SRQSTR?
returns:
”SRQ from 5820A”
Character
Response
Data (CRD)
This type of response is always a keyword.
Example:
SCOPE MARKER ; SCOPE?
returns:
ACV
Indefinite
ASCII (IAD)
Any ASCII characters followed by EOM. Queries with this type of response MUST be the
last Query in a program message.
Example:
*OPT?
returns:
5820A-5
CAL reports and lists which contains Line Feeds are typically of this type.
Binary Block
Data
A special data type defined by the IEEE-488.2 standard. This type is used in
*PUD?
query. It is defined as follows:
#(non-zero digit) (digits) (user data)
The non-zero digit specifies the number of characters that will follow in the <digits> field.
Characters allowed in the digits field are 0 through 9 (ASCII 48 through 57 decimal). The
value of the number in the <digits> field in decimal defines the number of user data bytes
that follow in the <user data> field. The maximum response is 64 characters.
Example:
*PUD “test1”; *PUD?
returns:
#205test1
Содержание 5820A
Страница 10: ...5820A Operators Manual vi ...
Страница 14: ...5820A Operators Manual x ...
Страница 16: ...5820A Operators Manual 1 2 ...
Страница 32: ...5820A Operators Manual 2 2 ...
Страница 40: ......
Страница 144: ...5820A Operators Manual 6 2 ...
Страница 190: ......
Страница 212: ...5820A Operators Manual 7 24 ...
Страница 214: ...5820A Operators Manual 8 2 ...
Страница 230: ...5820A Operators Manual 9 2 ...
Страница 234: ...5820A Operators Manual ...
Страница 244: ...5820A Operators Manual A 10 ...
Страница 245: ...B 1 Appendix B ASCII and IEEE 488 Bus Codes ...
Страница 246: ...5820A Operators Manual B 2 ...
Страница 248: ...5820A Operators Manual B 4 ...
Страница 250: ...5820A Operators Manual C 2 ...
Страница 258: ...5820A Operators Manual E 4 ...
Страница 264: ...5820A Operators Manual F 6 ...
Страница 272: ...5820A Operators Manual 8 ...