Syntax |
Example |
Description/Remarks |
SLEEP milliseconds |
SLEEP 20000 This causes the template to wait 20 seconds before performing the next function, during which time the user cannot interact with the screen. SLEEP 1000 Causes the template to wait for 1 second before performing the next function. |
SLEEP will delay template functioning for the specified number of milliseconds, with 1000 milliseconds = 1 second. This command does not allow the user to perform other functions on the screen, such as clicking the Data Table tab to view detailed information, while waiting for the template to proceed. During the delay period, the SLEEP command uses up all available CPU resources, essentially preventing the user from performing other functions on the workstation. To implement a delay where the user can perform other functions on the workstation during the delay, use DOZE. SLEEP does not display a special interface to the user during the delay. To implement a delay with a user interface, use DELAY or TIMER_DELAY. This command does not return a value. |