![Tektronix 2714 Programmer'S Manual Download Page 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
Summary of Contents for 2714
Page 4: ......
Page 11: ...Introduction ...
Page 12: ......
Page 38: ...Introduction to Programming 1 26 2714 2715 Programmer Manual ...
Page 39: ...Message Structure ...
Page 40: ......
Page 54: ...Instrument Specific Message Structure 2 14 2714 2715 Programmer Manual ...
Page 55: ...Functional Groups ...
Page 56: ......
Page 85: ...Command Query ...
Page 86: ......
Page 179: ...Status Reporting ...
Page 180: ......
Page 197: ...Programming ...
Page 198: ......
Page 266: ...Programming 6 68 2714 2715 Programmer Manual ...
Page 267: ...Appendices ...
Page 268: ......
Page 276: ...Appendix A RS 232 Concepts A 8 2714 2715 Programmer Manual ...
Page 296: ...Appendix B GPIB System Concepts B 20 2714 2715 Programmer Manual ...
Page 297: ...Index ...
Page 298: ......
Page 307: ......
Page 308: ......