EasyManua.ls Logo

BRUEL & KJAER 2525 - Error Handling Procedures

BRUEL & KJAER 2525
104 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Measuring Ampifier Type 2525
User Manual Vol.2
Brüel & Kjær
8–2
Chapter 8 Interface Error Messages
Error Handling
8.1 Error Handling
The 2525 handles interface errors (the reception of headers or data that do not
conform to the rules given in the syntax diagrams for the interface messages) and
device errors (various set-up conditions that causes an internal conflict in the 2525).
Interface errors are numbered from 1 to 99 while device errors start at 100.
When an interface error is detected, the rest of the current interface message up to
and including the Program Message Terminator <Te> is read but ignored and the
internal interface error status is updated. This causes the abnormal bit of the sta-
tus byte (bit 6) to be set TRUE, and the Error_No of the Job_Status? interface
message and the Error? interface message are set according to the current error.
Note that the Error Number holds the first error that occurred after a reset of the
2525 error record (multiple errors are not logged).
The error record is reset whenever it is read out using the Error? interface mes-
sage.
The 2525 does not stop reading data from its interface, but the parser is reset each
time a Program Message Terminator (<Te>) is recognized.
When you are programming the 2525 interface, you should regularly check the
2525 error status using either Error?, Job_Status? or Status_Byte? to verify that
the interface messages sent so far have been accepted without errors. The IEEE–
488 interface user additionally has the option of reading the status byte using a
Serial Poll.
When an error has occurred, the error should be read using the Error?, since the
error record sent as response to this message includes the error number, a short
error description and a trace (a log buffer) of what was received causing the error.
Note that device errors do not update the log buffer since the error occurred for
syntactically correct interface messages.
A full list of interface and device errors is given Section 8.2.

Other manuals for BRUEL & KJAER 2525

Related product manuals