366
S:\agilent\8920\8920b\PRGGUIDE\BOOK\CHAPTERS\ibasic.fb
Chapter 7, IBASIC Controller
Interfacing to the IBASIC Controller using Serial Ports
Receive and Transmit Pacing
When receiving characters into the IBASIC Command Line field, the Test Set’s
microprocessor responds to each entry and no buffering is required. Therefore,
when using your PC or terminal to send characters to the IBASIC Command
Line field, it is permissible to set Rcv Pace and Xmt Pace to None.
When sending data through the Test Set’s Serial Port to external devices like
printers which may have small input buffers, it is important to set Rcv Pace and
Xmt Pace to Xon/Xoff. This allows the printer to stop data transm ission from
the Test Set when the printer’s buffe r is ful l and then s tart it again when t he prin ter
is ready.
The Test Set has a Serial Port input buf fer le ngth of 2000 chara cters with firmware
revision A.09.04. Buffer size becomes important when IBASIC programs expect
to receive large amounts of data through the Serial Port with a single ENTER
statement.
Table 41 Test Set Serial Port 9 Configuration
Field Available Settings Recommended Setting
Serial In Inst/IBASIC Inst
IBASIC Echo On/Off On
Inst Echo On/Off On
Serial Baud Rate 150, 300, 600, 1200, 2400, 4800,
9600, 19200 9,600
Parity None, Odd, Even, Always 1,
Always 0 None
Data Length 7 bits, 8 bits 8 bits
Stop Length 1 bit, 2 bits 1 bit
Rcv Pace (receive pacing) None, Xon/Xoff Xon/Xoff
Xmt Pace (transmit pacing) None, Xon/Xoff Xon/Xoff