Instructions

Table Of Contents
Chapter 2 Command System RIGOL
RSA5000 Programming Guide 2-39
Remarks
PDIFference: indicates the power difference between Operand 1 and Operand 2.
PSUM: indicates the power sum between Operand 1 and Operand 2.
LOFFset: indicates the sum between Operand 1 and the offset parameter <rel_offset>.
LMOFFset: indicates the difference between Operand 1 and the offset parameter <rel_offset>.
LDIFference: indicates that Operand 1 (Op1) minus Operand 2 (Op2), and then plus the reference
parameter value <rel_reference>.
OFF: disables the operation function.
<rel_offset> indicates the log offset, and its unit is dB; <rel_reference> indicates the log reference, and its
unit is dBm.
For certain operation, if some parameters are irrelevant in the operation, you can replace these parameters
with ",," in the command. The returned parameters are separated by commas. The returned results of the
irrelevant parameters are undefined. The empty fields are replaced by ",,".
Return Format
The query returns the operation function of the specified trace, namely, PDIF, PSUM, LOFF, LMOFF, LDIF, or
OFF.
Example
The following command sets Trace 1 to the power difference math operation, and sets Operand Trace 1 to
Trace 4 and Operand Trace 2 to Trace 5.
:CALCulate:MATH TRACE1,PDIFference,TRACE4,TRACE5,,
The following query returns PDIFference.
:CALCulate:MATH? TRACE1
:CALCulate:NTData[:STATe]
Syntax
:CALCulate:NTData[:STATe] OFF|ON|0|1
:CALCulate:NTData[:STATe]?
Description
Enables or disables the normalize function.
Queries the status of normalization.
Parameter
Name
Type
Range
Default
——
Bool
OFF|ON|0|1
OFF|0
Remarks
This command is only available for RSA5065-TG/RSA5032-TG working in GPSA mode.
This command is only valid when the tracking generator function is enabled.
Return Format
The query returns 0 or 1.
Example
The following command enables normalization.
:CALCulate:NTData:STATe ON or :CALCulate:NTData:STATe 1
The following query returns 1.
:CALCulate:NTData:STATe?