This method waits until the specified Command object executes, or until Timeout seconds pass.
- Command
- This is an expression that evaluates to a Command object. This is the command that is waited for.
- timeout
- This is the number of seconds (a Long value) to wait for the command to finish execution. If you have a non-positive value, the method waits indefinitely.
- Arm
Boolean value. This methods immediately returns FALSE if the measurement routine is not executing. It returns TRUE if the specified Command executes before Timeout seconds pass. It returns FALSE if the Command does not execute before Timeout seconds pass. If Timeout is a non-positive value, and the Command never executes, this function never returns a value.