ROUTe:SEQuence:WAIT

34980A

ROUTe:SEQuence:WAIT

Syntax

ROUTe:SEQuence:WAIT

Description

This command waits for the current sequence to finish execution before executing any additional commands over the interface (similar to the *WAI command).

Remarks

  • To abort a sequence execution, use the ROUTe:SEQuence:ABORt command or a Device Clear. When the sequence is terminated, the resultant instrument state will be determined by how much of the sequence had been executed when the ABORt/Device Clear was received.

  • If the command overlap function is enabled (see ROUTe:OPERation:OVERlap[:ENABle] command), all switching operations within the sequence follow the overlapping rules. If the command overlap function is disabled, all commands within the sequence are processed in a serial fashion in the exact order in which they are received. Note, however, that within a single command containing a <ch_list> parameter (e.g., ROUT:CLOSE (@1001:1010)), the order of the individual switch operations is not guaranteed.

Example

The following program segment executes a sequence named "MYSEQ_1", which closes several channels on the module in slot 1 and opens a single channel on the module in slot 2. After executing the sequence, the module waits for completion prior to opening all channels on the module in slot 2.

ROUT:SEQ:DEF MYSEQ_1,"ROUT:CLOS (@1001:1009);OPEN (@2001)"  !Define sequence
ROUT:SEQ:TRIG MYSEQ_1; :ROUT:SEQ:WAIT ;:ROUT:OPEN:ALL 1  !Execute sequence, wait for completion

See Also

*WAI

ROUTe:OPERation:OVERlap[:ENABle]

ROUTe:SEQuence:ABORt

ROUTe:SEQuence:BUSY?