Table 6-3
Number of Trace Points
51
201
401
1601
Trace Data Transfers
Transferring Data with IBASIC
Transferring Data with IBASIC
If you are using IBASIC, your IBASIC program can avoid the overhead of
using OUTPUT and ENTER to transfer trace data, and instead use the
analyzer's built-in high-speed subprograms. These built-in subroutines
let you quickly move data between the analyzer's measurement arrays
and your program's data arrays. For example, to read the analyzer's
formatted data array, use the following:
10 DIM Fmt(1:201)
20 INTEGER Chan
30 LOADSUB Read_fdata FROM "XFER:MEM 0,0"
40 Chan=1
50 Read_fdata(Chan,Fmt(*))
Refer to the HP Instrument BASIC User's Handbook for more details.
The table below compares the speed of IBASIC using high-speed transfer
subroutines with that of a fast external controller using the SCPI
TRACE:DATA? CH1FDATA query.
High-Speed Trace Transfer Times
Controller Using Binary
6-10
TRACE:DATA?
(ms)
21
23
30
82
IBASIC Using
Read_fdata
(ms)
7
10
13
32
Programmer's Guide