![Agilent Technologies 8712ES Скачать руководство пользователя страница 76](http://html.mh-extra.com/html/agilent-technologies/8712es/8712es_programmers-manual_2867956076.webp)
6-6
Programmer’s Guide
Trace Data Transfers
Using Binary Data Encoding
Using Binary Data Encoding
The previous section describes how to query the measurement trace, and
transfer it into your program using ASCII encoding. Binary encoding can
be used for faster data transfers, as shown in the table below:
Table 6-1
Trace Transfer Times (typical)
When using binary data transfers, the entire trace is sent from the
analyzer to your program in a block called a definite length block. The
details of block data are described in detail in
The definite length block contains a header and a data
section. The header indicates how many bytes are in the data section.
In order to read the definite length block, your program must first read
the header, and then read the data section. Refer to the example program
REALDATA in the Example Programs Guide for an example of how to do
this.
In the REALDATA program, you will notice the following lines which
read the definite block header:
180
ENTER @Hp8711 USING "%,A,D";A$,Digits
190
ENTER @Hp8711 USING "%,"&VAL$(Digits)&"D";Bytes
and these lines which read the data section:
200
ASSIGN @Hp8711;FORMAT OFF
210
ENTER @Hp8711;Data1(*)
Number
of Trace
Points
Transfer Times (ms)
Binary
Transfer
ASCII
Transfer
51
21
47
201
23
164
401
30
314
1601
82
1200
Содержание 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 ...