ris
Checking the status of commands and processes
Contents
Last date of modification : 2010/10/18
Syntax
- ANSWER = ris( ID, 'QUESTION')
| Inputs | Description | VALUE |
| ID | Identification-vector of a command or a process | a returned value by rmove, rset or rprocess |
| Description | 'QUESTION' | ANSWER |
| Command-ID: Is the execution started ? Is the execution finished ? | 'started' 'finished'[DEFAULT] | true/false true/false |
| Process-ID: Is the process started ? Is the process pending ? Is the process finished ? | 'started' 'pending' 'finished'[DEFAULT] | true/false true/false true/false |
Description
ris 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.
Examples
Checking if a motion completed
%Moving to 10 points ID = rmove( h, P(1:10) ); while ~ris( ID ) disp('Motion not finished'); end disp('Motion finished');
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