User manual
B-8 Status and Error Messages 2400 Series SourceMeter
®
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 most likely 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
recognizable 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:
:SENS:VOLT:DC:RANGl00 Incorrect (no space between command and
parameter)
:SENS:VOLT:DC:RANG 100Correct
• Improper short or long form. Check the command list in Section 18 of this
manual.
• 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 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 fol
-
lowing sequence of commands 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.