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
  • Request Name
  • Icon Text
  • MHL Case Description
  • Create Experimental Dynamic Dispatch Public Request VI (optional)
  1. Worker APIs
  2. Public Requests

Creating Public Requests

Worker APIs

PreviousPublic RequestsNextPublic Requests w/Reply

Last updated 1 year ago

A Public Request can be created by use of the . This tool (shown below) can be found in the or activated from the .

Step 1: Select the Worker or Worker base class that you want to create the Public Request for.

Step 2: In the Requests tab, select Create new Request. This will open up the window shown below.

Step 3: Fields to fill out when you create a Public Request include the following:

Request Name

The name of the new MHL case that the tool will create to receive the Public Request message. This name will also be used by both the Public Request VI and typedef filenames.

Icon Text

Text that will be written on the Public Request VI and typedef icons, to help users to understand which MHL case will receive the Public Request message.

MHL Case Description

Provide a description that describes what function the receiving MHL case will perform when the Worker receives the Public Request message. This description is also written to the Public Request VI description.

Create Experimental Dynamic Dispatch Public Request VI (optional)

When this option is TRUE, a Request VI will be created with dynamic dispatch input and output terminals (i.e. the Worker class object input and output terminals). An example of a dynamic dispatch Public Request VI is shown below:

In comparison to a regular static dispatch Public Request VI, there is no output terminal for the Caller's Main Data Wire.

You can use dynamic dispatch Public Request VIs to create Worker Public APIs using Interfaces in LabVIEW 2020 onwards. However the creation of the Interface and the handling of the VIs between multiple Workers that implement the Interface Public Request VIs is not implemented by the Workers 5.0 scripting tools.

Good to know

In its current configuration, only the required data on the Caller's Main Data Wire will be accessed, and not be copied, when wired to a dynamic dispatch Public Request VI.

Public API Builder tool
Workers tools menu
Create MHL Case tool
Creating Public Requests - 60 second video tutorial
The Request tab of the Workers Public API Builder tool
Create Public API Request tool
Worker B : rqp_Return Number.vi (dynamic dispatch)