5 Remote Programming62 Keysight M8197A User’s Guide5.4 System Related Commands (SYSTem Subsystem)5.4.1 :SYSTem:ERRor[:NEXT]?Command :SYST:ERR?Long :SYSTem:ERRor?Parameters NoneParameter Suffix NoneDescription Read and clear one error from the instrument’s error queue.A record of up to 30 command syntax or hardware errors can be stored in the errorqueue. Errors are retrieved in first-in-first-out (FIFO) order. The first error returned isthe first error that was stored. Errors are cleared as you read them.If more than 30 errors have occurred, the last error stored in the queue (the mostrecent error) is replaced with “Queue overflow”. No additional errors are stored untilyou remove errors from the queue.If no errors have occurred when you read the error queue, the instrument respondswith 0,“No error”.The error queue is cleared by the *CLS command, when the power is cycled, orwhen the firmware is re-started.The error queue is not cleared by a reset (*RST) command.The error messages have the following format (the error string may contain up to 255characters):error number,”Description”, e.g.-113,”Undefined header”.Example Query:SYST:ERR?5.4.2 :SYSTem:HELP:HEADers?Command :SYST:HELP:HEAD?Long :SYSTem:HELP:HEADers?Parameters NoneParameter Suffix NoneDescription The HEADers? query returns all SCPI commands and queries and IEEE 488.2 commoncommands and common queries implemented by the instrument. The response is a element. The full path forevery command and query is returned separated by linefeeds. The syntax of theresponse is defined as: The and sequence of follow the rulesin IEEE 488.2, Section 8.7.9. An is defined as: It contains all the nodesfrom the root. The contains the node in standard SCPIformat. The short form uses uppercase characters while the additional characters forthe long form are in lowercase characters. Default nodes are surrounded by squarebrackets ([]).Example Query:SYST:HELP:HEAD?