
Programming
Examples
1751
OUTPUT
@Rec;"OUTPERRO;"
1753
ENTER
@Rec_data1;Error_number,Input$
1755
Error_number,Input$
1757
!
1759
END
LOOP
1761
RETURN
1763
!
1765
Example17:
!
READ
AND
OUTPUT
STATUS
BYTES
*************
1767
!
1769
1771
"Example
17,
Read
and
Output
Status
Bytes"
1773
LOOP
1775
OUTPUT
@Rec;"cles;"
1777
LOCAL
@Rec
1779
LINPUT
"Adjust
Receiver
&
Press
Return
to
Read
Status
(E
to
Exit)",Input$
1781
EXIT
IF
UPC$(Input$)="E"
1783
OUTPUT
@Rec;"OUTPSTAT;"
!
output
and
clear
status
1785
ENTER
@Rec_data1;Bytea,Byteb
1787
"Primary
=";Bytea,"Extended
=";Byteb
1789
END
LOOP
1791
RETURN
1793
!
1795
Example18:
!
OUTPUT
KEY
CODE
**************************************
1797
!
1799
1801
"Example
18,
Output
Key
Code"
1803
DISP
"PRESS
HP
8530
Front
Panel
Key.
(f5
to
EXIT.)"
1805
!
1807
OUTPUT
@Rec;"DEBUON;
CLES;
SRQM
128,2;"
!
set
mask
for
key
press
1809
ON
INTR
7
GOSUB
Key_code
1811
ENABLE
INTR
7;2
1813
GOSUB
Blank_keys
1815
ON
KEY
5
LABEL
"
NEXT
EXAMPLE"
GOTO
Exit_example18
1817
GOTO
Wait_loop
1819
!
1821
Exit_example18:
!
1823
DISABLE
INTR
7
1825
GOSUB
Keys_off
1827
""
1829
RETURN
1831
!
1833
Key_code:
!
1835
Ser_poll=SPOLL(@Rec)
1837
OUTPUT
@Rec;"OUTPKEY;"
1839
ENTER
@Rec_data1;A
1841
A;
1843
ENABLE
INTR
7
1845
RETURN
1847
!
1849
Example19:
!
HPIB
TRIGGERED
DATA
ACQUISITION
********************
1851
1853
"Example
19,
HPIB
Triggered
Data
Acquisition"
1855
!
1857
OUTPUT
@Rec;"USERPRES;
STEP;
FOURP;
CLES;
TRGSHPIB;
POIN
51;"
1859
GOSUB
Ready_for_trig
1861
OUTPUT
@Rec;"STITON;
PAR1TOFF;
PAR2TOFF;
PAR3TOFF;
PAR4TOFF;"
1863
Trigs=51
!
number
of
triggers
to
be
sent
1865
"One
trigger
per
point
measures
all
parameters."
1867
LINPUT
"Press
Return
to
start
Triggered
sweep.",Input$
1869
GOSUB
Send_triggers
1871
!
1873
OUTPUT
@Rec;"CLES;
TRGSHPIB;"
1875
GOSUB
Ready_for_trig
18-50
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: ......