![Rohde & Schwarz ZVL series Operating Manual Download Page 378](http://html.mh-extra.com/html/rohde-and-schwarz/zvl-series/zvl-series_operating-manual_1477904378.webp)
R&S ZVL
Command Reference
Instrument-Control Commands
Operating Manual 1303.6580.32-05
363
CALCulate<Chn>:LIMit:FAIL?
Returns a 0 or 1, to indicate whether or not the limit check has failed.
Use
CALCulate<Chn>:CLIMits:FAIL?
to perform a composite (global) limit check.
<Chn>
Channel number used to identify the active trace.
Response
0 | 1 - 0 represents pass, 1 represents fail.
*RST value
0
SCPI, Command
Types
Confirmed, query only.
Example:
*RST; CALC:LIM:CONT 1 GHZ, 2 GHZ
Define an upper limit line segment in the stimulus range between 1 GHz and 2
GHz, using default response values.
CALC:LIM:STAT ON; FAIL?
Switch the limit check on and query the result.
CALCulate<Chn>:LIMit:LOWer[:DATA] <start resp>, <stop resp>{, <start resp>,
<stop resp>}
Defines the response (y-axis) values of the lower limit line and/or creates new limit line segments.
The commands
CALCulate<Chn>:LIMit:LOWer[:DATA]
and
CALCulate<Chn>:LIMit:UPPer[:DATA]
use a fixed numbering scheme for limit line
segments: Upper limit line segments are assigned odd numbers (1, 3, 5,...), lower limit line
segments are assigned even numbers (2, 4, 6,...).
Rules for creating segments
The following rules apply to an active trace with n existing upper and n existing lower limit line segments:
An odd number of values is rejected; an error message –109,"Missing parameter..." is generated.
An even number of 2*k values updates or generates k lower limit line segments.
For n > k the response values of all existing lower limit line segments no. 2, 4, ...,2*k are updated,
the existing upper and lower limit line segments no. 2*k+1, ..., 2*n are deleted. The existing upper
limit line segments no. 1, 3, 2*k–1 are not affected.
For n < k the response values of the lower limit line segments no. 2, 4 to 2*n are updated, the
lower limit line segments 2*n+2, 2*n+4,..., 2*k are generated with default stimulus values (see
CALCulate<Chn>:LIMit:CONTrol[:DATA]
. In addition, the missing upper limit line segments
2*n+1, 2*n+3,..., 2*k–1 are generated with default stimulus and response values
<Chn>
Channel number used to identify the active trace.
<start resp>,
<stop resp>
Pair(s) of response values.
Range [def. unit]
Almost no restriction for limit segments; see
Rules for Limit Line Definition.
[dB]
*RST value
–
The response value of a segment that is created implicitly, e.g. an upper limit
line segment, is –20 dB.