Please enable JavaScript to view this site.

 Network Analyzers using S2VNA software

SCPI Command

CALCulate<Ch>[:SELected]:LIMit:DATA <numeric list>

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

Or

CALCulate<Ch>:TRACe<Tr>:LIMit:DATA <numeric list>

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

Description

Sets the data array, which is the limit line in the limit test function.

The array size is 1 + 5N, where N is the number of limit line segments.

For the n–th point, where n from 1 to N:

<numeric 1> the number of limit line segments N is from 0 to 100. Setting 0 clears the limit line.

<numeric 5n–3> type of the n–th limit line segment:

0: Off.

1: Upper limit

2: Lower limit

3: Single Point limit

<numeric 5n–2> the stimulus value in the start point of the n-th segment

<numeric 5n–1> the stimulus value in the end point of the n-th segment

<numeric 5n–0> the response value in the start point of the n-th segment

<numeric 5n+1> the response value in the end point of the n-th segment

Note: If the array size is not 1 + 5N, where N is <numeric 1>, an error occurs. If <numeric 5n–3> is less than 0 or more than 2, an error occurs. When <numeric 5n–2>, <numeric 5n–1>, <numeric 5n–0>, and <numeric 5n+1> elements are out of allowable range, the value is set to the limit, which is closer to the specified value.

command/query

Target

CALCulate<Ch>[:SELected] — active trace of channel <Ch>,

Or

CALCulate<Ch>:TRACe<Tr> — trace <Tr> of channel <Ch>,

<Ch> = {[1]|2|...16}

<Tr> = {[1]|2|...16}

Query Response

<numeric 1>, <numeric 2>, …<numeric 5N+1>

Equivalent Softkeys

Analysis > Limit Test > Edit Limit Line


Equivalent COM Command

SCPI.CALCulate(Ch).SELected.LIMit.DATA


note

This command is similar to CALCulate<Ch>[:SELected]:LIMit:DATA only.


Syntax

Data = app.SCPI.CALCulate(Ch).SELected.LIMit.DATA

app.SCPI.CALCulate(Ch).SELected.LIMit.DATA = Array(1,2,800,900,–10,–10)

Type

Variant (array of Double) (read/write)


 

Back to CALCulate

Back to Command Finder

 

Rev.:  24.2