Вы просматриваете старую версию данной страницы. Смотрите текущую версию.

Сравнить с текущим просмотр истории страницы

« Предыдущий Версия 4 Следующий »

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

  1. Assemble a robot scheme with the actions.

    2. Set the "Start robot" (first robot) action parameters.

    3. Set the "Start robot" (second robot) action parameters.

    4. Set the "Add object" (first robot) action parameters.

    5. Set the "Add object" (second robot) action parameters.

    6. Set the "Wait for the end of several robots" action parameters.

    7. Set the "Show message" action parameters.

    8. Click "Start" in the top panel.

Result

The program robot completed successfully.

A dialog box about robot completion is displayed.

  • Нет меток