Programmer’s Guide
4-5
Data Types and Encoding
Data Types
NOTE
This analyzer will send an additional <
C
R
> with EOI asserted for definite
block length transfers. The definite length block form for your analyzer
is:
#<num_digits><num_bytes><data_bytes><
C
R
><EOI>
.
<num_bytes>
is the number of
<data_bytes>
without counting
<
C
R
><EOI>
.
Indefinite Block Length
The general form for an indefinite block length transfer is:
#0<data_bytes><
C
R
><EOI>
After the last data byte is sent, the indefinite length block must be
terminated by sending a carriage return or newline with EOI asserted.
This forces the termination of the program message. An example IBASIC
(or HP BASIC) statement to send
ABC+XYZ
as an indefinite block length
parameter is shown; note that
END
is used to properly terminate the
message.
OUTPUT 716;"#0ABC+XYZ",END
NOTE
Files are transferred as indefinite length blocks.
Содержание 8712ES
Страница 11: ...1 1 1 Introduction to GPIB Programming ...
Страница 27: ...2 1 2 Synchronizing the Analyzer and a Controller ...
Страница 36: ...3 1 3 Passing Control ...
Страница 39: ...4 1 4 Data Types and Encoding ...
Страница 46: ...5 1 5 Using Status Registers ...
Страница 71: ...6 1 6 Trace Data Transfers ...
Страница 98: ...6 28 Programmer sGuide Trace Data Transfers Internal Measurement Arrays ...
Страница 99: ...7 1 7 Using Graphics ...
Страница 105: ...8 1 8 Front Panel Keycodes ...
Страница 111: ...9 1 9 Introduction to SCPI ...
Страница 129: ...10 1 10 Menu Map with SCPI Commands ...
Страница 268: ...12 1 12 SCPI Conformance Information ...
Страница 290: ...13 1 13 SCPI Error Messages ...