From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Reference Design Content

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Development Utilities

One of the projects included in the effort is a set of tools intended to be used while developing code in LabVIEW. For example, this could include tools for arranging front panel items to match their terminals, ensuring that all front panels meet a minimum size requirement, or any other development-focused utilities.

 

The source code for this project is located in this repository: https://github.com/NISystemsEngineering/LV-Dev-Utilities

 

The repository is covered by the BSD 2-Clause license and may be forked freely by any GitHub user.

 

The current alpha build, attached, includes the following utilities. They are installed to VI lib, and a tools menu item is installed as "LabVIEW Development Utilities".

 

This initial version of the code includes three tools:

  1. A tool/framework for applying a set of functions to a set of VIs. This tool uses the Configuration Editor Framework (CEF) to produce a simple UI for running code to modify VIs in bulk. The idea is that these functions can be used to apply common style requirements to an entire codebase. Each function is a class, and these classes are stored in vi.lib\NI\LabVIEW Utilities\Apply changes to VIs Tool\tools. At present, the available functions include:
    1. Reset to origin -- Moves all front panels back to center on the origin.
    2. Set source seperate -- Walks through existing code to set it as source separate, similar to the project tool
    3. Protection Settings -- Locks or unlocks VIs, and can set passwords
    4. Execution settings -- Modified reentrancy, debugging, and error handling
    5. Cosmetic change -- Resizes the front panel and moves it to the primary monitor
    6. Control label adjustment -- Can reset the selected font and size of a set of VIs
  2. The VI documentation tool currently found here: VI Properties Editor

 

If you have any code which you think would be a good fit for this repository, if you'd like to make changes to the existing code, feel free to fork the repository and work on it.

Contributors