EasyManua.ls Logo

Agilent Technologies 4339B - Page 133

Agilent Technologies 4339B
287 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4339B
Reading
Out
Measured Result
Reading
out
measured
result
using
*TRG
command
This
command
actually
performs
two
tasks:
it
triggers
the
instrument
and returns
the results
.
It
is
useful,
for
example
,
when you
want to
retrieve measurement
results immediately
after
triggering
the
instrument
from
an
external
controller.
The
readout
procedure
using
the
*TRG
command is
described below
.
1.
Use
the
:TRIG:SOUR
command
to
set
up
the
trigger
mode to
the GPIB
trigger (Bus).
2.
Execute
the
*TRG
command.
3.
Read
out
the
measured
result.
To
repeat the
measurement, repeat
Steps 2
and
3.
Figure
4-4
and
Figure
4-5
show
sample programs
using the
*TRG
command.
Figure 4-4
is
for
the
ASCII
transfer
format
and
Figure
4-5 is
for the
binary transfer
format.
These
programs
read
out
the measurement
status,
measured parameter
result,
and
comparator
sorting
result
(when
the comparator
function is
ON) and
then
display
this
information.
The
program
of
Figure
4-4
is
detailed below
.
Line
60
Sets
the
GPIB
address
.
Line
70
Sets
the
data
transfer
format
to
the
ASCII
format.
Lines
90
to
100
Turns
ON
the
trigger
system
continuous
startup
and
sets
the
trigger
mode
to
the
GPIB
trigger
.
Lines
120
to
130
Reads
out
the
ON/OFF
state
of
the
comparator
function and
assigns it
to
the
Comp
ag
variable
.
Lines
170
to
210
After
the
trigger
system
state
transitions
to
the
trigger
wait
state
, triggers
the
instrument.
Line
230
If
the
Comp
ag
value
is
1
(the
comparator
function
is
ON), reads
out
the
measurement
status
,
measured
parameter
result,
and
comparator
sorting
result.
Line
250
If
the
Comp
ag
value
is
not
1
(the
comparator function
is OFF),
reads
out
the
measurement
status
and
measured
parameter result.
Lines 300
to 310
Displays the
measurement
status
and
measured
parameter
result.
Line 330
If the
Comp
ag value
is 1
(the comparator
function is
ON),
displays
the
comparator sorting
result.
Line
350
If
the
Comp
ag
value
is
not
1
(the
comparator
function
is
OFF),
displays
\Comparator : OFF
."
Remote Operation 4-15

Other manuals for Agilent Technologies 4339B

Related product manuals