![Agilent Technologies 8712ES Programmer'S Manual Download Page 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
Summary of Contents for 8712ES
Page 11: ...1 1 1 Introduction to GPIB Programming ...
Page 27: ...2 1 2 Synchronizing the Analyzer and a Controller ...
Page 36: ...3 1 3 Passing Control ...
Page 39: ...4 1 4 Data Types and Encoding ...
Page 46: ...5 1 5 Using Status Registers ...
Page 71: ...6 1 6 Trace Data Transfers ...
Page 98: ...6 28 Programmer sGuide Trace Data Transfers Internal Measurement Arrays ...
Page 99: ...7 1 7 Using Graphics ...
Page 105: ...8 1 8 Front Panel Keycodes ...
Page 111: ...9 1 9 Introduction to SCPI ...
Page 129: ...10 1 10 Menu Map with SCPI Commands ...
Page 268: ...12 1 12 SCPI Conformance Information ...
Page 290: ...13 1 13 SCPI Error Messages ...