notify

Description

Use this Task when the program proceeds to a node and the external device is required for the process

For example, when a certain branch is proceeded by the program and an external device is required to send a branch command again, a notify Task can be connected at the end of this branch, and a message is sent to the adapter to obtain the command of the external device

Parameters

BasicNonMove

See General Parameters of Non-Move Tasks

serviceName

The adapter obtains the message of this Task by service name. If there are multiple notify Tasks in the project, all notify Tasks should use the same service name

message

The adapter executes different logic according to the content of the message, such as if the branch operation ends, the message can be set to: finish

actionWhenFailed

when the notify message is not sent successfully, the actions done by the software

needRobotStop

the default is True, the robot will pause when proceeding to this Task; if set to False, the robot can send messages while running

timeout

If no message is sent exceeding this time, perform the actions setted at actionWhenFailed, the unit is ms