400
Chapter 7, IBASIC Controller
Method #3. Developing Programs Using Word Processor on a PC (Least Preferred)
As the transfer starts the
IBASIC Command Line
field will intensify and
characters will scroll in left to right. As each line is finished the “*” annunciator
will be displayed, for about 0.5 seconds, in the upper, right corner of the Test Set
indicating that the IBASIC controller is running as the line is parsed. If another
line is sent before this parsing is complete, the Test Set will beep indicating an
error, and the next line of the transfer will be rejected.
If the transfer is rejected, the transfer must be halted and the delay between lines
increased to a slightly higher number. Start the transfer again from the beginning.
When all lines have transferred, list the program to verify it was completely
received. At this time, the program is ready to run. The RUN command can be
keyed in from the PC or the K1 Run key in the TESTS (IBASIC Controller)
screen can be pressed.
NOTE:
Do not press the Run Test key in the TESTS (Main Menu) screen as this will scratch the
program you just loaded and look to the memory card for a procedure file.
For longer programs (greater than 100 lines), transferring the ASCII text file
directly into the IBASIC program memory through the RS-232 serial port is too
time consuming. To speed the process up, it is necessary to transfer the program
using a two step process.
1. Transfer the ASCII text file directly to a Test Set mass storage location (typically an
SRAM card).
2. Perform a GET command to bring the program from mass storage into the IBASIC pro-
gram memory.
To perform the ASCII text file transfer for long programs, an IBASIC program,
running in the Test Set, is required to manage the transfer. A suitable program
titled “ASCII_DN” (for ASCII downloader) is shown on the following page.
The ASCII_DN program runs on the Test Set and directs ASCII characters
coming in Serial Port 9 directly to a file named TEMP_CODE on an SRAM card.
The program creates the TEMP_CODE file on the SRAM card with a size of 650
records (166 Kbytes or enough for about 6600 lines of ASCII text). When the
program is run, it displays
Ready to receive ASCII file data
. When this
prompt is displayed, initiate the transfer of the ASCII text file representing the
program from the PC to the Test Set. Shown below are two methods of sending an
ASCII file from the PC to the Test Set. Both methods require that the ASCII_DN
program be running in the Test Set when the transfer begins. The ASCII_DN
program can be transferred into the Test Set either by typing it in using the
IBASIC EDIT Mode described earlier, or downloading it from an ASCII text file
one line at a time as explained earlier.
Содержание 8921A
Страница 14: ...14 ...
Страница 17: ...Contents 17 3 HP IB Command Guidelines Sequential and Overlapped Commands 72 Guidelines for Operation 73 ...
Страница 24: ...Contents 24 9 Error Messages ...
Страница 25: ...Contents 25 Index 593 ...
Страница 26: ...Contents 26 ...
Страница 27: ...27 1 Using HP IB ...
Страница 58: ...58 Chapter 1 Using HP IB Remote Local Modes ...
Страница 59: ...59 2 Methods For Reading Measurement Results ...
Страница 71: ...71 3 HP IB Command Guidelines ...
Страница 94: ...94 Chapter 3 HP IB Command Guidelines Guidelines for Operation ...
Страница 95: ...95 4 HP IB Commands ...
Страница 100: ...100 Adjacent Channel Power ACP ...
Страница 150: ...150 Display DISPlay space TDMA test TESTs TFReq THLP TIBasic TMAKe TPARm TPRint TSEQn TSPec Returns current screen TX ...
Страница 173: ...173 System System SYSTem ERRor Returns integer value quoted string ...
Страница 236: ...236 Triggering Measurements ...
Страница 237: ...237 5 Advanced Operations ...
Страница 350: ...350 Chapter 6 Memory Cards Mass Storage Using Memory Cards Figure 20 Inserting a Memory Card ...
Страница 360: ...360 Chapter 6 Memory Cards Mass Storage Using External Disk Drives ...
Страница 361: ...361 7 IBASIC Controller ...
Страница 442: ...442 Chapter 7 IBASIC Controller The TESTS Subsystem ...
Страница 559: ...559 Chapter 8 Programming The Call Processing Subsystem Example Programs 11280 SUBEND 11290 ...
Страница 562: ...562 Chapter 8 Programming The Call Processing Subsystem Example Programs ...
Страница 563: ...563 9 Error Messages ...
Страница 592: ...592 ...