Programmer’s Guide
1-15
Introduction to GPIB Programming
Programming Fundamentals
Output Queue
The output queue temporarily stores a single response message until it is
read by a controller. It is cleared when the following actions occur:
• the message is read by a controller
• the analyzer is turned on
• the Device Clear (DCL) or Selected Device Clear (SDC) command is
received
Command Parser
The command parser reads program messages from the input queue in
the order they were received from the bus. It analyzes the messages to
determine what actions the analyzer should take.
One of the parser's most important functions is to determine the position
of a program message in the analyzer's command tree (described in
). When the command parser is reset, the next command it
receives is expected to arise from the base of the analyzer's command
tree.
The parser is reset when the following actions occur:
• the analyzer is turned on
• The Device Clear (DCL) or Selected Device Clear (SDC) command is
received.
• a colon immediately follows a semicolon in a program message. (For
more information see
“Sending Multiple Commands” on page 9-7
.)
• A program message terminator is received. A program message
terminator can be an ASCII carriage return (
C
R
) or newline character
or the GPIB END message (EOI set true).
Summary of Contents for 8712ES
Page 11: ...1 1 1 Introduction to GPIB Programming ...
Page 27: ...2 1 2 Synchronizing the Analyzer and a Controller ...
Page 36: ...3 1 3 Passing Control ...
Page 39: ...4 1 4 Data Types and Encoding ...
Page 46: ...5 1 5 Using Status Registers ...
Page 71: ...6 1 6 Trace Data Transfers ...
Page 98: ...6 28 Programmer sGuide Trace Data Transfers Internal Measurement Arrays ...
Page 99: ...7 1 7 Using Graphics ...
Page 105: ...8 1 8 Front Panel Keycodes ...
Page 111: ...9 1 9 Introduction to SCPI ...
Page 129: ...10 1 10 Menu Map with SCPI Commands ...
Page 268: ...12 1 12 SCPI Conformance Information ...
Page 290: ...13 1 13 SCPI Error Messages ...