![Agilent Technologies 8712ES Скачать руководство пользователя страница 89](http://html.mh-extra.com/html/agilent-technologies/8712es/8712es_programmers-manual_2867956089.webp)
Programmer’s Guide
6-19
Trace Data Transfers
Performing Your Own Data Processing
The program below demonstrates how to perform data post-processing. It
takes the measurement data and reverses it, such that the low frequency
data is displayed on the right end of the trace, and the high frequency
data is displayed on the left.
100
! Display the measurement data backwards
110
REAL Fmt(1:201)
120
ASSIGN @Hp8711 TO 716
130
!
140
OUTPUT @Hp8711;"FORM:DATA ASCII"
150
OUTPUT @Hp8711;"ABOR;INIT:CONT OFF;*WAI"
160
OUTPUT @Hp8711;"DISP:WIND:TRAC1 OFF;TRAC2 ON"
170
LOOP
180
! Take sweep
190
OUTPUT @Hp8711;"INIT1;*WAI"
200
! Read the trace from the formatted data array
210
OUTPUT @Hp8711;"TRACE:DATA? CH1FDATA"
220
ENTER @Hp8711;Fmt(*)
230
! Download the trace, backwards,
235
! to the formatted memory array
240
OUTPUT @Hp8711;"TRACE:DATA CH1FMEM";
! Note the ";"
250
FOR Pt=1 TO 201
260
OUTPUT @Hp8711;",";Fmt(202-Pt);
! Note the ";"
270
NEXT Pt
280
OUTPUT @Hp8711;""
! Send linefeed
290
END LOOP
This example program uses ASCII trace data transfers. Higher speed
can be achieved using binary data transfers. If using IBASIC, high-speed
subroutines can be used for even greater performance. Refer to the
IBASIC Handbook for details.
Содержание 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 ...