Standard scpi error messages, Command error – Agilent Technologies Agilent E5250A User Manual

Page 307

Advertising
background image

Agilent E5250A User’s Guide, Edition 11

11-3

Error Messages

Standard SCPI Error Messages

Standard SCPI Error Messages

Standard SCPI error messages have negative error numbers. The following are the
standard SCPI error messages for the E5250A:

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: :ROUT:OPEN:CARD 1

:ROUT:OPEN:CARD 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

Number

Error Message and Description

-100

Command error

Generic syntax error that cannot be determined more specifically.

-101

Invalid character

A syntax element contains a character that is invalid for that type of
element; for example, a header containing an ampersand.

-102

Syntax error

An unrecognized command or data type was received; for example, a
string was received when the E5250A does not accept strings.

Advertising