Transferring the logic analyzer acquired data
This program uses the SYSTem:DATA query to transfer acquired data to
your controller. It is useful for getting acquired data for setting up the logic
analyzer by the controller at a later time. This query differs from the
SYSTem:SETup query because it transfers only the acquired data.
This program also uses the SYSTem:DATA command to transfer the logic
analyzer data from the controller back to the logic analyzer and load the
analyzer with the acquired data. The SYSTem:DATA command differs from
the SYSTem:SETup command because it transfers both the configuration
and the acquired data.
You should always precede the SYSTem:DATA query and command with the
SYSTem:SETup query and command if the acquired data depends on a specific
configuration. If you are only interested in the acquired data for post
processing in the controller and the data is not dependent on the configuration,
you can use the SYSTem:DATA query and command alone.
10 ! ****************** DATA COMMAND AND QUERY EXAMPLE ********************
20 ! for the 1660-series logic analyzers
30 !
40 ! ********************* CREATE TRANSFER BUFFER *************************
50 ! Create a buffer lar ge enough for the bl ock data. See page 26 -1 for
55 ! maximum block length.
56 !
60 ASSIGN @Buff TO BUF FER [170000]
70 !
80 ! ************* *** INITIALIZE GPIB DEFAULT ADDR ESS ********** ***********
90 !
100 REAL Address
110 Address=707
120 ASSIGN @Comm TO Address
130 !
140 CLEAR SCREEN
150 !
160 ! ************* INTITIALIZE VARIABLE FOR NUMBER OF BYTES *****************
170 ! The variable "Numbytes" contains the number of bytes in the buffer.
180 !
190 REAL Numbytes
Programming Examples
Transferring the logic analyzer acquired data
36–17