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. Fundamental Concepts

Shutdown Sequence

Workers Fundamental Concepts

PreviousInitialization SequenceNextPriority Queue

Last updated 1 year ago

Workers in an application's call-chain are shutdown from the bottom up, with the shutdown command of each Worker first cascading down the Worker call-chain hierarchy from the top.

When a Worker has been shutdown (exited), it notifies its Caller. This confirmation comes from the bottom up, in a reverse cascade back up the Worker call-chain hierarchy.

The following flowchart explains the shutdown sequence of a Workers application.

While the diagram below shows the shutdown sequence for an application starting with the application's head Worker, the shutdown sequence can be started on any Worker by use of the Workers palette VI: Worker Start Exiting.vi. This will shutdown only the specified Worker and its subWorkers. Any Workers above this Worker (in the applications Worker call-chain hierarchy) will not be shutdown.

Shutdown sequence of a Workers application (note: Manager means Caller in this diagram)