CALCulate<Chn>:LIMit...    Related Topics

This subsystem defines the limit lines and controls the limit check.

 

Command tree: CALCulate<Chn>:LIMit

:CONTrol

[:DATA]

:DOMain

:SHIFt

:DATA

:DELete

:ALL

:DISPlay

[:STATe]

:FAIL?

:LOWer

[:DATA]

:FEED

:SHIFt

:STATe

:RDOMain

:COMPlex

:FORMat

:SPACing

:SEGMent

:AMPlitude

:STARt

:STOP

:STIMulus

:STARt

:STOP

:TYPE

:SOUNd

[:STATe]

:TTLout<Output_no>

[:STATe]

:STATe

:UPPer

[:DATA]

:FEED

:SHIFt

:STATe

 


CALCulate<Chn>:LIMit:CONTrol[:DATA] <numeric_value>,<numeric_value>{,<numeric_value>,<numeric_value>}

Defines the stimulus values of the limit line and/or creates new limit line segments.

Rules for creating segments

The following rules apply to an active trace with n existing limit line segments:

The generated segments are upper or lower limit line segments, depending on the CALCulate<Chn>:LIMit:SEGMent<Seg>:TYPE setting. CALCulate<Chn>:LIMit:CONTrol[:DATA] does not overwrite the type setting.

To define additional new limit line segments without overwriting the old segments use CALCulate<Chn>:LIMit:DATA.

<Chn>

Channel number used to identify the active trace.

 

<numeric_value>

Pair(s) of frequency, power or time values, to be defined in accordance with the domain setting (CALCulate<Chn>:LIMit:CONTrol:DOMain).

Range [def. unit]

Almost no restriction for limit segments; see Rules for Limit Line Definition. [Hz for frequency sweeps, dBm for power sweeps, s for time sweeps]

*RST value

A segment that is created implicitly, e.g. by means of CALCulate<Chn>:LIMit:UPPer[:DATA] or CALCulate<Chn>:LIMit:LOWer[:DATA,], covers the maximum sweep range of the analyzer.  

 

SCPI, Command Types

Confirmed, with query.

 

Example:

*RST; :CALC:LIM:CONT 1 GHZ, 2 GHZ

Define an upper limit line segment in the stimulus range between 1 GHz and 2 GHz, using default response values.

CALC:LIM:DISP ON

Show the limit line segment in the active diagram.

 

 


CALCulate<Chn>:LIMit:CONTrol:DOMain
FLIN | FLOG | FSEG | FSINgle | TLIN | TLOG | PLIN | PLOG | PSINgle

Deletes the existing limit line and (re-)defines the physical units of the stimulus values of the limit line. The units of the response values and the scaling of the y-axis are defined via CALCulate<Chn>:LIMit:RDOMain:...

<Chn>

Channel number used to identify the active trace.

 

Parameters

Keywords for the units of the stimulus values.

The selected unit must be compatible with the sweep type ([SENSe<Ch>:]SWEep:TYPE); otherwise the limit line can not be displayed and no limit check is possible.

Range [def. unit]

The parameters form three groups:

  • FLIN, FLOG, FSEG, and FSINgle select frequency units [default: Hz] for the limit line.

  • TLIN and TLOG select time units [default: s].

  • PLIN, PLOG and PSINgle select power units [default: dBm].

*RST value

FLIN

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

SWE:TYPE POW

Select a power sweep.

CALC:LIM:CONT:DOM PLIN

Delete all existing limit line segments and select level units for the limit line of the active trace.

CALC:LIM:CONT -20 DBM, -10 DBM

Define a limit line segment in the stimulus range between –20 dBm and –10 dBm.  

 

 


CALCulate<Chn>:LIMit:CONTrol:SHIFt <numeric_value>

Shifts the limit line in horizontal direction.

<Chn>

Channel number used to identify the active trace.

 

<numeric_value>

Amount that the limit line is shifted.

Range [def. unit]

Almost no restriction for limit segments; see Rules for Limit Line Definition. [Hz for frequency sweeps, dBm for power sweeps, s for time sweeps, see CALCulate<Chn>:LIMit:CONTrol:DOMain]

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

*RST; :CALC:LIM:CONT 1 GHZ, 2 GHZ

Define a limit line segment in the stimulus range between 1 GHz and 2 GHz, using default response values.

CALC:LIM:CONT:SHIF 1; :CALC:LIM:CONT?

Shift the segment by 1 Hz. The modified limit line segment extends from 1000000001 (Hz) to 2000000001 (Hz).

 

 


CALCulate<Chn>:LIMit:DATA <type>, <start_stim>, <stop_stim>, <start_resp>, <stop_resp>{,<type>, <start_stim>, <stop_stim>, <start_resp>, <stop_resp>}

Defines the limit line type, the stimulus and response values for a limit line with an arbitrary number of limit line segments.

In contrast to CALCulate<Chn>:LIMit:CONTrol[:DATA], this command does not overwrite existing limit line segments. The defined segments are appended to the segment list as new segments.

<Chn>

Channel number used to identify the active trace.

 

<type>

Identifier for the type of the limit line segment.

Range [def. unit]

0 – Limit line segment off, segment defined but no limit check performed
1
– Upper limit line segment
2
– Lower limit line segment

<start_stim>,
<stop_stim>,
<start_resp>,
<stop_resp>

Stimulus and response values of the first and last points of the limit line segment.

Range [def. unit]

Almost no restriction for limit segments; see Rules for Limit Line Definition. [Hz for frequency sweeps, dBm for power sweeps, s for time sweeps, see CALCulate<Chn>:LIMit:CONTrol:DOMain]  

*RST values

– (no limit line defined after *RST)  

 

SCPI, Command Types

Device-specific, with query.

 

Example:

*RST; :CALC:LIM:CONT 1 GHZ, 1.5 GHZ

Define an upper limit line segment in the stimulus range between 1 GHz and 1.5 GHz, using default response values.

CALC:LIM:DATA 1,1500000000, 2000000000,2,3

Define an upper limit line segment in the stimulus range between 1.5 GHz and 2 GHz, assigning response values of +2 dBm and +3 dBm.

CALC:LIM:DISP ON

Show the limit line segment in the active diagram.

 

 


CALCulate<Chn>:LIMit:DELete:ALL

Deletes all limit line segments.  

<Chn>

Channel number used to identify the active trace.

 

*RST value

SCPI, Command Types

Device-specific, no query.

 

Example:

*RST; :CALC:LIM:CONT 1 GHZ, 1.5 GHZ

Define an upper limit line segment in the stimulus range between 1 GHz and 1.5 GHz, using default response values.

CALC:LIM:DATA 1,1500000000, 2000000000,2,3

Define an upper limit line segment in the stimulus range between 1.5 GHz and 2 GHz, assigning response values of +2 dBm and +3 dBm.

CALC:LIM:DEL:ALL

Delete both created limit line segments.

 

 


CALCulate<Chn>:LIMit:DISPlay[:STATe] <Boolean>

Displays or hides the entire limit line (including all segments) associated to the active trace.

<Chn>

Channel number used to identify the active trace.  

 

<Boolean>

ON | OFF - Limit line on or off.  

*RST value

OFF  

 

SCPI, Command Types

Device-specific, command or query.  

 

Example:

*RST; :CALC:LIM:CONT 1 GHZ, 2 GHZ

Define an upper limit line segment in the stimulus range between 1 GHz and 2 GHz, using default response values.

CALC:LIM:DISP ON

Show the limit line segment in the active diagram.

 

 


CALCulate<Chn>:LIMit:FAIL?

Returns a 0 or 1 to indicate whether or not the limit check has failed.

Use CALCulate<Chn>:CLIMits:FAIL? to perform a composite (global) limit check.

In remote control, the limit check result is calculated once at the end of each sweep. If the limit lines are changed, a new sweep is required to obtain updated limit check results. In single sweep mode (INITiate<Ch>:CONTinuous OFF), the new sweep must be started explicitly using INITiate<Ch>[:IMMediate]:SCOPe ALL | SINGle. This behavior is different from manual control where a changed limit line can directly affect the pass/fail result of the displayed trace.  

<Chn>

Channel number used to identify the active trace.  

 

Response

0 | 1 - 0 represents pass, 1 represents fail.

*RST value

0

 

SCPI, Command Types

Confirmed, query only.  

 

Example:

*RST; :CALC:LIM:CONT 1 GHZ, 2 GHZ

Define an upper limit line segment in the stimulus range between 1 GHz and 2 GHz, using default response values.

CALC:LIM:STAT ON; FAIL?

Switch the limit check on and query the result.  

 

 


CALCulate<Chn>:LIMit:LOWer[:DATA] <numeric_value>,<numeric_value>{,<numeric_value>,<numeric_value>}

Defines the response (y-axis) values of the lower limit line and/or creates new limit line segments.

The commands CALCulate<Chn>:LIMit:LOWer[:DATA] and CALCulate<Chn>:LIMit:UPPer[:DATA] use a fixed numbering scheme for limit line segments: Upper limit line segments are assigned odd numbers (1, 3, 5,...), lower limit line segments are assigned even numbers (2, 4, 6,...).  

Rules for creating segments

The following rules apply to an active trace with n existing upper and n existing lower limit line segments:

<Chn>

Channel number used to identify the active trace.

 

<numeric_value>

Pair(s) of response values.

Range [def. unit]

Almost no restriction for limit segments; see Rules for Limit Line Definition. [dB]

*RST value

The response value of a segment that is created implicitly, e.g. an upper limit line segment, is –20 dB.  

 

SCPI, Command Types

Confirmed, with query.

 

Example:

CALC:LIM:LOW -10, 0, 0, -10

Define the following lower and (default) upper limit line segments:

CALC:LIM:DISP ON

Show the limit line segments in the active diagram.

 

 


CALCulate<Chn>:LIMit:LOWer:FEED <stimulus_offset>,<response_offset>[,<trace_name>]

Generates a lower limit line using the stimulus values of a data or memory trace and specified offset values.  

<Chn>

Channel number used to identify the active trace. This trace provides the stimulus data for the limit line unless another trace <trace_name> is specified.

 

<stimulus_offset>

Stimulus offset value, used to shift all imported limit line segments in horizontal direction.

 

Range [def. unit]

-1000 GHz to +1000 GHz [Hz]

*RST value

0 Hz

 

<response_offset>

Response offset value, used to shift all imported limit line segments in vertical direction.

Range [def. unit]

-1012 dB to +1012 dB [dB]

*RST value

0 dB

<trace_name>

Name of the selected trace as used e.g. in CALCulate<Ch>:PARameter:SDEFine. If no trace name is specified the analyzer uses the active trace no. <Chn>.

 

SCPI, Command Types

Device-specific, no query.

 

Example:

CALC:LIM:LOW:FEED 1 GHZ, -10

Use the stimulus values of the active trace, shifted by 1 GHz to the right and decreased by 10 dB, to create a lower limit line.

CALC:LIM:LOW:SHIF -3; :CALC:LIM:CONT:SHIF 1 GHz

Shift the limit line by an additional –3 dB in vertical and by 1 GHz in horizontal direction. If an upper limit line exists it is also shifted.

 

 


CALCulate<Chn>:LIMit:LOWer:SHIFt <numeric_value>

Shifts all lower and upper limit line segments assigned to the active trace in vertical direction.  

This command is identical with CALCulate<Chn>:LIMit:UPPer:SHIFt.

<Chn>

Channel number used to identify the active trace.  

 

<numeric_value>

Response offset value for all limit line segments.

Range [def. unit]

Almost no restriction for limit segments; see Rules for Limit Line Definition. [dB]

*RST value

 

SCPI, Command Types

Device-specific, no query.

 

Example:

See CALCulate<Chn>:LIMit:LOWer:FEED.

 

 


CALCulate<Chn>:LIMit:LOWer:STATe <Boolean>

Switches the lower limit check on or off. Lower limit line segments are assigned even numbers; see CALCulate<Chn>:LIMit:LOWer[:DATA]. The command does not affect segments with odd numbers.

Use CALCulate<Chn>:LIMit:STATe to switch on or off the entire limit check, including upper and lower limit lines.

<Chn>

Channel number used to identify the active trace.  

 

<Boolean>

ON | OFF - Limit check on or off.

*RST value

OFF

 

SCPI, Command Types

Confirmed, command or query.  

 

Example:

CALC:LIM:LOW -10, 0, 0, -10

Define the following lower and (default) upper limit line segments:

 

CALC:LIM:LOW:STAT ON; CALC:LIM:FAIL?

Switch the limit check on and query the result.  

 

 


CALCulate<Chn>:LIMit:RDOMain:COMPlex
S | SINV | Y | Z | YREL | ZREL

Deletes the existing limit line and (re-)defines the physical units of the response values of the limit line. The units of the stimulus values are defined via CALCulate<Chn>:LIMit:CONTrol:DOMain.

This command is complemented by CALCulate<Chn>:LIMit:RDOMain:FORMat and CALCulate<Chn>:LIMit:RDOMain:SPACing.

<Chn>

Channel number used to identify the active trace.

 

Parameters

Keyword for the physical unit of the response values.

Range [def. unit]

The parameters form four groups:

  • S and SINV select relative units (dB) for the limit line.

  • Y selects admittance units (S/Siemens).

  • Z selects impedance units (Ω).

  • YREL and ZREL select dimensionless numbers (U).

[–]

*RST value

–  

 

SCPI, Command Types

Device-specific, no query.  

 

 


CALCulate<Chn>:LIMit:RDOMain:FORMat
COMPlex | MAGNitude | PHASe | REAL | IMAGinary | SWR | GDELay | L | C

Deletes the existing limit line and (re-)defines the physical units of the response values of the limit line. The units of the stimulus values are defined via CALCulate<Chn>:LIMit:CONTrol:DOMain.

This command is complemented by CALCulate<Chn>:LIMit:RDOMain:COMPlex and CALCulate<Chn>:LIMit:RDOMain:SPACing.

<Chn>

Channel number used to identify the active trace.

 

Parameters

Keyword for the physical unit of the response values.

Range [def. unit]

The parameters form four groups:

  • COMPlex, REAL, IMAGinary, and SWR select dimensionless numbers (U) for the limit line.

  • MAGNitude selects relative units (dB).

  • PHASe selects phase units (deg).

  • GDELay selects time units (s).

  • L selects inductance units (H/Henry).

  • C selects capacitance units (F/Farad).

[–]

*RST value

 

SCPI, Command Types

Device-specific, no query.

 

 


CALCulate<Chn>:LIMit:RDOMain:SPACing
LINear | LOGarithmic | dB | SIC

Deletes the existing limit line and (re-)defines the physical units of the response values of the limit line. The units of the stimulus values are defined via CALCulate<Chn>:LIMit:CONTrol:DOMain.

This command is complemented by CALCulate<Chn>:LIMit:RDOMain:COMPlex and CALCulate<Chn>:LIMit:RDOMain:FORMat.

<Chn>

Channel number used to identify the active trace.

 

Parameters

Keyword for the physical unit of the response values.

Range [def. unit]

The analyzer uses dB units, irrespective of the parameter selected.
[–]

*RST value

 

SCPI, Command Types

Device-specific, no query.

 

 


CALCulate<Chn>:LIMit:SEGMent<Seg>:AMPLitude:STARt <numeric_value>

Changes the start response value (i.e. the response value assigned to the start stimulus value) of a limit line segment. A segment must be created first to enable this command (e.g CALC:LIM:DATA).

To define the response values of several limit line segments with a single command, use CALCulate<Chn>:LIMit:LOWer[:DATA] or CALCulate<Chn>:LIMit:UPPer[:DATA].

<Chn>

Channel number used to identify the active trace.

 

<Seg>

Segment number

 

<numeric_value>

Response value

Range [def. unit]

Almost no restriction for limit segments; see Rules for Limit Line Definition.
[dB]

*RST value

The default response values of a segment that is created by defining its stimulus values only (e.g. by means of CALCulate<Chn>:LIMit:CONTrol[:DATA]), is –20 dB.

 

SCPI, Command Types

Device-specific, with query.

 

Example:

CALC:LIM:DATA 1,1500000000, 2000000000,2,3

Define an upper limit line segment (segment no. 1) in the stimulus range between 1.5 GHz and 2 GHz, assigning response values of +2 dBm and +3 dBm.

:CALC:LIM:SEGM:AMPL:STAR 5; STOP 5; :CALC:LIM:SEGM:TYPE LMIN

Change the segment to a lower limit line segment with a constant response value of +5 dB.

CALC:LIM:DATA?

Query the type, the stimulus and response values of the created segment with a single command. The response is 2,1000000,2000000,5,5.

 

 


CALCulate<Chn>:LIMit:SEGMent<Seg>:AMPLitude:STOP <numeric_value>

Changes the stop response value (i.e. the response value assigned to the stop stimulus value) of a limit line segment. A segment must be created first to enable this command (e.g CALC:LIM:DATA).

To define the response values of several limit line segments with a single command, use CALCulate<Chn>:LIMit:LOWer[:DATA] or CALCulate<Chn>:LIMit:UPPer[:DATA].

<Chn>

Channel number used to identify the active trace.

 

<Seg>

Segment number

 

<numeric_value>

Response value

Range [def. unit]

Almost no restriction for limit segments; see Rules for Limit Line Definition.
[dB]

*RST value

The default response values of a segment that is created by defining its stimulus values only (e.g. by means of CALCulate<Chn>:LIMit:CONTrol[:DATA]), is –20 dB.

 

SCPI, Command Types

Device-specific, with query.

 

Example:

See CALCulate<Chn>:LIMit:SEGMent<Seg>:AMPlitude:STARt.  

 

 


CALCulate<Chn>:LIMit:SEGMent<Seg>:COUNt?

Queries the number of limit line segments.

<Chn>

Channel number used to identify the active trace.  

 

<Seg>

Limit line segment number. This suffix is ignored; the command counts all ranges.

Response

0 | 1 | ...- number of (enabled or disabled)) limit line segments.

*RST value

0

 

SCPI, Command Types

Device-specific, query only.  

 

Example:

CALC:LIM:DATA 1,1500000000, 2000000000,2,3

Define an upper limit line segment (segment no. 1) in the stimulus range between 1.5 GHz and 2 GHz, assigning response values of +2 dBm and +3 dBm.

CALC:LIM:SEGM:COUNT?

Query the number of segments. The response is 1.   

 

 


CALCulate<Chn>:LIMit:SEGMent<Seg>:STIMulus:STARt <numeric_value>

Changes the start stimulus value (i.e. the smallest stimulus value) of a limit line segment. A segment must be created first to enable this command (e.g CALC:LIM:DATA).

To define the stimulus values of several limit line segments with a single command, use CALCulate<Chn>:LIMit:CONTrol[:DATA].

<Chn>

Channel number used to identify the active trace.

 

<Seg>

Segment number

 

<numeric_value>

Frequency, power or time value, to be defined in accordance with the domain setting (CALCulate<Chn>:LIMit:CONTrol:DOMain).

Range [def. unit]

Almost no restriction for limit segments; see Rules for Limit Line Definition.  
[Hz for frequency sweeps, dBm for power sweeps, s for time sweeps]

*RST value

A segment that is created implicitly, e.g. by means of CALCulate<Chn>:LIMit:UPPer[:DATA] or CALCulate<Chn>:LIMit:LOWer[:DATA,], covers the maximum sweep range of the analyzer.  

 

SCPI, Command Types

Device-specific, with query.

 

Example:

CALC:LIM:DATA 1,1500000000, 2000000000,2,3

Define an upper limit line segment (segment no. 1) in the stimulus range between 1.5 GHz and 2 GHz, assigning response values of +2 dBm and +3 dBm.

CALC:LIM:SEGM:STIM:STAR 1GHZ; STOP 2 GHZ; :CALC:LIM:SEGM:TYPE LMIN

Change the segment to a lower limit line segment with a stimulus range between 1 GHz and 2 GHz.  

CALC:LIM:DATA?

Query the type, the stimulus and response values of the created segment with a single command. The response is 2,1000000,2000000,2,3.

 

 


CALCulate<Chn>:LIMit:SEGMent<Seg>:STIMulus:STOP <numeric_value>

Changes the stop stimulus value (i.e. the largest stimulus value) of a limit line segment. A segment must be created first to enable this command (e.g CALC:LIM:DATA).

To define the stimulus values of several limit line segments with a single command, use CALCulate<Chn>:LIMit:CONTrol[:DATA].

<Chn>

Channel number used to identify the active trace.

 

<Seg>

Segment number

 

<numeric_value>

Frequency, power or time value, to be defined in accordance with the domain setting (CALCulate<Chn>:LIMit:CONTrol:DOMain).

Range [def. unit]

Almost no restriction for limit segments; see Rules for Limit Line Definition.  
[Hz for frequency sweeps, dBm for power sweeps, s for time sweeps]

*RST value

A segment that is created implicitly, e.g. by means of CALCulate<Chn>:LIMit:UPPer[:DATA] or CALCulate<Chn>:LIMit:LOWer[:DATA,], covers the maximum sweep range of the analyzer.  

 

SCPI, Command Types

Device-specific, with query.

 

Example:

See CALCulate<Chn>:LIMit:SEGMent<Seg>:STIMulus:STARt.   

 

 


CALCulate<Chn>:LIMit:SEGMent<Seg>:TYPE
LMIN | LMAX | OFF

Selects the limit line type for a limit line segment. This can be done before or after defining the stimulus and response values of the segment, however, a segment must be created first to enable this command (e.g CALC:LIM:DATA).

The type command overwrites the CALCulate<Chn>:LIMit:DATA settings and is overwritten by them. It is not affected by the other commands in the LIMit subsystem defining stimulus and response values of limit lines.

<Chn>

Channel number used to identify the active trace.

 

<Seg>

Segment number

 

Parameters

Limit line type

Range [def. unit]

LMAX (upper limit line segment), LMIN (lower limit line segment), OFF (limit check switched off, limit line segment not deleted) [–]

*RST value

LMAX

 

SCPI, Command Types

Device-specific, with query.

 

Example:

*RST; :CALC:LIM:UPP 0, 0

Define an upper limit line segment across the entire sweep range, using a constant upper limit of 0 dBm.

CALC:LIM:SEGM:TYPE LMIN

Turn the defined limit line segment into a lower limit line segment.

 

 


CALCulate<Chn>:LIMit:SOUNd[:STATe]

Switches the acoustic signal (fail beep) on or off. The fail beep is generated each time the analyzer detects an exceeded limit.

<Chn>

Channel number used to identify the active trace.  

 

<Boolean>

ON | OFF - Fail beep on or off.

*RST value

OFF

 

SCPI, Command Types

Confirmed, command or query.  

 

Example:

CALC:LIM:STAT ON; SOUN ON

Switch the limit check on and activate the fail beep.  

 

 


CALCulate<Chn>:LIMit:STATe

Switches the limit check (including upper and lower limits) on or off.

Use CALCulate<Chn>:LIMit:UPPer:STATe or CALCulate<Chn>:LIMit:LOWer:STATe to switch on or off the individual limit checks for upper or lower limit lines.

<Chn>

Channel number used to identify the active trace.  

 

<Boolean>

ON | OFF - Limit check on or off.

*RST value

OFF

 

SCPI, Command Types

Confirmed, command or query.  

 

Example:

*RST; :CALC:LIM:CONT 1 GHZ, 2 GHZ

Define an upper limit line segment in the stimulus range between 1 GHz and 2 GHz, using default response values.

CALC:LIM:STAT ON; FAIL?

Switch the limit check on and query the result.  

 

 


CALCulate<Chn>:LIMit:TTLout<Output_no>[:STATe] <Boolean>

Switches the TTL pass/fail signals on or off. The signals are applied to the USER CONTROL connector as long as the active trace <Chn> is within limits, including the ripple limits.

<Chn>

Channel number used to identify the active trace.  

 

<Output_no>

1 – TTL out pass 1 (pin 13 of USER CONTROL connector)
2 – TTL out pass 2 (pin 14 of USER CONTROL connector)

 

<Boolean>

ON | OFF - TTL output signal on or off.

*RST value

OFF

 

SCPI, Command Types

Device-specific, command or query.  

 

Example:

*RST; :CALC:LIM:CONT 1 GHZ, 2 GHZ

Define an upper limit line segment in the stimulus range between 1 GHz and 2 GHz, using default response values.

CALC:LIM:STAT ON; TTL2 ON

Switch the limit check on and activate the TTL out pass 2 signal.  

 

 


CALCulate<Chn>:LIMit:UPPer[:DATA] <numeric_value>,<numeric_value>{,<numeric_value>,<numeric_value>}

Defines the response (y-axis) values of the upper limit line and/or creates new limit line segments.

The commands CALCulate<Chn>:LIMit:LOWer[:DATA] and CALCulate<Chn>:LIMit:UPPer[:DATA] use a fixed numbering scheme for limit line segments: Upper limit line segments are assigned odd numbers (1, 3, 5,...), lower limit line segments are assigned even numbers (2, 4, 6,...).  

Rules for creating segments

The following rules apply to an active trace with n existing upper and n existing lower limit line segments:

<Chn>

Channel number used to identify the active trace.

 

<numeric_value>

Pair(s) of response values.

Range [def. unit]

Almost no restriction for limit segments; see Rules for Limit Line Definition. [dB]

*RST value

The response value of a segment that is created implicitly, e.g. an lower limit line segment, is –20 dB.  

 

SCPI, Command Types

Confirmed, with query.

 

Example:

CALC:LIM:UPP -10, 0, 0, -10

Define the following upper and (default) lower limit line segments:

CALC:LIM:DISP ON

Show the limit line segments in the active diagram.

 

 


CALCulate<Chn>:LIMit:UPPer:FEED

Generates an upper limit line using the stimulus values of a data or memory trace and specified offset values.  

<Chn>

Channel number used to identify the active trace. This trace provides the stimulus data for the limit line unless another trace <trace_name> is specified.

 

<stimulus_offset>

Stimulus offset value, used to shift all imported limit line segments in horizontal direction.

 

Range [def. unit]

-1000 GHz to +1000 GHz [Hz]

*RST value

0 Hz

 

<response_offset>

Response offset value, used to shift all imported limit line segments in vertical direction.

Range [def. unit]

-1012 dB to +1012 dB [dB]

*RST value

0 dB

<trace_name>

Name of the selected trace as used e.g. in CALCulate<Ch>:PARameter:SDEFine. If no trace name is specified the analyzer uses the active trace no. <Chn>.

 

SCPI, Command Types

Device-specific, no query.

 

Example:

CALC:LIM:UPP:FEED 1 GHZ, 10

Use the stimulus values of the active trace, shifted by 1 GHz to the right and increased by 10 dB, to create an upper limit line.

CALC:LIM:UPP:SHIF 3; :CALC:LIM:CONT:SHIF 1 GHz

Shift the limit line by an additional 3 dB in vertical and by 1 GHz in horizontal direction. If a lower limit line exists it is also shifted.

 


CALCulate<Chn>:LIMit:UPPer:SHIFt <numeric_value>

Shifts all lower and upper limit line segments assigned to the active trace in vertical direction.  

This command is identical with CALCulate<Chn>:LIMit:LOWer:SHIFt.

<Chn>

Channel number used to identify the active trace.  

 

<numeric_value>

Response offset value for all limit line segments.

Range [def. unit]

Almost no restriction for limit segments; see Rules for Limit Line Definition. [dB]

*RST value

 

SCPI, Command Types

Device-specific, no query.

 

Example:

See CALCulate<Chn>:LIMit:UPPer:FEED.

 

 


CALCulate<Chn>:LIMit:UPPer:STATe <Boolean>

Switches the upper limit check on or off. Upper limit line segments are assigned odd numbers; see CALCulate<Chn>:LIMit:UPPer[:DATA]. The command does not affect segments with even numbers.

Use CALCulate<Chn>:LIMit:STATe to switch on or off the entire limit check, including upper and lower limit lines.

<Chn>

Channel number used to identify the active trace.  

 

<Boolean>

ON | OFF - Limit check on or off.

*RST value

OFF

 

SCPI, Command Types

Confirmed, command or query.  

 

Example:

CALC:LIM:UPP -10, 0, 0, -10

Define the following upper and (default) lower limit line segments:

CALC:LIM:UPP:STAT ON; :CALC:LIM:FAIL?

Switch the limit check on and query the result.