wait¶
Pauses the execution for a specific duration
This command will wait for a given time before proceeding to the next command within the block.
This command will not stop the execution of other blocks associated with other states. For example, if you defined a periodic block of command execution earlier in your Experiment (using the Every OEDL command), and call a wait in another block of commands (e.g. defined inside a WhenAllInstalled), then this call will only pause the execution of the commands in that last block.
Syntax¶
wait(time_to_wait_in_sec) or wait time_to_wait_in_sec
Usage¶
1 whenAllInstalled {
2 ...
3 property.rate = 512
4 wait 30
5 property.rate = 1024
6 wait 30
7 ...
8 }
The Basic "Hello-World" Tutorial gives a another usage example for these commands.