COM Server Commands
61
SCPI.CALCulate(
Ch
).SELected.LIMit.DATA
Object Type
Property (read/write)
Data Type
Variant (Double array)
Target
The active trace of channel
Ch
,
Ch
Description
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 measuring points.
For the n–th point, where n from 1 to N:
Data(0)
The number of limit line segments N is from 0 to 100.
Setting 0 clears the limit line;
Data(5n–4) type of the n–th limit line segment;
0: OFF
1: Upper limit
2: Lower limit
Data(5n–3) the stimulus value in the start point of the n–th
segment;
Data(5n–2) the stimulus value in the end point of the n–th segment;
Data(5n–1) the response value in the start point of the n–th
segment;
Data(5n–0) the response value in the end point of the n–th segment.
Notes
If the array size is not 1 + 5N, where N is Data(0), an error occurs. If
Data(5n – 4) is less than 0 or more than 2, an error occurs. When
Data(5n–3), Data(5n–2), Data(5n–1) and Data(5n–0) elements are out
of allowable range, the value is set to the limit, which is closer to the
specified value.
Syntax
Dim Data As Variant
Data = app.SCPI.CALCulate(Ch).SELected.LIMit.DATA
app.SCPI.CALCulate(Ch).SELected.LIMit.DATA =
Array(1,2,800,900,–10,–10)
Equivalent
Softkeys
Analysis > Limit Test > Edit Limit Line