Categories

All

Services

Industries

Custom Alarm Handling Toolkit for LabVIEW

DMC Alarm Handling Toolkit

Summary

It's easy for users to feel helpless when errors or warnings occur in a system that they do not understand. The default LabVIEW error wire information can be cryptic to users who aren't familiar with the guts of the program. Creating a robust alarm handling framework from scratch to appropriately display and respond to errors and warnings can be challenging and time-consuming.

DMC developed the Alarm Handling Toolkit to help track, respond to, log, and display any errors, faults, warnings, or notifications. This reusable toolkit includes the VIs shown below, which DMC developers use to efficiently incorporate alarm handling in a wide variety of LabVIEW applications.

DMC LabVIEW Alarm Handling Toolkit

Customer Benefits

  1. Comprehension: Increases the end user’s ability to understand and recover from errors, faults, warnings, and notifications by displaying messages and recovery tips that are application-specific and targeted at the end user
  2. Customizable: Application-specific alarm definitions and resolution steps
  3. Hierarchical: Custom alarm responses to different alarm severity levels ensure the appropriate steps are taken to reach a safe state if necessary and recover from any errors
  4. Specific: Individual alarms can trigger specific events whenever triggered or cleared
  5. Visual: Optional user interface to cleanly display active alarms and a history of all alarms from the application session to the user
  6. Traceability: Logs all alarm occurrences utilizing DMC’s LLAMA logging toolkit
  7. Aggregation: Allows multiple alarms to be active at one time
  8. Recovery: Allows users to reset individual alarms or all active alarms to trigger system recovery
  9. Trustworthy: Leverages many DMC development hours to create and vet a tool, ultimately reducing development time for establishing solid alarm handling on new projects
  10. Extensible: Lightweight and flexible framework that is well-suited for a wide variety of LabVIEW applications and architectures

Technologies

Solution

Even when LabVIEW applications are tested and released, there are faults, warnings, and notifications that are expected to occur under certain circumstances. These faults, warnings, and notifications are all types of alarms, and they can be handled by utilizing the alarm handler toolkit.

Defined Alarms

The alarm handler toolkit allows developers to define a set of alarms relevant to a given system. Each alarm definition includes a severity level and description. The description explains the alarm and any possible recovery steps to the user. This application-specific message can be significantly more helpful to the user than a generic LabVIEW error message aimed to inform the developer of a potential problem with the code. The alarm severity level helps dictate how the program will respond to an alarm occurrence.

Different applications may have a different response and recovery for each severity level. In general, these responses range from a notification that will display a message to the user without interrupting program execution to a critical alarm that will cause the system to stop any tests and go to a safe state. In addition to program responses based on the severity level of active alarms, developers can also create custom program responses to specific alarms.

User Interface

The alarm handler toolkit includes an optional user interface for PC applications, pictured below. The interface shows the user a list of active alarms with the following properties:

  • Alarm Type
  • Time of Occurrence
  • Number of Occurrences
  • Description/Resolution Steps

Historical Alarms

There is also a historical alarms tab that allows the user to view all alarms that have occurred in the current application session. Each alarm’s severity is represented by a different icon in the far-left column of the alarm table. From this HMI, users can clear alarms to trigger program recovery by pressing the Clear Alarm (trash can icon) button at the bottom.

DMC Alarms Toolkit for LabVIEW Alarms Viewer

The user can also double-click on an alarm in the list to view a popup (shown below) with slightly more detailed alarm information.

DMC Alarms Toolkit for LabVIEW Warning Alarm

If this interface does not meet the needs of a specific application, the alarm handler toolkit can still be used to keep track of the active and historical alarm lists behind the scenes. A custom interface can be developed that better suits the application’s needs.

Log Alarm Information

The alarm handler toolkit also generates text file logs purely for alarm information. From one file, someone can review the various alarms that occurred on a system, which can help trace down root cause issues. These logs utilize DMC’s LLAMA logging toolkit. An example log is shown below.

Alarm Handling Toolkit Logging

The alarm handler toolkit is lightweight and is generic enough to be a great fit for a wide variety of applications. DMC engineers have spent a significant amount of time developing this tool and vetting it in a variety of projects. All those efforts can be leveraged to efficiently implement effective alarm handling in your application. We’re excited to continue using this toolkit on new projects and extending the capabilities of it to make it ever more useful for our end clients.

Learn more about DMC's LabVIEW programming expertise

DMC Chicago • 2222 N. Elston Ave Suite 200 • Chicago, IL 60614 • (312) 255-8757

DMC Boston • 20 Holland St Suite 408 • Somerville, MA 02144 • (617) 758-8517

DMC Dallas • 1920 McKinney Ave 7th Floor • Dallas TX, 75201 • (972) 432-5536

DMC Denver • 1860 Blake St Suite 410 • Denver, CO 80202 • (303) 223-1801

DMC Houston • 3311 Richmond Ave Suite 209 • Houston, TX 77098 • (713) 322-9192

DMC New York • 141 W 36th St Suite 20N • New York, NY 10018 • (917) 473-0030

DMC Seattle • 506 2nd Ave Suite 910 • Seattle, WA 98104 • (206) 388-5186

DMC St. Louis • 1034 S Brentwood Blvd • St. Louis, MO 63117 • (314) 627-5427

https://www.dmcinfo.comsales@dmcinfo.com • (888) DMC-4400