Workers for LabVIEW
HomeDownload Follow ProjectAbout
  • Welcome to Workers for LabVIEW
  • What's New in v5.0
    • Upgrading to v5.0
    • New Features
      • Development Tools
      • Functional Changes
      • API Changes
      • Example Projects
      • Change Log
  • Fundamental Concepts
    • What is a Worker?
    • Important Terms
    • The Workers Main VI
      • Default Framework Cases
    • subWorker Types
    • Initialization Sequence
    • Shutdown Sequence
    • Priority Queue
    • Launcher VIs
  • Worker APIs
    • Overview
    • Local Requests
      • Creating Local Requests
    • Public Requests
      • Creating Public Requests
    • Public Requests w/Reply
      • Creating Public Requests w/Reply
    • Public Responses
      • Creating Public Responses
      • Registering Public Responses
    • Case Labels
    • Deleting API Items
  • Workers Tools
    • Workers Tools Menu
      • Create/Add Worker
        • Removing Workers
        • Creating Worker Templates
        • Troubleshooting
      • Workers Debug Server
        • Workers Application Manager
          • Right click menu
        • Worker Message Logs
          • Right click menu
        • Settings
        • Troubleshooting
      • Worker Call-Chain Viewer
      • Worker User Library
        • Config File Editor
      • RT Worker Convert
      • Public API Builder
        • Public Requests
        • Public Requests w/Reply
        • Public Responses
        • Override MHL Cases
      • Create Launcher VI
      • Create Worker Base Class
      • Change Inheritance
      • MHL Case Viewer
      • Change Worker Properties
    • Quickdrop Shortcuts
      • Show Private Data (Ctrl+0)
      • Create MHL Case tool (Ctrl+9)
      • Go To MHL Case (Ctrl+8)
  • Getting Started
    • Creating your first application
    • Example Projects
  • Legal
    • Disclaimer
    • Licenses
Powered by GitBook
On this page
  1. Workers Tools
  2. Workers Tools Menu

Public API Builder

Workers Tools Menu

PreviousRT Worker ConvertNextPublic Requests

Last updated 10 months ago

The Public API Builder tool allows you to create strictly typed Public APIs for your Workers, allowing you to communicate with a Worker from an external source, such as a Worker's Caller, another LabVIEW application or from TestStand.

You can use the Public API builder tool to:

  • Create and edit

  • Create and edit

  • Create and edit

  • from a Worker base class into a Worker

Create Dynamically Load Worker VI

Allows you to create a strictly typed Dynamically Load Worker VI that you can use to load an instance of a Worker at run-time from within another Worker's MHL.

Every Dynamically Load Worker VI filename takes the prefix: dlw_ (dynamically load worker), followed by the name of the Worker that owns the VI. An example of a Dynamically Load Worker Public API VI is shown below.

A Dynamically Load Worker VI will dynamically load the Worker that owns the VI as a subWorker into the Worker that the VI is called from, and returns the loaded Worker's object containing the Worker's Public Properties. Initialization data that is to be received by the Dynamically Loaded Worker's <Initialize> MHL case can be wired to the Initialization Data input. The Dynamically Loaded Worker requires an alias ( Worker Alias ) which must be unique to the Worker it is called from. If a Worker is already loaded with the same Alias, an error will be returned.

Important

Good to know

This VI can only be called from within another Worker. To load a Worker from an external LabVIEW application or from TestStand, please use an .

An example of how to use a Dynamically Load Worker VI can be found in the example project.

Workers Fundamentals
Public API Requests
Public API Requests with Reply
Public API Responses
Override Public API MHL cases
Create Dynamically Load Worker VIs
Asynchronous Launcher VI
Workers Public API Builder tool
dlw_Worker D.vi