182 Keysight E8402A, E8404A C-Size Mainframes User and Service GuideProgramming the Enhanced Monitor SYSTem SubsystemSYSTem:ERRor?SYStem:ERRor? returns the error number and corresponding error messagestring from the error queue.Returned DataComments– The response format is:error_number, “error description string”.– Error Numbers/Message in the Error Queue: Each error generated by thisinstrument driver stores an error number and corresponding error messagein the error queue. The error message can be up to 255 characters long.– Clearing the Error Queue: An error number/message is removed from thequeue each time the SYSTem:ERRor? command is sent. The errors arecleared on a first-in, first-out basis. When the queue is empty,SYSTem:ERRor? returns 0, “No error”. To clear all error number/messagesin the queue, execute the *CLS command.– Maximum Error Numbers/Message in the Error Queue: The queue holds amaximum of 30 error numbers/messages. If the queue overflows, the lasterror number/message in the queue is replaced by -350, “Too manyerrors”. The least recent error number/message remains in the queue andthe most recent are discarded.Reset Condition*RST does not affect the status system, use *CLS to clear the error queue.Related Commands*CLSType Range Default Descriptionint16 -32768 through 32767 none Error numberstring none Error message