Technical data

370 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
20 Limit Test Commands
:LTESt:FAIL
Command :LTESt:FAIL {INSide | OUTSide}
The :LTESt:FAIL command sets the fail condition for an individual
measurement. The conditions for a test failure are set on the source
selected with the last LTESt:MEASurement command.
When a measurement failure is detected by the limit test, the fail action
conditions are executed, and there is the potential to generate an SRQ.
INSide FAIL INside causes the oscilloscope to fail a test when the measurement
results are within the parameters set by the LLTESt:LIMit and
LTESt:ULIMit commands.
OUTSide FAIL OUTside causes the oscilloscope to fail a test when the measurement
results exceed the parameters set by LTESt:LLIMit and LTESt:ULIMit
commands.
Example The following example causes the oscilloscope to fail a test when the
measurements are outside the lower and upper limits.
myScope.WriteString ":LTEST:FAIL OUTSIDE"
Query :LTESt:FAIL?
The query returns the current set fail condition.
Returned Format
[:LTESt:FAIL] {INSide | OUTSide}<NL>
Example The following example returns the current fail condition and prints the
result to the controller's screen.
Dim strFAIL As String
myScope.WriteString ":LTEST:FAIL?"
strFAIL = myScope.ReadString
Debug.Print strFAIL