BTS Master Programming Manual : WCDMA Commands : :TRACe Subsystem
 
:TRACe Subsystem
This subsystem contains commands related to the transfer of trace data to and from the instrument.
:TRACe:PREamble? <trace type>
Title
Trace Header Transfer
Description
The <trace type> must be one of the following: 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 is returned as “NAME=VALUE[ UNITS],” Valid parameter names are shown in WCDMA Parameter Names.
Parameter
<trace type>
Related Command
:TRACe:DATA?
 
:TRACe[:DATA] ACLR|SPECtrum|EMISsion|DEMod,(<header><block>)
:TRACe[:DATA]? ACLR|SPECtrum|EMISsion|DEMod
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. Before executing this command the instrument must be set to the desired measurement.
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.
Parameter
ACLR|SPECtrum|EMISsion|DEMod,(<header><block>)
Parameter Type
<char>
Related Command
:FORMat:DATA
:TRACe[:DATA]:PREamble?