Message:Do
- Updated2025-07-30
- 2 minute(s) read
(Filename: Actor Framework.lvlib:Message.lvclass:Do.vi)
Defines what a message does when it is received by an actor. Generally, a message instructs an actor to invoke one of its methods. By default, this method does nothing. A child class must override it to define behavior.

Inputs/Outputs
Message
—
Message specifies the message the actor received.
Actor in
—
Actor in specifies the actor.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Actor out
—
Actor out returns the actor.
error out
—
error out contains error information. This output provides standard error out functionality. |
Use error out to control the actor's behavior after processing the message:
- To continue running the actor, return no error.
- To shut the actor down normally, return error code 43. The actor will shut down but will not report an error to its caller. Descendants of the Actor class can override the Handle Error method to change this behavior.
- To shut the actor down and report an error to its caller, return any error code other than 43.
Message
—
Actor in
—
error in (no error)
—
Actor out
—
error out
—