06.08.2014 Views

(8.5x11) 6000 Manual Cover - Newport Corporation

(8.5x11) 6000 Manual Cover - Newport Corporation

(8.5x11) 6000 Manual Cover - Newport Corporation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix B<br />

Error Messages<br />

The IEEE 488.2 standard defines certain bits in the status registers as error<br />

condition flags. When an error occurs, one of the error bits is set in the status<br />

registers. The bit enable masks and the service request enable allow the<br />

2832-C to alert the remote controller that an error has occurred. The standard<br />

allows error numbers that range from -100 to -499.<br />

When using the RS-232C port the RS-232 Echo Mode controls when errors are<br />

returned. When the Echo Mode is enabled the errors are returned immediately.<br />

When the Echo Mode is disabled the errors are not returned immediately<br />

and the *ERR? command must be used to retrieve the errors.<br />

B.1 Command Errors<br />

Command Errors are associated with the conversion of the data received into<br />

the commands and their parameters (parsing). Incorrect syntax, incorrect<br />

parameters, and improper command format will generate these errors. Any<br />

command error will cause the Command Error bit (bit 5) in the Standard<br />

Event Status Byte to be set.<br />

-102, “Syntax error”<br />

Occurs when an error in command structure or parameter type is detected.<br />

Some typical causes are:<br />

Using a number as a command mnemonic.<br />

Using the wrong parameter type.<br />

Using ASCII characters outside of a string constant that are not defined by<br />

the command language syntax.<br />

Missing or too many parameters.<br />

The above list in not exhaustive but does give the basic idea of what to look<br />

for.<br />

-110, “Command header error”<br />

This error is generated when the system parser detects an invalid character<br />

in a command header.<br />

-113, “Undefined Header”<br />

This error is generated when the 2832-C does not recognize a command<br />

header.<br />

89

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!