Creating your first project

Creating the frame of a Workers application is as easy as creating a new blank project in LabVIEW and then using the Create/Add Worker tool to build up the functional frame of a Workers application.

For example, to create the Worker call-chain hierarchy in the diagram above, you need to perform only the following steps:

  1. Create a blank LabVIEW project and save it.

  2. Open the Create/Add Worker tool to create the head Worker of the application: Worker A. Being the first Worker in blank project, the Create/Add Worker tool will also offer to create a Launcher VI for you.

  3. Use the Create/Add Worker tool twice more to create and add Worker B and Worker C to Worker A.

After using the Create/Add Worker tool, you will be left with the functional frame of an application. If you run the head Worker using its Launcher VI, each of the three Workers will be launched sequentially. And if you shutdown the head Worker, each of the three Workers will be shutdown sequentially.

All you have to do now is create the specific functionality for each Worker. I.e. the reason for the Worker to exist in your application, as a UI, or data logger, etc.

Worker A, B and C are placeholders for the actual names of the Workers that you will create.

Next steps...

If you aren't ready to create your first application yet, you can see how a basic Workers application is assembled and operates, by checking out the Fundamentals sample project, which demonstrates the basic functionality of a Workers application and the Workers messaging API.

Last updated