![Tektronix 2714 Скачать руководство пользователя страница 223](http://html1.mh-extra.com/html/tektronix/2714/2714_programmers-manual_1077901223.webp)
Programming
2714 & 2715 Programmer Manual
6–25
The program in Example 6–2 executes the
CATV XMOD
command, and displays
the test data in a single-column format. This example illustrates how to perform
the built-in XMOD test routine from a remote location. Simple modifications to
this program will make possible remote execution of the 2714 or 2715’s
remaining CATV test modes.
The program can be revised for GPIB by modifying the device-dependent
initialization, error handling, and I/O functions contained in the main module
subroutine
READ.BUFFER
, and in the
RS232.CALLS
module.
Example 6–2 performs the following functions:
1. It opens
COM1
and establishes RS-232 communications with the spectrum
analyzer using this configuration:
Baud rate:
9600
Data bits:
8
Stop bits:
1
Parity:
None
Verbose:
ON
Echo mode:
OFF
Terminator:
CR LF
Flow control:
NONE
If the 2714 is not properly configured the program displays an error message.
Refer to the
RS232
command description in Command and Query Defini-
tions and the RS-232 installation procedure in Introduction To Programming
for more information on RS-232 configuration.
2. The program generates the terminal display shown in Figure 6–2. A screen
prompt instructs the operator to turn off the modulation.
3. The operator presses [Enter] to begin the CATV XMOD test. The program
terminates if the operator presses the [ESC] key on the computer keyboard.
4. After the XMOD test completes, a screen prompt on the terminal instructs
the operator to turn on the modulation. The terminal display is similar to that
shown in Figure 6–2.
5. Next the program sends the
CATV FULLXMOD
query. The response is arranged
in an easy-to-read, single column format (Figure 6–3).
6. A screen prompt instructs the operator to press [Enter] on the computer
keyboard to run the program again, or [Esc] to exit the program.
CATV XMOD Command
Demo Program
Содержание 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: ......