Messages and codes, Messages and codes -11 – Tektronix AFG3000 User Manual

Page 195

Advertising
background image

Status and Events

AFG3000 Series Arbitrary/Function Generators Reference Manual

4-11

Messages and Codes

Error and event codes with negative values are SCPI standard codes. Error and
event codes with positive values are unique to the AFG3000 Series Arbitrary/Func-
tion Generators.

Table 4-5 lists event code definitions. When an error occurs, you can find its error
class by checking for the code range in Table 4-6 through Table 4-14. Events in
these tables are organized by event class.

Command Errors

Table 4-6 shows the error messages generated by improper command syntax.
Check that the command is properly formed and that it follows the rules in the
Syntax and Commands starting on page 3-1.

Table 4-5: Definition of event codes

Event class

Code range

Description

No error

0

No event or status

Command errors

–100 to –199

Command syntax errors

Execution errors

–200 to –299

Command execution errors

Device-specific errors

–300 to –399

Internal device errors

Query errors

–400 to –499

System event and query errors

Power-on events

–500 to –599

Power-on events

User request events

–600 to –699

User request events

Request control events

–700 to –799

Request control events

Operation complete events

–800 to –899

Operation complete events

Extended device-specific
errors

1 to 32767

Device dependent device errors

Reserved

other than above

not used

Table 4-6: Command error messages

Error code

Error message

–100

Command error

–101

Invalid character

–102

Syntax error

–103

Invalid separator

–104

Data type error

–105

GET not allowed

–108

Parameter not allowed

–109

Missing parameter

–110

Command header error

–111

Header separator error

–112

Program mnemonic too long

Advertising