*WAI
*WAI
Syntax
*WAI
Description
This command waits for all pending operations to complete before executing any additional commands over the interface.
Remarks
- Function and range changes are considered pending operations. Therefore, *WAI will wait for these changes to complete.
- Because this command stops the command parser from operating, it is better to use *OPC? for synchronization purposes.
Examples
The following command waits until all pending operations complete.
INIT; *WAI; :ROUT:CLOS(@101) ! Ensures that the scan started by the INIT finishes
! before the ROUT:CLOS command is executed.