Chapter 4 Remote Interface Reference
Triggering
83
4
To ensure synchronization when the bus source is selected, send the *WAI
(wait) command. When the *WAI command is executed, the power supply
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 is 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 operation is complete.
The *OPC? command returns ‘‘1’’ to the output buffer when the operation
is complete. The *OPC command sets theOPC’’ bit (bit 0) in the Standard
Event register when the operation is complete.
Immediate Triggering
To select the immediate trigger source, send the following command.
‘‘TRIG:SOUR IMM’’
When the IMMediate is selected as a trigger source, an INITiate
command immediately transfers the VOLT:TRIG or CURR:TRIG value to
VOLT or CURR value. Any delay is ignored.