Introduction to Programming
Programming and Syntax Diagram Conventions
The Output Queue
The output queue contains responses to query messages. The
instrument transmits any data from the output queue when a
controller addresses the instrument as a talker.
Each response message ends with a carriage return (CR, 0D
a LF (0A
), with EOI=TRUE. If no query is received, or if the
16
query has an error, the output queue remains empty.
The Message Available bit (MAV, bit 4) is set in the Status Byte
register whenever there is data in the output queue.
The Error Queue
The error queue is 30 errors long. It is a FIFO queue (first-in first-
out). That is, the first error read is the oldest error to have occurred.
A new error is only put into the queue if it is not already in it.
If more than 29 errors are put into the queue, the message:
-350 <Queue Overflow>
is placed as the last message in the queue.
1.3 Programming and Syntax Diagram
Conventions
A program message is a message containing commands or queries
that you send to the instruments. The following are a few points
about program messages:
• You can use either upper-case or lower-case characters.
• You can send several commands in a single message. Each
command must be separated from the next one by a semicolon
(;).
21
) and
16