CALCulate<Chn>:CLIMits...    Related Topics

This subsystem controls the composite limit check.

 

Command tree: CALCulate<Chn>:CLIMits

:FAIL?


CALCulate<Chn>:CLIMits:FAIL?

Returns a 0 or 1, to indicate whether or not a global, composite limit check on several traces has failed.

In remote control, the limit check result is calculated once at the end of each sweep. If the limit lines are changed, a new sweep is required to obtain updated limit check results. In single sweep mode (INITiate<Ch>:CONTinuous OFF), the new sweep must be started explicitly using INITiate<Ch>[:IMMediate]:SCOPe ALL | SINGle. This behavior is different from manual control where a changed limit line can directly affect the pass/fail result of the displayed trace.  

<Chn>

Channel number used to identify the active trace. This suffix is not relevant because the command provides a summary of all individual limit fails.  

 

Response

0 | 1 - 0 represents pass for all individual limit checks (also returned if no limit check is active at all), 1 means that the limit checks for one or more traces failed.

*RST value

0

 

SCPI, Command Types

Device-specific, 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.  

CALC:CLIM:FAIL?

Query the result for the composite limit check. As only one trace is tested, the response should be equal to the previous response..