Agilent Technologies E4406A VSA manual Error Information Query, Locate SCPI Command Errors

Models: E4406A VSA

1 406
Download 406 pages 63.49 Kb
Page 385
Image 385
Error Information Query

Language Reference

SYSTem Subsystem

Day - is an integer from 1 to 31 (depending on the month)

Example:

SYST:DAT 2001,4,15

Front Panel

Access: System, Time/Date, Set Date

Error Information Query

:SYSTem:ERRor[:NEXT]?

This command queries the earliest entry in the error queue and then deletes that entry. It can be used to continuously monitor the error queue for the occurrence of an error.

*CLS clears the entire error queue.

Example: SYST:ERR?

Front Panel

Access: System, Show Errors

Locate SCPI Command Errors

:SYSTem:ERRor:VERBose OFFON01

:SYSTem:ERRor:VERBose?

Adds additional information to the error messages returned by the SYSTem:ERRor? command. It indicates which SCPI command was executing when the error occured and what about that command was unacceptable.

<error number>,”<error message>;<annotated SCPI command>”

Example:

First set SYST:ERR:VERBOSE ON

 

If the command SENSe:FREQuently:CENTer 942.6MHz

 

is sent, then sending SYST:ERR? returns:

113,”Undefined header;SENSe:FREQuently:<Err>CENTer 942.6MHz $<NL>”

The <Err> shown after FREQuently shows you the spelling error. (The $<NL> is the typical representation for the command terminator.

If the command SENSe:FREQuency:CENTer 942.6Sec is sent, then sending SYST:ERR? returns:

113,”Invalid suffix;SENSe:FREQuency:CENTer 942.6Sec<Err> $<NL>”

The <Err> shown after Sec shows you the invalid suffix.

Chapter 5

385

Page 385
Image 385
Agilent Technologies E4406A VSA manual Error Information Query, Locate SCPI Command Errors, SYSTem:ERRor:NEXT?