
Remote Operation
Input Buffer Operation
5
5-11
Table 5-3. Response Data Types
Data Type
Description
Integer
Integers for some controllers or computers are decimal numbers in the range -32768
to 32767.
Responses in this range are labeled Integer.
Example:
CMD: *ESE 123; *ESE?
RESP: 123
Floating
Numbers that may have up to 15 significant figures plus an exponent that may range
from +/-E20.
Example:
CMD: CAL_CONST? FREQ_G
RESP: +1.00014137700
String
Any ASCII characters including quotation mark
Example:
CMD: RPTSTR "Hello World"; RPTSTR?
RESP: "Hello World"
Character
Response Data
(CRD)
This type of response is always a keyword such as PPM, PCT, and RATIO.
Example:
CMD: DUNIT PPM;DUNIT?
RESP: PPM
Indefinite ASCII
(IAD)
Any ASCII characters followed by EOM. (EOM is an IEEE-488 bus message.)
Queries with this type of response MUST be the last query in a program message.
Example:
CMD: *OPT?
RESP: WBND
CMD: *OPT?;*ESE?
RESP: <none>
ERR? = 1310,"488.2 Query After Indefinite Response"
CMDSTR? = "*opt?;*ese?\n"
CAL reports and lists which contains NEWLINE's
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:
CMD: *PUD "test1"; *PUD?
RESP: #40005test?
Содержание 5790A
Страница 4: ......
Страница 12: ...5790A Operators Manual vi...
Страница 14: ...5790A Operators Manual viii...
Страница 16: ...5790A Operators Manual 1 2...
Страница 34: ...5790A Operators Manual 2 2...
Страница 40: ...5790A Operators Manual 2 8...
Страница 41: ...3 1 Chapter 3 Features Title Page 3 1 Introduction 3 3 3 2 Front Panel Features 3 3 3 3 Rear Panel Features 3 3...
Страница 42: ...5790A Operators Manual 3 2...
Страница 48: ...5790A Operators Manual 3 8...
Страница 108: ...5790A Operators Manual 6 2...
Страница 146: ...5790A Operators Manual 7 2...
Страница 164: ...5790A Operators Manual 7 20...
Страница 166: ...5790A Operators Manual 8 2...
Страница 170: ...5790A Operators Manual 8 6...
Страница 172: ...5790A Operators Manual 9 2...
Страница 176: ...5790A Operators Manual...
Страница 185: ...B 1 Appendix B ASCII and IEEE 488 Bus Codes...
Страница 186: ...5790A Operators Manual B 2...
Страница 187: ...Appendices ASCII and IEEE 488 Bus Codes B B 3...
Страница 188: ...5790A Operators Manual B 4...
Страница 204: ...5790A Operators Manual C 16...
Страница 210: ...5790A Operators Manual D 6...