Spectrum Master™ Programming Manual : 3 Remote Commands : Trace Subsystem

Trace Subsystem
This subsystem contains commands related to the transfer of trace data to and from the instrument.
Trace Data Transfer
:TRACe[:DATA] ACLR|SPECtrum|EMISsion|DEMod,
(<header><block>)
:TRACe[:DATA]? ACLR|SPECtrum|EMISsion|DEMod
This command transfers data from the controlling program to the instrument. The query form transfers trace data from the instrument to the controller.
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 number of bytes in the block is calculated by multiplying the number of data points by the number of bytes used to transfer each data point. Also note that the second argument must be enclosed in parentheses.
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.
Trace setup information can be acquired using :TRACe[:DATA]:PREamble?.
Data can be transferred to and from the 4 available display types. Use the commands in the MMEMory subsystem to store and recall traces from the instrument memory.
This command does not support setting all trace points to a single value. To do this, send the same value to each point.
For RF traces (ACLR, Spectrum and EMISsion), there is only one value per data point.
For example, to transfer a 501 point trace from the controlling program to the ACLR trace in the instrument the command :TRACe:DATA ACLR,(#42004<block>) would be sent. <block> data could be in either INTeger,32 or REAL,32 format. In both cases, there would be 4 bytes per data point. So, 4 bytes per point * 501 data points gives 2004 bytes in <block> data.
For the demodulated code domain power trace, each data point is represented by 6 values of 4 bytes each: code number (no units), absolute power (dBm), relative power (dB), spreading factor (no units), symbol EVM (%), code state( 0 = Inactive, 1 = Active). If Option 65 is installed code state will indicate the modulation type (0 = Noise, 1 = QPSK, 2 = 16_QAM).
Note that the instrument must be set in the selected view. Use the CONFigure command to set the unit to the selected view.
 
 
Trace Header Transfer
:TRACe:PREamble? ACLR|SPECtrum|EMISsion|DEMod
Returns trace header information for the specified trace.
Data can be transferred to and from the 4 available display trace types. Use the commands in the MMEMory subsystem to store and recall traces from the instrument memory.
The response begins with an ASCII header. The header specifies the number of following bytes. It looks like #AX, where A is the number of digits in X and X is the number of bytes that follow the header.
Parameters are returned in comma-delimited ASCII format. Each parameter will be returned as “NAME=VALUE[ UNITS],”
Valid parameter names are:
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Copyright 2011 Anritsu Company
Anritsu Company
1800-ANRITSU
10450-00034, Rev. A
mmdtechpubs@anritsu.com