Chapter 3 Programming Your Counter for Remote Operation
Overview of Response Message Formats
3-24
Programming Guide
3
Table 3-3. Response Message Data Types (Continued)
Type
Description
<string>
A string response consists of ASCII characters enclosed by double quotes.
For example, string data is used for the “<error description>” portion of
:SYST:ERR? response and for [:SENS]:FUNC? response.
<definite length
block>
The syntax is a pound sign (#) followed by a non-zero digit representing the
number of digits in the subsequent decimal integer. The decimal integer specifies
the number of 8-bit data bytes being sent. This is followed by the actual data. The
terminator is a line feed asserted with EOI. For example, for transmitting 8 bytes
of data, the format might be:
The “2” indicates the number of digits that follow and the two digits “08” indicate
the number of
data bytes to be transmitted.
A zero-length block has the format: #0<new line>^EOI
<new line> is defined as a single ASCII-encoded byte corresponding to
10 decimal.
<new line>
<8 bytes of data>
2
# 08
^EOI
Terminator
Actual data
Number of digits
that follow
Number of bytes
to be transmitted
Содержание 53150A Series
Страница 1: ... Programming Guide HP 53150A 151A 152A Microwave Frequency Counter ...
Страница 2: ......
Страница 10: ...Contents x Programming Guide ...
Страница 11: ...1 Before You Start ...
Страница 20: ...Chapter 1 Before You Start Related Documentation 1 10 Programming Guide 1 ...
Страница 21: ...2 Command Summary A Quick Reference ...
Страница 41: ...3 Programming Your Counter for Remote Operation ...
Страница 100: ...Chapter 3 Programming Your Counter for Remote Operation Programming Examples 3 60 Programming Guide 3 ...
Страница 101: ...4 Command Reference A Dictionary ...
Страница 162: ...Chapter 4 Command Reference Common Commands 4 62 Programming Guide 4 ...
Страница 163: ...5 Errors ...
Страница 174: ...Chapter 5 Errors Error Types 5 12 Programming Guide 5 ...
Страница 184: ......
Страница 186: ... Manual Part Number 53150 90002 Printed in U S A NOVEMBER 1997 ...