Wait
- Last UpdatedOct 29, 2026
- 1 minute read
Pauses the project for a specified number of milliseconds.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
Wait |
Module Activity |
Synchronous |
No |
Supported |
Supported |
Supported |
Supported |
Supported |
Syntax
Wait ( numMillisec )
numMillisec
A numerical value or an The value; the number of milliseconds to wait.
Returned value
No returned values.
Notes
This function is normally used only in Math worksheets, but it can also be used in any VBScript interface.
Note: It is dangerous to use this function anywhere in your project because while the project is paused, all incoming information from shared databases and connected devices will be ignored. Thoroughly test any project that uses this function.
Examples
|
Tag Name |
Expression |
|---|---|
|
Wait( 1000 ) |