code:commercial:hse-error-code-helper:overview
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| code:commercial:hse-error-code-helper:overview [2023/04/27 14:41] – created joerg.hampel | code:commercial:hse-error-code-helper:overview [2026/07/27 11:46] (current) – [Error XML Files] alexander.elbert | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== 01 Overview ====== | ====== 01 Overview ====== | ||
| - | The //HSE Error Code Helper Quick Drop Plugin// helps with managing, reusing | + | The //HSE Error Code Helper Quick Drop Plugin// |
| + | |||
| + | ===== How it works ===== | ||
| + | |||
| + | The plugin will bring up a dialogue window with a search field and a list of pre-defined error codes (see [[# | ||
| + | |||
| + | {{: | ||
| + | |||
| + | The user can search for errors by typing in numbers (error codes) or keywords (error descriptions). Pressing enter (or double-clicking an entry) will finish the selection process and close the dialogue. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== What it does ===== | ||
| + | |||
| + | Depending on the user action, there are three possible outcomes: | ||
| + | |||
| + | - Selecting an existing generic code | ||
| + | - Selecting an existing library-specific code | ||
| + | - Entering a new code | ||
| + | |||
| + | |||
| + | The F3 key will center the QDUI window, always on the primary monitor. | ||
| + | |||
| + | ==== Selecting an existing generic code ==== | ||
| + | |||
| + | If the user selects an existing code from the list of generic codes, the tool will create an error cluster constant with the code and source as selected and place the object on the cursor to drop. | ||
| + | |||
| + | If an error constant or error control was selected on the BD before invoking the QD, the tool will update it with the selected code instead of creating a new constant. | ||
| + | |||
| + | ==== Selecting an existing library-specific code ==== | ||
| + | |||
| + | If the user selects an existing code from the library or class, the tool will select the corresponding constant VI and place the object on the cursor to drop. | ||
| + | |||
| + | ==== Entering a new code ==== | ||
| + | |||
| + | If the user does not select a code but types in a new code (integer) into the search field, the tool will create a new error constant VI and place it into the lvlib/ | ||
| + | |||
| + | To add a new code open the QD plugin and press enter, without a code. This will open an additional window and query the user for the error source string and if the newly created constant VI should have a string input for additional information. Eventually, it will place the new VI on the cursor to drop. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ---- | ||
| ===== Error Code Definitions ===== | ===== Error Code Definitions ===== | ||
| - | Error code definitions need to be stored in NI's error XML format and installed into the ''< | + | |
| + | The tool shows error codes from two different sources: | ||
| + | |||
| + | - Any error constant VIs found in the lvlib/ | ||
| + | - Any generic error codes defined in the ''< | ||
| + | |||
| + | ==== Error Constant VIs ==== | ||
| + | |||
| + | The tool will parse the lvlib/ | ||
| + | |||
| + | ==== Error XML Files ==== | ||
| + | |||
| + | Generic error code definitions are stored in NI's error XML format and installed into the ''< | ||
| + | |||
| + | < | ||
| + | </ | ||
| + | |||
| + | |||
code/commercial/hse-error-code-helper/overview.1682606512.txt.gz · Last modified: 2023/04/27 14:41 by joerg.hampel