Language Reference

XERR

Return error information.

Example

140

ALLOCATE Error$[200]

 

 

150

OUTPUT

723;"JKLD;"

Send the spectrum analyzer a meaningless

 

 

 

 

command.

 

160

OUTPUT

723;"VB -2NM;"

Attempt to set the spectrum analyzer to an

 

 

 

 

unavailable video bandwidth.

 

170

OUTPUT

723;"CLRW;"

Send the spectrum analyzer illegal syntax.

 

180

OUTPUT

723;"WAIT 2S;"

Wait 2 seconds.

 

190

OUTPUT

723;"XERR?;"

Query reported errors to computer .

 

200

ENTER

723 USING "-K";Error$

Store error messages in string variable,

 

 

 

 

accepting line feeds.

 

210

PRINT

Error$

Print error report on computer .

Description The XERR command gives error information when an instrument in a system encounters an error.

Information queried includes the name and HP-MSIB address of the module reporting the error, the error code, and a description. IP clears errors from register.

Query Response

7-558