100
Chapter 7
Using GPIB Interface
Queries and commands
The GPIB interface is an ASCII command line interface like the RS-232 command line
interface. The communications protocol is per IEEE-488.2 specification. Queries and
commands consist of four ASCII upper/lower case characters. Commands do not require
a response from the generator, while queries cause the 802 to respond with the required
data.
You can send multiple commands on the same line by separating the commands with a
semicolon (;) followed by a terminator. A terminator is defined as the NL character (ASCII
10), or EOI sent with the last byte of the command. The 802 will not parse any commands
received until a terminator is received. All commands are executed sequentially; that is,
when a command is parsed it is allowed to finish execution before the next command is
parsed, as illustrated in the following figure.
Commands
Commands instruct the 802 to set a parameter to the value given or perform some
function not requiring any additional data. Commands which have an asterisk (*) as their
first character are common commands as defined by the IEEE-488.2 standard and
generally operate the same in all instruments. All commands are listed and described in
Appendix A, “
Command Reference
.”
Commands which do not require any additional data from the controller are self-contained
and should be followed by either a message separator (;) or message terminator. Any
other characters (except whitespace characters) will cause a command error.
Commands which require numeric data must be followed by at least one separator
character (whitespace), and then the data. Numeric data sent with a command is in
decimal format. Numeric data can be represented in one of three methods: integer,
floating point, or scaled floating point.
Message
Terminator
Separator ( ; )
Program Message Syntax
Command/Query
Header
Separator
( ; )
Data
Separator
(white space)
Message Unit Syntax
Summary of Contents for 802BT
Page 1: ...802BT 802R Video Test Generator User Guide ...
Page 52: ...42 Chapter 2 Testing Video Displays ...
Page 62: ...52 Chapter 3 Administrative Tasks ...
Page 118: ...108 Chapter 7 Using GPIB Interface ...
Page 194: ...184 Chapter 10 Testing EDID ...
Page 204: ...194 Chapter 11 Testing HDCP ...
Page 214: ...204 Appendix A Command Reference Commands by name ...
Page 595: ...Video Test Generator User Guide 585 ...
Page 611: ...Video Test Generator User Guide 601 ...
Page 612: ...602 Appendix A Command Reference ...
Page 716: ...706 Appendix B Image Reference ...
Page 744: ...734 Appendix C Error Messages ...