:CALC<Ch>:RLIM:DATA

Type

Command/Query

Syntax

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

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

 

The following syntax is also supported:

:CALCulate<Ch>:TRACe<Tr>:RLIMit:DATA <Value>

:CALCulate<Ch>:TRACe<Tr>:RLIMit:DATA?

Description

This command sets/gets list for ripple limit test. if n bands, #_of_data=1+4*n. The first data must be 4*n., for the selected channel Ch.

Variable

Parameter

Value

Description

Indicates the array data (for ripple line) of 1 + Num (number of limit lines)* 4. 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 12. When the number of limit lines is set to 0 (clears the limit table), the variable Data is only required with Data(0).

  • Data(nx4-3) :The type of the n-th line.

Specify an integer 0 to 1 as follows.

0: OFF

1: ON

  • Data(nx4-2) :The value on the horizontal axis (frequency/power/time) of the start point of the n-th line.

  • Data(nx4-1) :The value on the horizontal axis (frequency/power/time) of the end point of the n-th line.

  • Data(nx4) :The ripple line value (dB) 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 of 1+Num (number of set lines))×4 when setting a formatted memory array, an error occurs when executed and the object is ignored. For Data(n×4-3) in the array data, if you specify an integer other than 0 or 1, an error occurs when executed. For Data(n×4-2) and Data(n×4-1) 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 (N:number of limit lines)}, ... , {numeric 1+(Nx4)}<newline><^END>

Examples

This sample requires manual modification
Dim Var(1 to 49) as Variant
Ena.WriteString ":CALC1:RLIM:DATA" & Var(), True
Ena.WriteString ":CALC1:RLIM:DATA?", True
Var=Ena.ReadList(ASCIIType_R8, ",")

Related Commands

:CALC:PAR:SEL

:CALC:RLIM

Equivalent Softkey

Analysis > Ripple Limit > Edit Ripple Limit

COM Command Syntax (Internal Control Only)

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

SCPI.CALCULATE(Ch).TRACE(Tr).RLIMIT.DATA