Command: |
Wait |
---|---|
Command Syntax: |
Wait timeInSeconds Suspends execution for a period of timeInSeconds seconds. |
Range |
0 through 100 |
Describe: |
Wait may be used in TI-Innovator™ Hub programs to allow time for sensor or control communications prior to the program executing the next command line. Wait is particularly useful in a program that needs a brief delay to allow requested data to become available. The argument timeInSeconds must be an expression that simplifies to a decimal value in the range 0 through 100. The command rounds this value up to the nearest 0.1 seconds. Note: You can use the Wait command within a user-defined program but not within a function. |
Result: |
Wait suspends execution of a program for a given time. Maximum time is 100 seconds. During the wait time, the busy indicator is on in the top-right corner of the screen. |
Type or |
Not Applicable |