The wait_for_devices command allows the script writer to halt the script at the appropriate time and wait for a hardware component to complete its current task.
This command does not freeze the BLU-ICE GUI or the scripting engine while the script is waiting for the event that will trigger the wait_for_devices command to return.
wait_for_devices deviceName1 [deviceName2 [deviceName3 [...]]]