
Introduction to Programming
2714 & 2715 Programmer Manual
1–9
H
Any other control character echoes as an up arrow (^) followed by a capital
letter. For example, ^X represents pressing the [CTRL] and [X] keys at the
same time.
H
ECHO should not be ON with binary transfers.
H
When ECHO is ON the prompt character appears on the display under other
conditions: 1) when the instrument is powered up or placed on-line with
ECHO mode ON, 2) when ECHO is turned on, and 3) after a device clear
(break) is received.
Verbose Mode and Error Handling.
Item 7 of the RS-232 PORT CONFIGU-
RATION Menu, VERBOSE, turns VERBOSE mode ON and OFF. This feature
is provided as an alternative to the GPIB SRQ mechanism. It is generally used
when controlling the spectrum analyzer with a “dumb” terminal. Press [7] on the
KEYPAD to choose between ON or OFF.
When ON, VERBOSE mode forces the spectrum analyzer to respond for each
command it receives. The response will be one of the following:
H
An event code for an abnormal condition
H
A response for a successful query (
FREq?
)
H
The string “
OK
” for a successful non-query
Refer to Status Reporting for additional information on error handling for
instruments with the RS-232 interface.
If you are using special applications software or a custom RS-232 driver, follow
the detailed instructions for installing and configuring the device driver included
with it. However, for PC-type controllers running MS-DOS, the driver is part of
the operating system. You can configure a serial communications port with the
MODE
command by entering a command similar to the following example:
MODE COM1:9600,n,8,1
This command configures the COM1 interface to run at 9600 baud, no parity, 8
data bits, and 1 stop bit.
NOTE
. You must use the same setup information for the controller and the
spectrum analyzer.
A program statement, such as
OPEN
in the BASIC language, is an alternative way
to configure the driver. This method of driver configuration is recommended
because it sets the driver to a known, and presumably correct, operating state
from within the application program and just prior to actual operation. If the
Installing and Configuring
the Device Driver
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: ......