![Agilent Technologies Agilent 4396B Скачать руководство пользователя страница 38](http://html.mh-extra.com/html/agilent-technologies/agilent-4396b/agilent-4396b_gpib-programming-manual_2867995038.webp)
T
o
Get
Measurement
Trace
Using
Binary
F
ormat
Two
programs
are
shown
to
get
the
data
arrays
using
binary
format
in
Figure
4-3
and
Figure
4-5.
Figure
4-3
Figure
4-5
F
or
the
external
controller
F
or
the
Instrument
B
ASIC
Using
REDIM
command
(line
220)
to
allow
for
the
change
in
the
number
of
measurement
points
.
Instrument
B
ASIC
allows
for
a
dierent
number
of
data
points
then
the
number
specied
in
the
data
array
declaration.
Before
running
the
program
in
Figure
4-3,
you
must
modify
the
dimension
of
the
data
arrays
to
match
to
the
analyzer
type
(network
or
spectrum).
(See
the
\Set
the
Receive
Array"
example
.)
d
a
10
!
20
!
Figure
4-3.
To
Get
Measurement
Trace
Using
30
!
IEEE
64-bit
Floating
point
Format
(For
External
Controller)
40
!
50
ASSIGN
@Hp4396
TO
717
60
!
70
INPUT
"ENTER
CENTER
FREQUENCY
(Hz)",F_cent
80
INPUT
"ENTER
FREQUENCY
SPAN
(Hz)",F_span
90
OUTPUT
@Hp4396;"CENT";F_cent
100
OUTPUT
@Hp4396;"SPAN";F_span
110
!
120
OUTPUT
@Hp4396;"CLES"
130
OUTPUT
@Hp4396;"*SRE
4;ESNB
1"
140
ON
INTR
7
GOTO
Sweep_end
!
150
ENABLE
INTR
7;2
!
160
OUTPUT
@Hp4396;"SING"
170
Measuring:GOTO
Measuring
180
Sweep_end:
!
190
DIM
Dat(1:801,1:2),Swp(1:801)
!
For
spectrum
measurement,
change
200
OUTPUT
@Hp4396;"POIN?"
!
"Dat(1:801,1:2)"
to
"Dat(1:801)"
210
ENTER
@Hp4396;Nop
220
REDIM
Dat(1:Nop,1:2),Swp(1:Nop)
230
OUTPUT
@Hp4396;"FORM3"
240
ASSIGN
@Dt
TO
717;FORMAT
OFF
250
OUTPUT
@Hp4396;"OUTPDTRC?"
260
ENTER
@Dt
USING
"%,8A";A$
270
ENTER
@Dt;Dat(*)
280
ENTER
@Dt
USING
"%,1A";B$
290
OUTPUT
@Hp4396;"OUTPSWPRM?"
300
ENTER
@Dt
USING
"%,8A";A$
310
ENTER
@Dt;Swp(*)
320
ENTER
@Dt
USING
"%,1A";B$
Figure
4-3.
Sample
Program
:
T
o
Get
Measurement
Trace
Using
IEEE
64-bit
Floating
P
oint
F
ormat
(F
or
External
Controller)
(1/2)
4-6
Reading
Measurement
Data
Содержание Agilent 4396B
Страница 12: ...Tables A 1 Manual Changes by Serial Number A 1 A 2 Manual Changes by Firmware Version A 1 Contents 6 ...
Страница 32: ......
Страница 52: ......
Страница 68: ......
Страница 72: ......
Страница 92: ......
Страница 96: ......
Страница 99: ...Agilent 4396B Network Spectrum Impedance Analyzer Using Instrument BASIC with the 4396B Printed in JAPAN ...
Страница 100: ...c Copyright 1997 2000 2001 2003 Agilent Technologies Japan Ltd ...
Страница 116: ......
Страница 126: ......
Страница 130: ......
Страница 138: ......
Страница 148: ......
Страница 163: ...C The Keyboard Mini DIN keyboard is following key layout Figure C 1 mini DIN Keyboard The Keyboard C 1 ...
Страница 176: ......