:SYST:ERR

Type

Query

Syntax

:SYSTem:ERRor?

Description

This command reads the oldest error from the list of errors stored in the error queue of the E5063A. The read-out error is deleted from the error queue. The size of the error queue is 100.

Executing *CLS command clears the errors stored in the error queue.

This object can not return an error that occurs by the manual operation or the SCPI command used in controlling the E5063A from the external con-troller.

Variable

Parameter

Variant

Description

Indicates 2-element array data (for error).

  • Err(0) :Error number

  • Err(1) :Error message

The index of the array starts from 0.

Data Type

Variant type (Variant)

Note

If no error is stored in the error queue, 0 and "No error" are read out as the error number and the error message.

 

Query Response

{numeric (error number)}, {String (error message)}<newline><^END>

Examples

Dim Var As Variant, ErrNo As Long, ErrDesc As String
Ena.WriteString ":SYST:ERR?", True
Var = Ena.ReadList
ErrNo = Var(0)
ErrDesc = Var(1)

Related Commands

*CLS

Equivalent Softkey

No equivalent key is available on the front panel.

COM Command Syntax (Internal Control Only)

SCPI.SYSTEM.ERROR