Agilent Technologies A.18.00 Weather Radio User Manual


 
365
Chapter 7, IBASIC Controller
Interfacing to the IBASIC Controller using Serial Ports
Serial Port 9 Configuration
Table 41 on page 366
and the following paragraphs describe how to configure
Serial Port 9 for communications with an external PC or terminal. Implications of
the various choices are discussed.
1. Under the To Screen menu, select More, then select IO CONFIG.
2. The I/O CONFIGURE screen will be displayed.
3. Set the Serial Baud Rate, Parity, Data Length, Stop Length, Rcv
Pace and Xmt Pace fields to match your PC or terminal settings. The recommended
settings are shown in Table 41 on page 366. These settings will be retained by the Test
Set. They will not change if the PRESET key is pressed, if the Test Set receives a *RST
Common Command, or the power is turned on and off.
4. Set the Serial In field to Inst. This routes Serial Port 9 to the IBASIC Command
Line field. Characters typed on the external PC or terminal will now appear in the
IBASIC Command Line.
5. Set the IBASIC Echo field to ON. This will cause IBASIC character output from
commands (such as LIST, PRINT or DISPLAY) or error messages to echo characters
to Serial Port 9 (the characters will in turn show up on the external PC or terminal
screen). This will allow program listings and syntax error messages to be seen on the
external PC or terminal.
6. Another method which can be used to output characters to the external PC or terminal
is to execute the IBASIC command, PRINTER IS 9. This causes IBASIC to direct all
print output to Select Code 9. Select Code 9 is the Test Set’s Serial Port 9. Select Code
1 is the Test Set’s CRT. Select Code 1 is also the default address for the PRINTER IS
command, so all program printer output defaults to the Test Set’s CRT (unless changed
with the PRINTER IS command).
7. Set the Inst Echo field to ON. This will cause characters to be echoed back to the
external PC or terminal as they are received at Serial Port 9. If the echo feature of the
external PC or terminal is also enabled all the characters sent to the Test Set will be
displayed twice on the external PC or terminal. Enable echo on only one device, either
the Test Set or the external PC or terminal.