![Agilent Technologies 4294A Programming Manual Download Page 87](http://html.mh-extra.com/html/agilent-technologies/4294a/4294a_programming-manual_2867882087.webp)
Chapter 6
87
Reading/Writing Measurement Data
Reading/Writing Data
6. Reading/W
riting
2
. Cha
p
te
r T
itle
3
. Chap
te
r T
itle
4
. Chap
te
r T
itle
5. Chap
te
r T
itle
Me
asur
eme
n
t Da
ta
Reading level monitoring results
To read monitoring results of oscillator (OSC) power and dc bias levels, you need to use
the following commands to turn ON the level monitor function before starting
measurements:
•
“OMON” on page 365
•
“BMON” on page 272
Use the following commands to read the level monitoring results:
•
“OUTPVAC?” on page 394
•
“OUTPVACP?” on page 395
•
“OUTPIAC?” on page 380
•
“OUTPIACP?” on page 381
•
“OUTPDC?” on page 376
•
“OUTPDCP?” on page 376
Example 6-3 shows a sample program to read the level monitoring results. This program is
available under the filename of “lvl_mon.bas” on the sample program disk.
This program specifies the oscillator power and dc bias levels, turns ON the level monitor
function, performs a sweep once, and reads and displays the level monitoring results.
Lines 50 to 110
Identifies the external controller and Instrument BASIC and sets the
GPIB address.
Lines 130 to 170 Substitutes the selected signal source output mode, the signal source
output level, the dc bias level, the dc bias range, and the selected dc
bias monitor function into the corresponding variables Osc_mode$,
Osc_pow, Dc_bias, Dc_b_rng$, and Mon_bias$, respectively.
Lines 190 to 220 Resets the Agilent 4294A and then sets the sweep start point, the
sweep stop point, and the number of measurement points to 10 MHz,
20 MHz, and 11, respectively.
Lines 230 to 270 Sets the signal source output mode, the signal source output level, the
dc bias level, and the dc bias range to Osc_mode$, Osc_pow, Dc_bias
and Dc_b_rng$, respectively.
Lines 280 to 300 Turns ON the dc bias output and the signal source output level monitor
function and sets the selected dc bias monitor function to Mon_bias$.
Lines 320 to 340 Performs sweep once and waits for the sweep to be completed.
Line 360
Specifies the IEEE 64-bit floating point format as data transfer format.
Lines 380 to 410 Reads the signal source voltage level found by monitoring and stores it
in “Mon_osc_v(*).”
Lines 430 to 460 Reads the signal source current level found by monitoring and stores it
in “Mon_osc_i(*).”
Lines 480 to 510 Reads the DC bias level found by monitoring and stores it in
“Mon_bias(*).”
Lines 530 to 560 Reads the sweep parameter array and stores it in “Swp_prm(*).”
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 ...