I
-
I
-
Automating Measurements
Saving Measurement Results
Saving
the
Measurement
to
Disk-Save
Data
Similar to Save ASCII, the analyzer can also save the measurement data onto
disk as an instrument state
lile.
Use
Def
ino
Save
, and turn Data ON and
turn Inst State and Cal OFF
Tip
A file saved in this manner is smaller than a file saved using
S2tvo
AZ&Z3
.
Save Data uses 6 bytes per point, as opposed to about 20 bytes per point for
Sawe
&XXI
. However, the file type is binary, and contains a header, making it difficult to read.
Querying
Marker
Searches
The analyzer can measure a
hlter
and compute its center frequency,
bandwidth, Q, and Loss. You can query this information using the SCPI
command
CALC:MARK:FUNC:RES?
For example:
10 OUTPUT @Rf na;
“CALC
: MARK : BWID
-3”
! -3
dB
bandwidth
20 OUTPUT
QRfna;“CALC:MARK:FUNC:RES?”
! Get result of bandwidth search
30 ENTER
QRfna;Bwidth,Center,freq,q,loss
For more details, refer to the “Example Programs” chapter of the
Programmer’s Guide.
7-74
I-