![Tektronix 2714 Скачать руководство пользователя страница 43](http://html1.mh-extra.com/html/tektronix/2714/2714_programmers-manual_1077901043.webp)
Instrument-Specific Message Structure
2714 & 2715 Programmer Manual
2–3
A semicolon (;) must be used to delimit or separate message units in a message.
Following the last message unit, the use of a delimiter is optional with one
exception. The 2714 or 2715 always appends a message unit delimiter as the last
data byte when it sends a response.
If desired, you may substitute the line feed character for the semicolon in the
case of responses (see the
MSGdlm
command in Command and Query Defini-
tions). Do not confuse the line feed character with the optional message
terminator discussed next.
When a controller sends data to the 2714 or 2715, the spectrum analyzer
interprets both CR and LF as message terminators. Messages sent by the
spectrum analyzer over the RS-232 interface can be terminated in the following
ways:
H
By CR only (carriage return, ASCII 13)
H
By LF only (line feed, ASCII 10)
H
By CR-LF (carriage return followed by line feed)
See Setting the Message Terminator in the Setting Up for RS-232 Operation part
of Introduction to Programming for instructions about configuring the message
terminator for RS-232 instruments.
Messages exchanged over the GPIB interface (Option 03) can be terminated in
one of two ways:
H
The EOI interface management line is brought low (asserted) simultaneously
with the last byte of the message.
H
ASCII codes for carriage return (CR) and line feed (LF) are appended to the
end of message, and the EOI interface management line is asserted simulta-
neously with transmission of the LF character.
All Tektronix instruments assert the EOI line. The CR-LF terminator option is
provided for instruments that do not use the EOI line. If you are using such an
instrument, select the CR-LF option (see Setting the Message Terminator in the
Setting Up for GPIB Operation part of Introduction to Programming). Termina-
tor control is handled automatically by the GPIB hardware and software.
A command generally consists of a command mnemonic or header, header
delimiter, argument(s), and argument delimiter. For example, the command
SAVE A:ON, B:ON
enables the SAVE A and SAVE B functions. In this example,
SAVE
is the
command header. The space between
SAVE
and
A:ON
is the header delimiter.
Message Unit Delimiter
Message Terminator
(RS-232)
Message Terminator
(GPIB)
Command
Содержание 2714
Страница 4: ......
Страница 11: ...Introduction ...
Страница 12: ......
Страница 38: ...Introduction to Programming 1 26 2714 2715 Programmer Manual ...
Страница 39: ...Message Structure ...
Страница 40: ......
Страница 54: ...Instrument Specific Message Structure 2 14 2714 2715 Programmer Manual ...
Страница 55: ...Functional Groups ...
Страница 56: ......
Страница 85: ...Command Query ...
Страница 86: ......
Страница 179: ...Status Reporting ...
Страница 180: ......
Страница 197: ...Programming ...
Страница 198: ......
Страница 266: ...Programming 6 68 2714 2715 Programmer Manual ...
Страница 267: ...Appendices ...
Страница 268: ......
Страница 276: ...Appendix A RS 232 Concepts A 8 2714 2715 Programmer Manual ...
Страница 296: ...Appendix B GPIB System Concepts B 20 2714 2715 Programmer Manual ...
Страница 297: ...Index ...
Страница 298: ......
Страница 307: ......
Страница 308: ......