8-19
Instrument BASIC
Entering and Editing Programs
Line-by-line Entry and Editing
Program lines in the Agilent 8922M/S’s RAM can be entered and edited one line at
a time from your computer using the PROG command -
OUTPUT Addr;”PROG:EXEC ‘<program line/command> ’”
with <program/command> representing any command or program line you want to
enter.
For example, to enter or change line 20 of a program to ‘20 A=3.14’, you would
enter the following command on your computer
OUTPUT Addr;”PROG:EXEC ‘20 A=3.14 ’”
Quoted strings, such as those used in PRINT commands, must use double quotes.
Example -
OUTPUT Addr;”PROG:EXEC ‘30 PRINT “”TEST”” ’”
Using a Terminal
A connected terminal, or PC using a terminal emulator, is used to enter characters
directly into the Agilent 8922M/S IBASIC Controller’s command line.
Editing a program line requires you to re-enter the full line with corrections.
Configuring your terminal/PC for this operation is explained in this chapter, ‘Serial
Port Configuration for Programming” on page 8-6.
Entering Commands
When program lines or commands are entered, you press the ENTER key on your
terminal to execute the command. For example, to LIST a program in RAM you
would type LIST,
This differs from using the Cursor Control knob to enter characters where you select
‘Done’ to execute the command.
ENTER
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...