6-4 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Error Messages
Command Error
Command Error
If syntax of SCPI command is not valid, a -1XX error occurs. The error number and
message are placed in the error queue, and bit5 of the Standard Event Status
Register is set.
A SCPI command consists of a command header and zero or more parameters.
The following are example SCPI commands:
• Subsystem command: :PAGE:SCON:STAN 1
:PAGE:SCON:STAN is the command header, and 1 is the parameter.
A subsystem command header consists of mnemonics (keywords) separated by
colons. Query commands have a question mark (?) at end of last mnemonic.
• Common command: *SRE 48
*SRE is the command header, and 48 is the parameter.
A common command header consists of an asterisk (*) followed by 3
characters. Query commands have a question mark (?) at end of header.
Error -100 Command error
Generic syntax error that cannot be determined more specifically.
Error -101 Invalid character
An invalid character for the type of a syntax element was received; for example, a
header containing an ampersand.
Error -102 Syntax error
An unrecognized command or data type was received; for example, a string was
received when the 4155C/4156C does not accept strings.
Error -103 Invalid separator
An illegal character was received when a separator was expected; for example, the
semicolon was omitted after a program message unit.
Error -104 Data type error
An improper data type was received; for example, numeric data was expected but
string data was received.