
Programming
Examples
2005
OUTPUT
@Rec;"WAIT;
ENTO;"
!
This
WAIT
insures
that
the
8530
updates
2007
!
the
display
before
executing
more
commands
2009
!
2011
T=T+.25
!
tint
value
increment
2013
IF
T>100
THEN
T=0
2015
NEXT
P
2017
NEXT
N
2019
GOTO
Eled
2021
!
2023
Exit_example20:
!
2025
OUTPUT
@Rec;"DEFC;"
!
Default
Colors
2027
GOSUB
Keys_off
2029
RETURN
2031
!
2033
Example21:
!
WAIT
Not
Required
(holdoff
included
in
OUTPxxxx)
**********
2035
2037
"Example
21,
Wait
Not
Required
(OUTPUxxxx
holds
off
further
execution)"
2039
!
2041
GOSUB
Blank_keys
2043
ON
KEY
5
LABEL
"
NEXT
EXAMPLE"
GOTO
Exit_example21
2045
!
2047
OUTPUT
@Rec;"USERPRES;
LOGM;
SING;
AUTO;
STAR;
OUTPACTI;"
2049
ENTER
@Rec;Freq1
2051
OUTPUT
@Rec;"STOP;
OUTPACTI;"
2053
ENTER
@Rec;Freq2
2055
!
2057
OUTPUT
@Rec;"MARK1"
2059
LOOP
2061
FOR
N=Freq1
TO
Freq2
STEP
(Freq2-Freq1)/50
2063
OUTPUT
@Rec;N;";"
!
move
marker
to
new
frequency
2065
OUTPUT
@Rec;"OUTPACTI;"
2067
ENTER
@Rec;Freq
!
read
current
marker
frequency
2069
OUTPUT
@Rec;"OUTPMARK;"
2071
ENTER
@Rec;Mag,Phase
2073
DISP
"Marker
is
";Mag,Phase;"
@
";Freq;"Ghz"
2075
NEXT
N
2077
END
LOOP
2079
!
2081
Exit_example21:
!
2083
GOSUB
Keys_off
2085
OUTPUT
@Rec;"CONT;"
2087
RETURN
2089
!
2091
Example22:
!
Enter
Frequency
List
****************
2093
!
2095
2097
"Example
22,
Frequency
List"
2099
!
2101
OUTPUT
@Rec;"PARA1;"
2103
OUTPUT
@Rec;"EDITLIST;"
2105
OUTPUT
@Rec;"SADD;
STAR
2
GHz;
STOP
4
GHz;
STPSIZE
100
MHz;
SDON;"
2107
OUTPUT
@Rec;"SADD;
STAR
4
GHz;
STOP
8
GHz;
STPSIZE
200
MHz;
SDON;"
2109
OUTPUT
@Rec;"SADD;
STAR
8
GHz;
STOP
16
GHz;
STPSIZE
400
MHz;
SDON;"
2111
OUTPUT
@Rec;"DUPD;
EDITDONE;"
2113
OUTPUT
@Rec;"LISFREQ;
SING;"
2115
!
2117
LINPUT
"Press
Return
to
Output
Frequency
List
and
Data.",Input$
2119
!
2121
OUTPUT
@Rec;"POIN;
OUTPACTI;"
2123
ENTER
@Rec_data1;Points
2125
REDIM
Freq_list(Points-1),Data(Points-1,1)
2127
!
2129
"Read
Frequency
List
and
Data
from
HP
8530."
18-52
HP-IB
Programming
Содержание 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: ......