rwait
Blocking the MATLAB®-prompt until the status of commands or processes fulfills a condition
Contents
Last date of modification : 2010/10/18
Syntax
- rwait( ID, 'CONDITION')
| Inputs | Description | VALUE |
| ID | Identification-vector of a command or a process | a returned value by rmove, rset or rprocess |
| Description | 'CONDITION'' |
| Command-ID: The execution has to be started The execution has to be finished | 'started' 'finished'[DEFAULT] |
| Process-ID: The process has to be started The process has be pending The process has to be finished | 'started' 'pending' 'finished'[DEFAULT] |
Description
wait checks if the execution of a command on the robot-controller started or finished. It also checks if a process is started, is pending or is finished. In all cases the keyword 'finished' is DEFAULT. The MATLAB®-prompt is blocked until the condition is true.
Examples
Blocking until a motion completed
%Moving to 10 points ID = rmove( h, P(1:10) ); %Blocking until it finished rwait(ID);
Back to the Robotic-Toolbox-Index
Robotic-Toolbox (w) by Michael Christern & Artur Schmidt / Research Group Computational Engineering and Automation / University of Applied Sciences Wismar / Germany 2010