810
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
31
System Commands
:SYSTem:ERRor?
Query
:SYSTem:ERRor? [{NUMBer | STRing}]
The :SYSTem:ERRor? query outputs the next error number in the error
queue over the remote interface. When either NUMBer or no parameter is
specified in the query, only the numeric error code is output. When
STRing is specified, the error number is output followed by a comma and
a quoted string describing the error.
Table 30
lists the error numbers and
their corresponding error messages.
Returned Format
[:SYSTem:ERRor] <error_number>[,<quoted_string>]<NL>
<error_number>
A numeric error code.
<quoted_string>
A quoted string describing the error.
Example
This example reads the oldest error number and message in the error
queue into the string variable, strCondition, then prints the contents of the
variable to the computer's screen.
Dim strCondition As String
' Dimension variable.
myScope.WriteString ":SYSTEM:ERROR? STRING"
strCondition = myScope.ReadString
Debug.Print strCondition
Infiniium Oscilloscopes have an error queue that is 30 errors deep and
operates on a first- in, first- out (FIFO) basis. Successively sending the
:SYSTem:ERRor? query returns the error numbers in the order that they
occurred until the queue is empty. When the queue is empty, this query
returns headers of 0, "No error." Any further queries return zeros until
another error occurs. Note that front- panel generated errors are also
inserted in the error queue and the Event Status Register.
See Also
The "Error Messages" chapter for more information on error messages and
their possible causes.
N O T E
Send *CLS Before Other Commands or Queries
Send the *CLS common command to clear the error queue and Event Status Register before
you send any other commands or queries.
Summary of Contents for Infiniium 90000 Q-Series
Page 1: ...s1 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference...
Page 50: ...50 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 2 Setting Up...
Page 274: ...274 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 14 Digital Commands...
Page 292: ...292 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 15 Disk Commands...
Page 318: ...318 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 16 Display Commands...
Page 364: ...364 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 17 Function Commands...
Page 382: ...382 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 19 Histogram Commands...
Page 412: ...412 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 21 Limit Test Commands...
Page 416: ...416 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 22 Lister Commands...
Page 696: ...696 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 25 Measure Commands...
Page 702: ...702 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 26 Pod Commands...
Page 760: ...760 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 29 Self Test Commands...
Page 818: ...818 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 31 System Commands...
Page 830: ...830 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 32 Time Base Commands...
Page 930: ...930 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 33 Trigger Commands...
Page 1018: ...1018 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 37 Error Messages...
Page 1150: ...1150 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 38 Sample Programs...
Page 1186: ...1186 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference Index...