:CALC<Ch>:LIM:DATA

Type

Command/Query

Syntax

:CALCulate<Ch>[:SELected]:LIMit:DATA <Value>

:CALCulate<Ch>[:SELected]:LIMit:DATA?

Description

This command sets/gets the limit table for the limit test.

Variable

Parameter

Value

Description

Indicates the array data (for limit line) of 1 + Num (number of limit lines)*5. Where n is an integer between 1 and Num.

  • Data(0) :The number of limit lines you want to set. Specify an integer ranging 0 to 100. When the number of limit lines is set to 0 (clears the limit table), the variable Data is only required with Data(0).

  • Data(n*5-4) :The type of the n-th line.

Specify an integer 0 to 2 as follows.

0: OFF

1: Upper limit line

2: Lower limit line

  • Data(n*5-3) :The value on the horizontal axis (frequency/osc level/DC bias) of the start point of the n-th line.

  • Data(n*5-2) :The value on the horizontal axis (frequency/power/DC bias) of the end point of the n-th line.

  • Data(n*5-1) :The value on the vertical axis of the start point of the n-th line.

  • Data(n*5) :The value on the vertical axis of the end point of the n-th line.

The index of the array starts from 0.

Data Type

Variant type Array (Range)

Note

If there is no array data, an error occurs at execution and the object is ignored.

For Data(n×5-4) in the array data, if you specify an integer other than 0, 1 or 2, an error occurs at execution.

For Data(n×5-3), Data(n×5-2), Data(n×5-1), and Data(n×5) in the array data, if the specified value is out of the allowable setup range, the minimum value (if the lower limit of the range is not reached) or the maximum value (if the upper limit of the range is exceeded) is set.

Query Response

{numeric 1},...{numeric 1+(n*5)}<newline><^END>

Examples

See limit line.

Related Commands

:CALC:LIM

Equivalent Softkey

Analysis > Limit Test > Edit Limit Line

COM Command Syntax (Internal Control Only)

SCPI.CALCULATE(Ch).SELECTED.LIMIT.DATA