Table Of Contents

Creating an Abstract Message

Last Modified: February 27, 2020

Create abstract Messages to allow Actors to function independently from their callers.

If you have not already, create an Actor.
  1. Open a project.

    NI recommends using the Actor Framework template on the launcher.

  2. In the Project Files tab, locate the Actor you want to create Messages for.
  3. Right-click the Actor and select Actor Framework»Create abstract message for caller. A namespace that corresponds to the new abstract Message appears within the Abstract Messages namespace. In addition, a class with Read Attributes and Send Actor Abstract Msg and a type definition called Abstract Message Name Data, which acts as the payload for the abstract Message, also appear.
  4. Add data to the type definition to specify the contents of the abstract Message.

Recently Viewed Topics