Sign Up

Error Structure Drawer by Stuart J. Box - Toolkit for LabVIEW Download

A LabVIEW Quick-Drop (QD) plug-in for drawing an error structure on the block diagram.

D Discussion Watch * 1 ↓355
 screenshot
Version2.10.0.9
ReleasedApr 21, 2024
Publisher Stuart J. Box
License BSD 3-Clause
LabVIEW VersionLabVIEW>=17.0
Operating System Windows, Mac, and Linux
Project links Repository   Discussion

Description

A LabVIEW Quick-Drop plug-in for implementing the common LabVIEW error handling functionality: it creates an error control and terminal if needed, wires them into the connector pane, aligns block diagram terminals, and optionally creates an error structure around existing elements on the block diagram.

The default shortcut from Quick-Drop that includes an error structure is
Ctrl + e

or terminal-only mode is
Ctrl + shift + e

-----------------------------------------------------------------------------------

Many of the plugin's config settings can be easily modified from within "ErrorDrawerConfig.vi". These settings include the style used for creating error controls, alignment type used for controls and indicators, and the spacings used between various elements. The behaviour of the shift key can also be changed.

-----------------------------------------------------------------------------------

The plugin has slightly different functionality depending on what items (if any) are already on the block diagram, but the general behaviour includes:

- Creates a new case structure around existing block diagram elements (depending on whether shift key pressed)
- Creates a new error control and error terminal if not already present on the top-level diagram.
- Moves all control and indicator terminals present on the top-level diagram to position them on the left and right of the new case structure respectively. Also aligns each group.
- Wires the error control to the new case structure's selector terminal, and wires from the inside of the selector terminal through the error case to the error indicator.
- Connects the error control and error indicator to the connector pane - to the bottom-left and bottom-right nodes respectively.

Release Notes

2.10.0.9 (Apr 21, 2024)

- Rename package folder to start with "_", to stop LabVIEW looking for plugins in it.
- Fix bug where package VIs and Controls were unintentionally visible in the palettes.

stuartjbox was a contributor to this release


Download Package

Versions
All Contributors

  Post an Idea   Post a Resource

Recent Posts