
Model 2520 User’s Manual
Status and Error Messages
B-7
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 common 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:
:SENS2:CURR:RANG10e-3
Incorrect (no space between command and
parameter)
:SENS2:CURR:RANG 10e-3
Correct
•
Improper short or long form. Check the command list in
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
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 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.
Содержание 2520
Страница 250: ...A Specifications ...
Страница 254: ...B StatusandErrorMessages ...
Страница 262: ...C DataFlow ...
Страница 266: ...D IEEE 488BusOverview ...
Страница 281: ...E IEEE 488andSCPI ConformanceInformation ...
Страница 285: ...F MeasurementConsiderations ...
Страница 308: ...G GPIB488 1Protocol ...
Страница 312: ...H ExamplePrograms ...
Страница 317: ...I ContinuousPulseMode ...