To ensure synchronization when the Bus source is selected, send the
*WAI (wait) command. When the *WAI command is executed, the
function generator waits for all pending operations to complete before
executing any additional commands. For example, the following
command string guarantees that the first trigger is accepted and
executed before the second trigger is recognized.
"TRIG:SOUR BUS;*TRG;*WAI;*TRG;*WAI"
You can use the *OPC? (operation complete query) command or the
*OPC (operation complete) command to signal when the burst or
sweep is complete. The *OPC? command returns “1” to the output
buffer when the burst or sweep is complete. The *OPC command sets
the “operation complete” bit (bit 0) in the Standard Event register
when the burst or sweep is complete.
TRIGger:SOURce?
Query the present trigger source. Returns “
IMM”, “EXT”, or “BUS”.
TRIGger:SLOPe {POSitive|NEGative}
Select the polarity of the Ext Trig terminal. If you select “
POS”, the
polarity of the Ext Trig terminal is the same as described on page 102.
If you select “
NEG”, the polarity is the opposite of what is described.
The default is Positive. [ Stored in volatile memory ]
TRIGger:SLOPe?
Query the present polarity of the Ext Trig terminal. Returns “
POS” or “NEG”.
*TRG
Trigger the function generator from the remote interface. For
RS-232
operation, make sure the interface is in the remote mode by sending the
SYST:REM command.
4
Chapter 4 Remote Interface Reference
Triggering
187