(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.


icon

Inputs/Outputs

  • cActor_Framework_lvlib_Messagelvclass.png Message

    Message specifies the message the actor received.

  • cActor_Framework_lvlib_Actorlvclass.png Actor in

    Actor in specifies the actor.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • iActor_Framework_lvlib_Actorlvclass.png Actor out

    Actor out returns the actor.

  • ierrcodeclst.png 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.