B-8 Status and Error Messages Models 2500 and 2502 User’s Manual
Eliminating common SCPI errors
There are three SCPI errors that occur more often than any others:
• -113, Undefined header
• -410, Query INTERRUPTED
• -420, Query UNTERMINATED
The following paragraphs discuss the causes for these errors and methods for avoiding
them.
-113, Undefined header
This error indicates that the command you sent to the instrument did not contain a recog-
nizable command name. The most likely causes for this error are:
• Missing space between the command and its parameter — There must be one or more
spaces (blanks) between the command and its parameter. For example:
:SENS1:CURR:RANG2e3 Incorrect (no space between command and parameter)
:SENS1:CURR:RANG 2e3 Correct
• Improper short or long form — Check the command list in Section 17 for the correct
command name.
• Blanks (spaces) within the command name — For example:
:SYST :ERR? Incorrect (space between :SYST and :ERR?)
:SYST:ERR? Correct
- 410, Query INTERRUPTED
This error occurs when you have sent a valid query to the instrument, and then send it to
another command or query, or a Group Execute Trigger (GET) before it has had a chance
to send the entire response message (including the line-feed/EOI terminator). The most
likely causes are:
• Sending a query to the instrument and then sending another command or query before
reading the response to the first query — For example, the following sequence of com-
mands will cause an error -410:
:SYST:ERR?
*OPC?
This sequence generates an error because you must read the response to :SYST:ERR?
before sending the *OPC? query.
• Incorrectly configured IEEE-488 driver — The driver must be configured so that when
talking on the bus it sends line-feed with EOI as the terminator, and when listening on
the bus it expects line-feed with EOI as the terminator. See the reference manual for
your particular IEEE-488 interface.
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176
TestEquipmentDepot.com