
Programming
Examples
869
LINPUT
"Press
Return
for
START
FREQ
=
MARKER",Input$
871
OUTPUT
@Rec;"STAR;
EQUA;"
873
!
875
OUTPUT
@Rec;"MARK2";Freq+1.E+9;";"
877
"Stop
Frequency
=
Marker"
879
LINPUT
"Press
Return
for
STOP
FREQ
=
MARKER",Input$
881
OUTPUT
@Rec;"STOP;
EQUA;"
883
!
885
OUTPUT
@Rec;"PHAS;
AUTD;
MARK3";Freq;";"
887
"Phase
Offset
=
Marker"
889
LINPUT
"Press
Return
for
PHASE
OFFSET
=
MARKER",Input$
891
OUTPUT
@Rec;"PHAO;
EQUA;"
893
!
895
RETURN
897
!
899
Example7:
!
TRACE
DATA
OUTPUT
/
INPUT
***********************
901
!
903
905
"Example
7,
Trace
Data
Output
/
Input
(FORM3)."
907
!
909
!
Output
data
from
receiver
911
OUTPUT
@Rec;"USERPRES;"
913
OUTPUT
@Rec;"POIN201;
SING;
LINP;
AUTO;
FORM3;
OUTPDATA;"
915
ENTER
@Rec_data2;Preamble,Size,Data(*)
917
!
919
"First
and
last
data
points
of
output
corrected
data
array
:"
921
"Point:
1";TAB(13);"Real:";Data(0,0);TAB(36);"
Imag:";Data(0,1)
923
"Point:
201";TAB(13);"Real:";Data(200,0);TAB(36);"
Imag:";Data(200,1)
925
!
927
OUTPUT
@Rec;"MARK1;"
929
LOCAL
@Rec
931
INPUT
"Corrected
data
array
read.
Press
<<Return>>
to
Continue",Input$
933
!
935
!
Input
data
to
receiver
937
OUTPUT
@Rec;"ENTO;
POIN201;"
!
Zero
Trace
for
effect
939
LINPUT
"Data
Zeroed,
Press
Return
To
Write
Data
To
8530",Input$
941
!
943
OUTPUT
@Rec;"FORM3;
INPUDATA;"
945
OUTPUT
@Rec_data2;Preamble,Size,Data(*)
947
"Corrected
array
data
Written
(input)
to
8530."
949
!
951
RETURN
953
!
955
Example8:
!
FORM1
DATA
CONVERSION
************************
957
!
959
961
"Example
8,
Form1
Data
Conversion"
963
!
965
!
This
example
reads
FORM1
data
(internal
binary
format)
and
converts
967
!
it
to
real
&
imaginary,
linear
magnitude,
log
magnitude
and
phase.
969
!
The
data
arrays
size
will
automatically
adjust
for
any
number
of
971
!
measurement
points.
Converted
values
are
printed
for
the
first
and
973
!
last
points.
975
!
977
OUTPUT
@Rec;"SING;
MARK1;"
979
OUTPUT
@Rec;"FORM1;
OUTPDATA;"
!
or
OUTPRAWn;
OUTPDATA;
OUTPFORM;
981
!
or
OUTPDELA;
OUTPMEMO;
983
!
note:
if
using
OUTPFORM,
Data_re(I)
will
be
in
the
current
display
985
!
format
and
Data_im(I)
will
=
0
for
all
display
formats
that
987
!
are
not
plots
of
real
/
imaginary
pairs.
Calculated
linear,
989
!
log
and
phase
values
are
not
valid.
991
ENTER
@Rec_data2;Preamble,Size
!
Size/6
=
number
of
data
points
993
!
HP-IB
Programming
18-43
Содержание 8530A
Страница 9: ......
Страница 31: ......
Страница 34: ...General Information Figure 1 2 Antenna Measurement Setup Using an HP 85310A GeneralInformation 1 3 ...
Страница 51: ......
Страница 65: ......
Страница 81: ......
Страница 83: ......
Страница 84: ...5 Menus Block Chapter Contents Calibration Domain Display Markers MenusBlock 5 1 ...
Страница 85: ...5 2 Menus Block ...
Страница 90: ...Calibration Requirements Figure 5 1 Cal and Cal Type Menus MenusBlock 5 7 ...
Страница 93: ...Antenna Calibration 5 10 MenusBlock ...
Страница 167: ......
Страница 195: ......
Страница 201: ......
Страница 209: ......
Страница 249: ......
Страница 281: ......
Страница 411: ......
Страница 419: ...Glossary Glossary 8 ...
Страница 439: ......