
30
Chapter 2
Remote Control, Overview
The Basics of Writing/Running Programs
The Basics of Writing/Running Programs
An easy way to write a program
The following describes a procedure for writing an Instrument BASIC program as an
example of simple programming. For more on how to use Instrument BASIC, see Chapter
11 , “Using HP Instrument BASIC.”
This example sets the Agilent 4294A as shown below.
In this example, the program can be input by only using the keys located on the front panel
without having to touch the keyboard. You can also enter the program with the keyboard.
Step 1.
Turn on the Agilent 4294A.
Step 2.
Press the following key and soft keys.
[System]
-
IBASIC
-
Edit
The system goes into system edit mode. The cursor appears on line 10.
10 _
Step 3.
Press the following soft keys.
ASSIGN @Hp4294
The command automatically appears at the cursor position.
10 ASSIGN @Hp4294 TO 800_
Step 4.
Press the entry following key.
[
×
1]
The command is entered into the System, and the cursor moves to the next line.
10 ASSIGN @Hp4294 TO 800
20 _
Step 5.
Press the following soft keys.
OUTPUT @Hp4294
Character strings appear as shown below.
10 ASSIGN @Hp4294 TO 800
20 OUTPUT @Hp4294;""
ACTIVE TRACE block
Trace A (default setting)
MEASUREMENT block
Cs-Rs
Linear Y-axis format (default setting)
Display scale: automatic
SWEEP block
Center frequency: 70 MHz
Span frequency: 100 kHz
Summary of Contents for 4294A
Page 4: ...4 ...
Page 18: ...18 Contents ...
Page 24: ...24 Chapter1 To make effective use of this manual Other manuals attached to this unit ...
Page 94: ...94 Chapter6 Reading Writing Measurement Data Reading Writing Data ...
Page 110: ...110 Chapter7 Processing Measurement Results Analyzing Measurement Results ...
Page 136: ...136 Chapter10 Handling Errors Sample program for error handling ...
Page 246: ...246 13 Application Sample Programs File Transfer Function ...
Page 254: ...254 Chapter15 Setting the Display LCD Sample program for setting the LCD screen ...
Page 507: ...Index Index 507 Index ...
Page 508: ...508 Index Index ...
Page 509: ...Index Index 509 Index ...
Page 510: ...510 Index Index ...
Page 511: ...Index Index 511 Index ...
Page 512: ...512 Index Index ...
Page 513: ...Index Index 513 Index ...
Page 514: ...514 Index Index ...
Page 515: ...Index Index 515 Index ...
Page 516: ...516 Index Index ...
Page 517: ...Index Index 517 Index ...
Page 518: ...518 Index Index ...