command. When the measurement results can b e read bya
controller under the IDLE state, the
FETCh?
command must be
used.
2.
*TRG
common command or
Group Execution Trigger
(
GET
) bus
command
In the WAIT FOR TRIGGER state, the HP 4284A is triggered
by sending the
*TRG
common command or
GET
bus command,
and the measurement results in one trigger sequence can be read
without sending the
FETCh?
command under the IDLE state.
Thus,
\
*TRG
"=\
TRIGger:IMMediate;:FETCh?
"
Figure 7-11 and Figure 7-12 shows the dierence between the
TRIGger:IMMediate
command and
*TRG
or
GET
command by using
the sample programs.
10 ASSIGN @Meter TO 717
20 REMOTE @Meter
30 OUTPUT @Meter;"*RST;*CLS"
40 OUTPUT @Meter;"TRIG:SOUR BUS"
50 OUTPUT @Meter;"ABORT;:INIT"
60 OUTPUT @Meter;"TRIGGER:IMMEDIATE"
70 OUTPUT @Meter;"FETCH?"
80 ENTER @Meter;A,B,C
90 PRINT A,B,C
100 END
Figure 7-11. TRIGger:IMMediate Command Sample Program
10 ASSIGN @Meter TO 717
20 REMOTE @Meter
30 OUTPUT @Meter;"*RST;*CLS"
40 OUTPUT @Meter;"TRIG:SOUR BUS"
50 OUTPUT @Meter;"ABORT;:INIT"
60 OUTPUT @Meter;"*TRG"
70 ENTER @Meter;A,B,C
80 PRINT A,B,C
90 END
Figure 7-12. *TRG or GET Command Sample Program
7-14 Remote Control