Error Checking

Error/event queue

The SCPI specifications define a standard error reporting scheme, Error/Event Queue. This is a FIFO (First In First Out) queue, which records errors and events. The PMX can record up to 32 errors/events. Each error/event can be read with the SYSTem:ERRor query.


The response to this query contains a number (error/event number) and a string, such as:

-222,"Data out of range"

The error/event queue will be empty if the *CLS common command is sent, if the last item in the queue is read, or if the PMX is turned on. When the error/event queue is empty, the query returns the following:

0,"No error"

Displaying communication errors

The PMX has a debug trace function. The oldest item among the errors and events (if they are present) can be displayed on the front panel of the PMX. This function is convenient when you debug your remote applications.

While an error/event item being displayed on the panel, the normal voltmeter and ammeter are disabled.

If the error/event queue is empty, no error is traced by the debug trace function. Sending the *CLS command clears the communication error display.

In local mode, the debug trace function will be temporarily disabled.

The communication error display can be enabled or disabled with the SYSTem:ERRor:TRACe command.