Wait for the end of several robots Version 2 (Java)
Action group: Robot management
Description
The action waits for the end of several robots.
Action icon
Settings of parameters
Свойство | Англ. наименование | Описание | Тип | Пример заполнения | Обязательность заполнения поля |
---|---|---|---|---|---|
Параметры | |||||
Идентификаторы роботов | Robot IDs | Коллекция идентификаторов роботов | Robin.Collection | Да | |
Тайм-аут, мс | Timeout, ms | Предельное время ожидания ответа от агента о завершении работы роботов. Измеряется в миллисекундах. Если указано "-1", действие ждет ответа от агента бесконечно долго. | Robin.Numeric | Да |
Special conditions of use
If the robot and/or robots have not completed within the specified wait time, display an error that includes the robot IDs and names.
Example of use
Task
Wait for the end of several robots running locally and, afterwards, display a dialog box with the message "The robots have completed their work".
Solution
Use the "Start robot", "Add object", "Wait for the end of several robots", "Show message" actions.
Implementation
- Assemble a robot scheme with the actions.
2. Set the "Start robot" (first robot) action parameters.
8. Click "Start" in the top panel.
Result
The program robot completed successfully.
A dialog box about robot completion is displayed.
Обзор
Инструменты контента