CALCulate[1|2|3|4]:LIMit:FAIL? query
Returns the result of the last limit test; 0 for pass or 1 for fail.
Query Syntax: CALCulate[1|2|3|4]:LIMit:FAIL?
Example Statements: OUTPUT 711;"calculate2:lim:fail?"
OUTPUT 711;"Calc3:Lim:Fail?"
Return Format: Integer
Attribute Summary: Option: not applicable
Synchronization Required: no
Preset State: +1
SCPI Compliance: confirmed
Description:
This query returns “+0” if the trace passes the limit test. It returns a “+1” if the trace fails the limit test.
Limit testing must be on (CALC:LIM:STAT ON) and a limit must be defined for the specified trace.
If limit testing is not on or limits are not defined, this query returns a +1 (fail).
Use the SYST:ERR? query to verify a failed limit test. If limit testing is not on, the SYST:ERR? query
returns the message, “Limit testing is turned off. ” If limits are not defined the SYST:ERR? query returns
the message, “ Limits are undefined.” If a valid limit test failed, the SYST:ERR? query does not return a
message.
Note CALC:LIM:FAIL? returns +1 (fail) if limit testing is not turned on or limits are not
defined.
CALCulate
6-34