Command/Query
:CALCulate:TRACe:LIMit:DATA <Value>
:CALCulate:TRACe:LIMit:DATA?
This command sets list for limit test.
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/power/time) of the start point of the n-th line. Data(n×5-2) :The value on the horizontal axis (frequency/power/time) 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 of 1+Num (number of set lines))×5 when setting a formatted memory array, an error occurs when executed 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 when executed. 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. |
{numeric 1}, ... ,{numeric 1+(N×5)}<newline><^END>
Dim Var as Variant
Ena.WriteString ":CALC:TRAC:LIM:DATA 2, 1, 940E6, 960E6, 0, 0, 2, 940E6, 960E6, -10, -10", True
Ena.WriteString ":CALC:TRAC:LIM:DATA?", True
Var=Ena.ReadList(ASCIIType_R8, ",")
Line 1: Start: 940 MHz, Stop: 9600 MHz, Limit of Start: 0, Limit of Stop: 0, Max
Line 2: Start: 940 MHz, Stop: 9600 MHz, Limit of Start: -10, Limit of Stop:-10, Min
Edit Test > Test Limit > Limit Test