Graphical Error Handling Structure for Program Execution

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing graphical programming systems lack efficient error handling mechanisms, requiring users to either abort the entire program or manually include error checking code, which is cumbersome and inefficient.

Innovation Solution

A graphical error handling structure is introduced, allowing users to specify error handling for portions of a graphical program within a frame, enabling automatic abort and recovery of execution in case of unhandled errors, without requiring explicit error checking throughout the code.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the entire program is aborted when an error occurs, then error handling is simple, but program execution efficiency deteriorates because the entire program stops

Engineering Contradiction:
Improveerror handling capabilityVSAvoidprogram execution efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent divides the graphical program into separate error handling scopes using frames. Each frame can independently handle errors within its boundary, allowing the program to abort only the affected frame's execution while continuing other frames. This segmentation resolves the contradiction by enabling localized error handling that maintains overall program efficiency while providing reliable error management.

Inventive Principle:
Principle #1Segmentation

2Reliability

If error checking code is explicitly included throughout the graphical program, then error handling completeness is improved, but device complexity increases

Engineering Contradiction:
Improveerror handling completenessVSAvoidprogram structure complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces a universal error handling structure (frame) that can be applied to any portion of a graphical program. This frame-based approach provides comprehensive error handling capabilities uniformly across different program sections without requiring separate error checking code for each component. The frame serves multiple functions: error detection, error containment, and controlled abort, thereby reducing overall program complexity while maintaining complete error handling.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Reliability

If error checking code is manually included in each piece of code, then error detection capability is improved, but ease of operation deteriorates

Engineering Contradiction:
Improveerror detection capabilityVSAvoidprogram development ease
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent enables graphical programs to automatically handle errors through the frame structure without requiring manual error checking code insertion. The frame-based error handling mechanism automatically detects and manages errors within its scope, allowing developers to focus on program logic while the system self-manages error detection and response. This significantly improves ease of operation while maintaining robust error detection capabilities.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS8037369B2Error handling structure for use in a graphical program
Publication Date: 2011.10.11 NATIONAL INSTRUMENTS CORP
  • US8037369B2 patent drawing
  • US8037369B2 patent drawing
  • US8037369B2 patent drawing

AI summary

System and method for error handling in a graphical program. An error handling structure is displayed in a graphical program. The error handling structure includes a first frame configured to contain graphical program code for which error handling is to be provided. At least a portion of the graphical program is included in the first frame in response to user input specifying the at least a portion of the graphical program. During execution of the graphical program, the error handling structure aborts execution of the at least a portion of the graphical program in the first frame in response to detection of an unhandled error in the at least a portion of the graphical program in the first frame and continues execution of the graphical program.