Send/query trace data (remote command only) – Agilent Technologies Signal Analyzer N9030a User Manual

Page 1387

Advertising
background image

6  RLC Swept SA Measurement Front-Panel & SCPI Reference

Trace/Detector

Send/Query Trace Data (Remote Command Only)

This command allows trace data to be sent to the instrument or queried from the instrument. The
response to the query is a list of the amplitude points that comprise the requested trace in the
current Y Axis Unit of the instrument. The X Axis Unit is that of the destination trace (for send)
or the source trace (for query).

See

"Query Trace Data" on page 1387

.

See

"More Information" on page 1388

.

Remote Command

:TRACe[:DATA] TRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6,
<data>

Notes

The TRACe[:DATA] command is of the form:

:TRACe:DATA <trace>,<data>

where <trace> can be one of the following parameters:

TRACE1,TRACE2,TRACE3,TRACE4,TRACE5,TRACE6

and where <data> can be

- ASCII data, which consists of a string of values separated by comma

or

- REAL or INTeger sent as a definite length block, with a header describing the data to follow.

Couplings

Sweep points affect the amount of data.

The FORMat:DATA command describes the different types of data formats that can be used with
trace data (see

"Format Data: Numeric Data (Remote Command Only)" on page 124

).

Use the FORMat:BORDer command to set the byte order (see

"Format Data: Byte Order (Remote

Command Only)" on page 125

).

Initial S/W Revision

Prior to A.02.00

Query Trace Data

Remote Command

:TRACe[:DATA]? TRACE1 | TRACE2 | TRACE3 | TRACE4 | TRACE5 | TRACE6

Example

TRAC TRACE1, –1, –2, –3, –4, –5

Sends five points to Trace 1. Assuming that FORMat:DATA is set to ASCII, Y Axis Unit is set to
dBm, and sweep points is set to 5, sending this command results in Trace 1 consisting of the
five points –1 dBm, –2 dBm, –3 dBm, –4 dBm, and –5 dBm.

TRAC? TRACE2

Queries the instrument for the contents of trace 2.

Backwards
Compatibility SCPI

In the X-Series, the legacy RAWTRACE,LLINE1,LLINE2 parameters for trace data query are no
longer available.

Initial S/W Revision

Prior to A.02.00

Remote Language Compatibility Measurement Application Reference

1387

Advertising