SCPI Command Reference 4-21
Error Messages
In general, whenever the Model 3152 receives an invalid SCPI
command, it automatically generates an error. Errors are stored in
a special error queue and may be retrieved from this buffer one at
a time. Errors are retrieved in first-in-first-out (FIFO) order. The first
error returned is the first error that was stored. When you have read
all errors from the queue, the synthesizer responds with a 0,"No
error" message.
If more than 30 errors have occurred, the last error stored in the
queue is replaced with -350, “Too many errors". No additional errors
are stored until you remove errors from the queue. If no errors have
occurred when you read the error queue, the synthesizer responds
with 0,"No error".
The error queue is cleared when power has been shut off or after a
*CLS command has been executed. The *RST command does not
clear the error queue. Use the following command to read the error
queue:
SYSTem:ERRor?
Errors have the following format (the error string may contain up to
80 characters):
-102,"Syntax error"
A complete listing of the errors that can be detected by the
synthesizer is given below.
-100,"Command error". When the synthesizer cannot detect more
specific errors, this is the generic syntax error used.
-101,"Invalid Character". A syntactic element contains a character
which is invalid for that type.
-102,"Syntax error". Invalid syntax found in the command string.
-103,"Invalid separator". An invalid separator was found in the
command string. A comma may have been used instead of a colon
or a semicolon. In some cases where the synthesizer cannot detect
a specific separator, it may return error -100 instead of this error.
-104,"Data type error". The parser recognized a data element
different than allowed.
-108,"Parameter not allowed". More parameters were received than
expected for the header.
-109,"Missing parameter". Too few parameters were received for
the command. One or more parameters that were required for the
command were omitted.
-128."Numeric data not allowed". A legal numeric data element was
received, but the instrument does not accept one in this position.
-131,"Invalid suffix". A suffix was incorrectly specified for a numeric
parameter. The suffix may have been misspelled.
Содержание 3152
Страница 16: ...Getting Started 1 7 Figure 1 1 Segment 1 Sin x x Waveform Figure 1 2 Segment 2 Sine Waveform...
Страница 25: ...Configuring The Instrument 2 6 This page was intentionally left blank...
Страница 63: ...Using The Instrument 3 38 This page was intentionally left blank...
Страница 80: ...SCPI Command Reference 4 17 Figure 4 1 SCPI Status Registers...
Страница 121: ...Specifications A 12 This page was intentionally left blank...