Agilent Technologies E8285A User Manual page 304

Cdma mobile station test set
Hide thumbs Also See for E8285A:
Table of Contents

Advertisement

Writing Lines of IBASIC Code on a Word Processor
When writing IBASIC programs, follow these steps to ensure that the Test Set
will accept the code when it is downloaded.
1. Always begin new lines at the far left margin. Never use a leading space or tab.
2. Number each consecutive line just like an IBASIC language program.
3. Typically begin with 10 and increment by ten for each consecutive line.
4. Do not leave any space or double space between lines.
5. Make sure to use hard carriage return / line feeds at the end of each line.
6. When saving the completed program, save it as an ASCII file. Some word processors
7. Experiment with a short program first to make sure everything is working correctly.
Transferring Programs from the Word Processor to the Test Set
For short (less than 100 lines) programs, use an ASCII file transfer utility on the
PC to send the program, one line at a time, down to the Test Set over RS-232
directly into the IBASIC Command Line field. The Test Set must be configured to
receive serial ASCII characters by positioning the Test Set cursor at the IBASIC
Command Line field as explained under
Test Set Using the IBASIC EDIT Mode" on page 296
characters are received they are sent to the IBASIC Command Line field. When a
carriage return / line feed is received, the Test Set will parse the line into the
IBASIC program memory. Each line takes about two seconds to scroll in and be
parsed. This becomes very time consuming for long programs. An alternative for
longer programs is discussed later in this section.
To start the transfer process make sure there is no program in the Test Set's
IBASIC RAM memory by executing a SCRATCH command from the IBASIC
Command Line.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Method #3. Developing Programs Using Word Processor on a PC (Least Preferred)
have ASCII options which require that the user specify CR/LF at the end of each line.
It is important that each line end with a carriage return / line feed.
Chapter 6, IBASIC Controller
"Method #2. Developing Programs on the
. With this setup, when ASCII
303

Advertisement

Table of Contents
loading

Table of Contents