4349B
To
Trigger a
Measurement
The
following
commands
are
used to
trigger measurements
from an
external controller
and to
handle
the
4349B
's
trigger system.
Refer to
\Trigger System
"in
Chapter 5
for the
information
about
the
4349B
's
trigger system.
:TRIG
:TRIG:SOUR
:INIT
:INIT:CONT
:ABOR
*TRG
:FETC?
Group
Execution
Trigger (GET)
F
or
example,
to set
the Internal
trigger
mode:
:
OUTPUT
717;":TRIG:SOUR
INT"
OUTPUT
717;":INIT:CONT
ON"
LOOP
OUTPUT
717;":FETC?"
ENTER
717;S1,D1,S2,D2,S3,D3,S4,D4
PRINT
S1,D1,S2,D2,S3,D3,S4,D4
END
LOOP
:
F
or
example
,
to
set
to
the
Manual
trigger
mode:
:
OUTPUT
717;":STAT:OPER:ENAB
16"
OUTPUT
717;"*SRE
128"
ON
INTR
7
GOSUB
Data_available
ENABLE
INTR
7;2
!
OUTPUT
717;":TRIG:SOUR
MAN"
OUTPUT 717;":ININ:CONT
ON"
LOOP
LOCAL 717
!
Press
the
Trig
key.
END LOOP
!
Data_available:
!
OUTPUT 717;":FETC?"
ENTER 717;S1,D1,S2,D2,S3,D3,S4,D4
PRINT S1,D1,S2,D2,S3,D3,S4,D4
A=SPOLL(717)
OUTPUT 717;":STAT:OPER?"
ENTER 717;A
ENABLE 7;2
RETURN
:
4-10 Remote Operation