Introduction to Programming
1–10
2714 & 2715 Programmer Manual
MODE
command is used, the last settings applied to the interface must be used. If
this data is not used, your program will not work properly.
A variety of printers and plotters are available for use with your system. The
serial or parallel printer of your choice may be connected to the appropriate
computer port. For example, the Centronics- or GPIB-compatible, 4-pen
Tektronix HC100 plotter is recommended. Its four pens provide a useful
complement to the four-trace capability of the 2714 or 2715.
A serial printer or plotter, such as the Tektronix HC100 Option 03, can be
attached to the spectrum analyzer’s RS-232 interface instead of a computer
controller. This arrangement enables data transfer directly from the spectrum
analyzer to the printer or plotter with a remote PLOT command when the system
controller is unavailable. Of course, the spectrum analyzer must be correctly
configured using the SCREEN PLOT CONFIGURATION Menu (key sequence
[UTIL] [4] [1]).
Figure 1–1, located earlier in this section, shows two alternative configurations
using a printer. A plotter could be substituted for the printer in either configura-
tion.
The RS-232 interface enables remote or automated control of the 2714 or 2715
Spectrum Analyzer. An application program (often called a test, measurement, or
control program) determines 2714 or 2715 operations by exchanging spectrum
analyzer-specific messages with the instrument.
The spectrum analyzer-specific messages are also referred to as device-dependent
messages. They are generally understood by and meaningful to only the
instrument, or class of instruments, for which they are designed. The organiza-
tion of the spectrum analyzer-specific messages is explained in the next section
of this manual. Functional Groups provides a summary of the messages.
Command and Query Definitions describes the individual messages in detail, and
Programming provides some programming examples.
Programmed commands and data are transmitted over the interface to the
instrument as soon as they are delivered to the driver. If the command is a query
(
FREQ?
for example), the spectrum analyzer formats a response immediately and
sends it back to the computer. The control program is responsible for handling
incoming data in a timely fashion.
After completing the setup procedures your equipment is ready for RS-232
operation, but you must still provide the software needed to control the spectrum
analyzer. When creating new software this is usually a two step process. The first
step is to establish the programming environment. Next you can create and run
the control program. If you are using ready-made control software, simply follow
the supplier’s instructions.
Configuring the (Optional)
Printer or Plotter
Communicating with the
Spectrum Analyzer
Preparing the Software
Содержание 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: ......