Instructions
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
RSA3000E Programming Guide 2-11
:CALCulate:LLINe<n>:MARGin
Syntax
:CALCulate:LLINe<n>:MARGin <rel_ampl>
:CALCulate:LLINe<n>:MARGin?
Description
Sets the margin for the selected limit line.
Queries the margin for the selected limit line.
Parameter
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6
——
<rel_ampl>
Consecutive Real Number
-40 dB to 0 dB
0 dB
Return Format
The query returns the margin for the limit line in scientific notation.
Example
The following command sets the margin for Limit Line 2 to 1 dB.
:CALCulate:LLINe2:MARGin 1 dB
The following query returns 1.000000e+00.
:CALCulate:LLINe2:MARGin?
:CALCulate:LLINe<n>:MARGin:STATe
Syntax
:CALCulate:LLINe<n>:MARGin:STATe OFF|ON|0|1
:CALCulate:LLINe<n>:MARGin:STATe?
Description
Enables or disables the margin for the selected limit line.
Queries the status of the margin for the selected limit line.
Parameter
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6
——
——
Bool
OFF|ON|0|1
OFF|0
Return Format
The query returns 0 or 1.
Example
The following command turns on the margin for Limit Line 2.
:CALCulate:LLINe2:MARGin:STATe ON or :CALCulate:LLINe2:MARGin:STATe 1
The following query returns 1.
:CALCulate:LLINe2:MARGin:STATe?