5502A
Operators Manual
5-36
Response Message Syntax
The command descriptions in Chapter 6 tell you about the indications from the Calibrator
where applicable. To know what type of data to read in, see the first part of the entry in
the "Response" in the tables. The response is shown as one of the data types in
Table 5-10.
Table 5-10. 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 named Integer.
Example:
*ESE 123; *ESE?
returns:
123
Floating
Numbers that may have up to 15 significant figures plus an exponent
that can range from
±
E20.
Example:
DC_OFFSET?
returns:
1.4293E+00
String
ASCII characters with quotation mark delimiters.
Example:
SRQSTR “SRQ from 5502A”; SRQSTR?
returns:
“SRQ from 5502A”
Character Response Data
(CRD)
This type of response is always a keyword.
Example:
OUT 10V, 100HZ; FUNC?
returns:
ACV
Indefinite ASCII (IAD)
ASCII characters followed by EOM. Queries with this type of response
MUST be the last Query in a program message.
Example:
*OPT?
returns:
SC600
CAL reports and lists that have Line Feeds are typically of this type.
Summary of Contents for 5502A
Page 4: ......
Page 12: ...5502A Operators Manual xii ...
Page 46: ...5502A Operators Manual 2 2 ...
Page 52: ...5502A Operators Manual 2 8 ...
Page 54: ...5502A Operators Manual 3 2 ...
Page 142: ...5502A Operators Manual 4 68 ...
Page 194: ...5502A Operators Manual 6 2 ...
Page 240: ...5502A Operators Manual 7 2 ...
Page 260: ...5502A Operators Manual 7 22 ...
Page 262: ...5502A Operators Manual 8 2 ...
Page 365: ...B 1 Appendix B ASCII and IEEE 488 Bus Codes ...
Page 366: ...5502A Operators Manual B 2 ...
Page 368: ...5502A Operators Manual B 4 ...
Page 378: ...5502A Operators Manual D 6 ...