PLANAR R54x2
SCPI.CALCulate(Ch).SELected. RLIMit.DATA
Object Type
Data Type
Target
Description
Notes
Syntax
Equivalent Softkeys
Property (read/write)
Variant (Double array)
The active trace of channel Ch,
Ch:
channel number 1–4 (see Table 1 on page 22)
The data array, which is the limit line for the ripple limit function. The array
size is 1 + 4N, where N is the number of limit line segments.
For the n–th point, where n from 1 to N:
Data(0)
the number of limit line segments N is the integer from
0 to 12. Setting 0 clears the limit line;
Data(4n–3)
type of the n–th limit line segment;
0: Off
1: On
Data(4n–2)
the stimulus value in the beginning point of the n–th
segment;
Data(4n–2)
the stimulus value in the end point of the n–th segment;
Data(4n–0)
the ripple limit value of the n–th segment.
If the array size is not 1 + 4N, where N is Data(0), an error occurs (error
code 214). If Data(4n – 3) is less than 0 or more than 1, an error occurs
(error code 214). When Data(4n–2), Data(4n–1), and Data(4n–0) elements
are out of allowable range, the value is set to the limit, which is closer to the
specified value.
Dim Data As Variant
Data = app.SCPI.CALCulate(Ch).SELected.RLIMit.DATA
app.SCPI.CALCulate(Ch).SELected.RLIMit.DATA = Array(1,1,800,900,10)
Analysis > Ripple Test > Edit Ripple Limit
COM/DCOM Programming manual
98