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
  • Overriding Worker base class Public API MHL cases
  • Override MHL case features
  1. Workers Tools
  2. Workers Tools Menu
  3. Public API Builder

Override MHL Cases

Public API Builder tool

PreviousPublic ResponsesNextCreate Launcher VI

Last updated 1 year ago

The Override MHL Cases tab of the Public API Builder tool allows you to add Public API MHL Cases of a Worker base class into a Worker that inherits from the Worker base class. This allows you to create a Public API in a Worker base class, and override the Public API's MHL cases into one or more Workers that inherit from the Worker base class.

Good to know

An example of overridden Public API MHL cases can be found in the Workers in the . The screenshots below are taken from this example project.

Overriding Worker base class Public API MHL cases

To add the Public API MHL cases from a Worker base class into a Worker, perform the following steps.

Step 1. Select the Worker that you want to add Worker base class Public API MHL cases to.

Step 2. Select one or more Public API MHL cases that you want to add to the selected Worker.

Step 3. Press Add selected MHL Cases to Worker.

After the tool has completed adding the Worker base class MHL cases into the selected Worker, you can jump into the Worker's new MHL cases directly from the tool, through the 4. Right Click Menu. The image below is shows an override MHL case in a Worker, that was added by following the steps above.

Override MHL case features

You can tell that a MHL case in a Worker overrides a MHL case of the same name in a Worker base class by the following features:

  1. The message data types used by the MHL case are typedefs that are owned by the Worker base class, and not by the Worker that is using them.

The description text for the MHL case is written in blue text. This means that this description is owned by the Worker base class. If the Worker base class MHL case description is changed with the tool, then the MHL case description in the override case (image above) will also be updated.

DMM HAL Demo example project
Public API Request Editor
Override MHL cases tab (Public API Builder tool)
Override MHL case