![HP 8920B Programmer'S Manual Download Page 430](http://html.mh-extra.com/html/hp/8920b/8920b_programmers-manual_166189430.webp)
430
Chapter 7, IBASIC Controller
PROGram Subsystem
Syntax (length of program known)
PROGram[:SELected]:DEFine <#><of digits in count field>
<count field: of data bytes in program><program data bytes>
The following notation is used in the command description:
The data starts with a header which begins with a “#”, followed by a single non-zero
digit in the range 1-9 which specifies the number of digits in the following count field,
followed by a series of digits in the range of 0-9 which gives the number of data bytes
being sent, followed by the number of data bytes specified by the count field.
Example
#16<data byte><data byte><data byte><data byte><data byte><data by
te>
Example BASIC program to download an IBASIC program to Test Set
10 OUTPUT 714;"PROG:DEL:ALL"
!Delete current program
20 OUTPUT 714;"PROG:DEF #257" !Create program, send header
30 OUTPUT 714;"10 FOR J = 1 TO 10" !18 char CR + LF
40 OUTPUT 714;"20 DISP J" !9 char CR + LF
50 OUTPUT 714;"30 BEEP"
!7 char CR + LF
60 OUTPUT 714;"40 NEXT J" !9 char CR + LF
70 OUTPUT 714;"50 END"!6 characters
80 END
:DEFine?
The :DEFine? query command is used to upload an IBASIC program
from the Test Set to an external controller.
Summary of Contents for 8920B
Page 10: ...10 ...
Page 16: ...Contents 16 9 Error Messages Index 673 ...
Page 17: ...17 1 Using HP IB ...
Page 48: ...48 Chapter 1 Using HP IB Remote Local Modes ...
Page 49: ...49 2 Methods For Reading Measurement Results ...
Page 61: ...61 3 HP IB Command Guidelines ...
Page 84: ...84 Chapter 3 HP IB Command Guidelines Guidelines for Operation ...
Page 85: ...85 4 HP IB Commands ...
Page 90: ...90 Adjacent Channel Power ACP ...
Page 116: ...116 Configure I O Configure ...
Page 156: ...156 Call Processing ...
Page 185: ...185 System System SYSTem ERRor Returns integer value quoted string ...
Page 242: ...242 Common Command Descriptions ...
Page 251: ...251 5 Advanced Operations ...
Page 377: ...377 7 IBASIC Controller ...
Page 458: ...458 Chapter 7 IBASIC Controller The TESTS Subsystem ...
Page 640: ...640 Chapter 8 Programming The Call Processing Subsystem Example Programs 11280 SUBEND 11290 ...
Page 643: ...643 9 Error Messages ...
Page 672: ...672 ...
Page 682: ...Index 682 ...