Chapter 15 — AM/FM/PM Commands 15-6 :TRACe Subsystem
MS2720T PM PN: 10580-00341 Rev. C 15-13
15-6 :TRACe Subsystem
This subsystem contains commands related to the transfer of trace data to and from the
instrument.
:TRACe[:DATA]?
Title: Trace Data Transfer
Description: This command transfers data from the controlling program to the
instrument. The query form transfers trace data from the instrument to
the controller. Data is transferred to the instrument enclosed in
parentheses as (<header><block>) and from the instrument as
<header><block>.
The ASCII header specifies the number of data bytes. It looks like #AX,
where A is the number of digits in X and X is the number of bytes in the
<block>. The format of the block data in the query form is specified by
:FORMat:DATA. The block data in the command form is always sent in
ASCII format.
To acquire the data from the trace in the instrument send
:TRACe[:DATA]?. A 551 point trace is returned as #42204<block data>.
<block> data could be in either INTeger,32 or REAL,32 format. In both
cases, there is 4 bytes per data point. So, 4 bytes per point * 551 data
points gives 2204 bytes in <block> data. This example assumes that
:FORMat:DATA INTeger,32 or :FORMat:DATA REAL,32 has been sent
to the instrument before the query command is sent.
The query command will return a #0 if data is invalid for the active
trace.
Related Command: :FORMat:DATA
ООО "Техэнком" Контрольно-измерительные приборы и оборудование www.tehencom.com