Agilent Technologies A.18.00 Weather Radio User Manual


 
390
S:\agilent\8920\8920b\PRGGUIDE\BOOK\CHAPTERS\ibasic.fb
Chapter 7, IBASIC Controller
Method #3. Developing Programs Using Word Processor on a PC (Least Preferred)
Sending ASCII Text Files Over RS-232 With Windows Terminal
Set up the Windows Terminal emulator software on the PC as covered in “Setting
Up Microsoft Windows Terminal on your PC (Windows Version 3.1)” on page 368
.
Load and run the ASCII_DN download program in the Test Set’s IBASIC
controller. When the prompt
Ready to receive ASCII file data is
displayed on the Test Set, make the following settings in Windows Terminal on
the PC:
1. Select Settings.
2. Select Text Transfers.
3. Select Flow Control: Standard Flow Control.
4. Select Word Wrap Outgoing Text at Column: unselected.
This will use Xon/Xoff flow control by default.
5. Select OK.
6. Select Transfers.
7. Select Send Text File.
8. Set Strip LF off and Append LF off. (It is important that the line feeds that are in
the ASCII file not be stripped or the file transfer will not work).
9. Select or enter the file name to transfer.
10. Begin the transfer by selecting OK.
At this point, each line of the program will rapidly scroll across the screen of the
Test Set. When the transfer is finished, the prompt
Down load of ASCII file
complete.
will be displayed on the Test Set.
Before running the downloaded program, execute a SCRATCH command on the
IBASIC Command Line to remove the ASCII_DN download program from Test
Set memory.
Next, execute a GET TEMP_CODE command on the IBASIC Command Line.
This will load the ASCII text into the IBASIC program memory.
Finally, execute a RUN command on the IBASIC Command Line. This will run
the program. If any syntax errors are present in the program IBASIC will generate
the appropriate error messages.