8-18
Instrument BASIC
Entering and Editing Programs
Other PROG Commands
Two additional PROG Commands are used to prepare the Agilent 8922M/S’s
IBASIC Controller RAM for receiving programs.
OUTPUT Addr;”PROG:DEL”
deletes any programs currently residing in RAM.
OUTPUT Addr;”PROG:DEF #0”
defines the address in RAM where a downloaded program will be stored.
Preparing the Agilent 8922M/S to Receive Programs
1
Configure the GPIB port as described in this chapter, ‘GPIB Configuration For
Programming” on page 8-5.
2
Access the IBASIC Controller screen.
Downloading A Program Into the Agilent 8922M/S
This procedure assumes your Agilent 8922M/S’s GPIB address is 14. If it is not,
change the address in the following procedure to match your instrument’s address.
1
Load the IBASIC program to be downloaded into your controller.
2
Enter these commands to transfer the program to the Agilent 8922M/S:
10
DIM LINE$[200], FILE_NAME$[120]
20
Addr=714
30
INPUT ”NAME OF (ASCII) IBASIC FILE TO DOWN-
LOAD?”, FILE_NAME
$
40
ASSIGN @FILE TO FILE_NAME$; FORMAT ON
50
ON END @FILE GOTO DONE
60
OUTPUT Addr;”PROG:DEL”
70
OUTPUT Addr;”PROG:DEF #0”
80
WHILE (1)
90
ENTER @FILE; LINE$
100
OUTPUT Addr; LINE$
110
END WHILE
120
DONE: !
130
OUTPUT Addr; ” ” END
140
PRINT ”Done with down-load”
150
END
Figure 8-6
Download Program for Computers using GPIB
To verify that your code was downloaded, type in the command-
OUTPUT
714;”PROG:EXEC ‘LIST ’”
. Your program should be listed on the Agilent
8922M/S’s IBASIC Controller screen.
Summary of Contents for 8922M
Page 8: ...Contents Contents 6...
Page 21: ...1 1 1 Installing Your Agilent 8922M S...
Page 24: ...1 4 Installing Your Agilent 8922M S Fuses and Power Cords Power Cords Agilent Part Agilent...
Page 29: ...2 1 2 Making Measurements...
Page 59: ...2 31 Making Measurements If You Have Problems with a Measurement Figure 2 16...
Page 61: ...2 33 Making Measurements If You Have Problems with a Measurement Trigger Range For Pulsed RF...
Page 75: ...2 47 Making Measurements Advanced Features...
Page 76: ...3 1 3 Verifying Performance...
Page 106: ...3 31 Verifying Performance Agilent Technologies 8922M S Specifications...
Page 236: ...4 130 Screens Tests...
Page 237: ...5 1 5 Keys...
Page 238: ...5 2 Keys Key Map Key Map...
Page 276: ...6 28 Connectors Timing Diagrams Figure 6 3 Digital Demod Timing Diagram...
Page 277: ...6 29 Connectors Timing Diagrams Figure 6 4 Frequency Hop Timing Specification Table...
Page 278: ...6 30 Connectors Timing Diagrams Figure 6 5 RF Generator Hop Address Source Ext Timing Diagram...
Page 279: ...6 31 Connectors Timing Diagrams Figure 6 6 RF Analyzer Hop Address Source Ext Timing Diagram...
Page 280: ...6 32 Connectors Timing Diagrams Figure 6 7 RF Generator Hop Address Source Int Timing Diagram...
Page 281: ...6 33 Connectors Timing Diagrams Figure 6 8 RF Analyzer Hop Address Int Timing Diagram...
Page 282: ...6 34 Connectors Timing Diagrams Figure 6 9 Reset Hop Once Address Source Int Timing Diagram...
Page 284: ...6 36 Connectors Timing Diagrams Figure 6 11 Hop Inhibit Address Source Int Timing Diagram...
Page 297: ...8 1 8 Instrument BASIC...
Page 341: ...A 1 A APPENDIX A...
Page 364: ...A 24 APPENDIX A Protocol Log of a Typical Call...
Page 365: ...B 1 B Glossary...
Page 370: ...B 6 Glossary...