LabVIEW Idea Exchange

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 
Post an idea

I have been working with lots of Diagram Disable Structures lately. Specifically, I have been using Diagram Disable Structures to performance-benchmark various implementations that are functionally equivalent but whose execution time is different.

 

Currently the only way to enable a Diagram Disable Structure case is to right click the structure and select Enable This Subdiagram from a long right-click menu. This works but is quite slow. I sometimes have to spend more than 1 or 2 seconds to find the option and click on it. This adds up when performing the action dozens or even hundreds of times per day. 

 

Having a native keyboard shortcut that performs this action would increase productivity.

Keyboard shortcut to enable Diagram Disable Structure case.pngKeyboard shortcut to enable Diagram Disable Structure case.png

Summary: The new Manage Trusted Files window is uncancellable or takes a long time to cancel.

 

Details: I opened a project that had been developed in LabVIEW 2025 Q3 in LabVIEW 2026 Q3 for the first time. This is a large project, it contains several thousand VIs. I opened a simple VI that was part of the project and that depended on From JSON Text.vim (part of the excellent JSONtext VIPM package). The VI had a broken run arrow. The Error Window correctly contained a message explaining that the VI depends on code that hasn't been marked as trusted yet. I think this is all expected and correct behaviour so far.

 

Next I pressed a button named "Manage Trusted Files..." or similar. This popped up the Manage Trusted Files window. I let the window work for a few minutes, without any visible progress. Realising that due to the project size this operation might take a long time, I decided it's best to cancel and uncheck the "Prevent executing untrusted VIs or loading untrusted executable code files" option located in Tools>Options>Security.

 

I pressed the Cancel button. I waited around 2 minutes - there was no visible progress. The screenshot below shows what I was seeing after the Cancel button was pressed.

Manage Trusted Files window is uncancellable (edited).pngManage Trusted Files window is uncancellable (edited).png

 

I decided to terminate LabVIEW using Task Manager. This cost me a few minutes, as I now had to re-open (re-load) the large project, which takes a few minutes.

 

Pressing Cancel should take effect immediately.

Currently, LabVIEW allows a VI to run once or continuously, but not a specific number of times. Adding a numeric field beside the Run button would let users define how many times a VI should execute. The VI would automatically stop after completing the selected number of iterations. This would simplify testing, debugging, and validation without requiring temporary loop counters in the block diagram. The feature would improve productivity while preserving the current behavior when no value is specified.

If you need to reorder an array containing very large data elements it is difficult to achieve it in a speed and memory efficient way.

 

PinguX did a good job doing so in a malleable VI and the in-place structure in this thread, but the most efficient solution ended up being based on Rust...

 

So my suggestion would be that NI adds a Reorder Array primitive to LabVIEW that matches (or outperforms! 🙂 ) the Rust-based one. Perhaps it could even support more than 1 dimension. The inputs would just be any type of array and an array of indexes.

If a class inherits from a class with a probe, add that inherited probe to the dropdown for default probe on its children:

avogadro5_0-1787937967319.pngavogadro5_0-1787937967319.png

avogadro5_0-1787862329273.pngavogadro5_0-1787862329273.png

For symmetry with other map nodes, add a default value input to "remove from map" whose value is returned if the key is not found.

 

Because in general looking in a map is the same computation complexity as removing, and future operations speed up the more elements are removed, sometimes it is more efficient to remove instead of look, and a default can be needed for the same reasons as you want for look.

 

The request:

When you add a VI server reference to a VI, it shows up as "This VI".  Why not allow it to be searchable in Quick Drop with the text "This VI" as well?

 

_carl_0-1785165839087.png_carl_0-1785165839087.png

 

My experience:

I find myself often wanting to add this to a VI, but when I open up Quick Drop, the first thing that comes to mind is "This VI" because that's how it shows up in the block diagram.  Inevitably I then spend 30 seconds trying to remember what exactly it's called before either eventually remembering it's "VI Server Reference", or giving up and going to the Tools Palette to find it.

Despite being growable for adding outputs (capturing groups), the "Match Regular Expression" XNode is missing some convenient features from other growable functions:

 

1. Cannot add a new element at the top while resizing the node:

Resize from top.gifResize from top.gif

 

2. Missing "Add/Remove Element" right-click menus:

 

raphschru_0-1781017278636.pngraphschru_0-1781017278636.png raphschru_1-1781017452535.pngraphschru_1-1781017452535.png

 

 

The lack of these features forces us to rewire everything manually.

This idea has the same motivation as this previous one: making the editor more ergonomic and predictable.

 

Regards,

Raphaël.

Having consistent (and therefore predictable) right-click menus is essential for maximizing coding efficiency.

 

Most structures have the following right-click menu items:

 

Visible Items
Help
Examples
Description and Tip...
---------------------------
Add Breakpoint
---------------------------
Structures Palette
Auto Grow
Exclude from Diagram Cleanup
<specific menu 1>

<specific menu N>
Replace with <other structure type 1>

Replace with <other structure type N>
Remove <structure type>
---------------------------
<other specific menus>

 

The right-click menu however has some inconsistencies regarding item order and menu separators for certain structure types:

 

1. "In Place Element Structure" has "Replace" and "Remove" items reversed:

raphschru_0-1778671181846.pngraphschru_0-1778671181846.png

The "Remove" item should always be the last one in the item group (right before the separator) since it is a very common action and the separator offers a quick visual reference point.

 

2. Depending on whether you click on the structure border, the frame name label or the subdiagram label, sometimes an extra item separator appears for no reason:

raphschru_3-1778673447637.pngraphschru_3-1778673447637.png  raphschru_6-1778673672106.pngraphschru_6-1778673672106.png  raphschru_5-1778673565395.pngraphschru_5-1778673565395.png

 

The grouping of the generic items shouldn't vary depending on where you click on the structure. Here we sometimes have 4 item groups instead of 3, which hinders quick menu identification and selection.

 

3. This is more a general remark, but I think items specific to a structure type shouldn't be mixed with the generic ones in the first 3 groups (except maybe for the "Replace" items, since they are related to the "Remove" action).

 

So any specific menu item should belong after the first 3 groups:

raphschru_2-1778672934373.pngraphschru_2-1778672934373.png  raphschru_7-1778673846675.pngraphschru_7-1778673846675.png

raphschru_8-1778673934000.pngraphschru_8-1778673934000.png  raphschru_9-1778673982744.pngraphschru_9-1778673982744.png

 

This last remark could be subject to discussion though, as configuring iteration parallelism and shared clone allocation could be considered a "primary" action (therefore requiring to be closest to the top), even if it is specific to certain structure types.

 

Regards,

Raphaël.

There are many tasks in LabVIEW that are tedious and manual due to its graphical nature. This is something Nigel or another LLM-controlled scripting feature could change.

 

Allow it to perform structural changes and wiring on the block diagram via natural language commands. Expand it’s capabilities beyond explanation and simple code suggestions to direct, intelligent manipulation of the Front Panel and Block Diagram. The user should be able to describe desired behavior in plain English, and the AI should execute or generate the appropriate structure.

 

One example would be wiring and bundling: “Wire all controls whose names contain ‘sensor’ to a Bundle By Name node using the matching cluster element names.”

 

Another might be diagram layout: “Select all terminals containing ‘temp’ and arrange them by the last number in their name vertically on the right side of the diagram with tight spacing.”


Desired Capabilities:

  • Name-based matching and filtering of controls, indicators, and cluster elements.
  • Intelligent wiring (Bundle By Name, Unbundle By Name, auto-wiring by name).
  • Creation of VIMs / reusable subVIs with dynamic behavior.
  • Structural changes (add loops, case structures, bundling logic, etc.).
  • Optional preview + confirmation before applying changes to the diagram.
  • Works on both Front Panel and Block Diagram.
This would turn the AI into a true productivity multiplier — especially for large VIs and configuration-heavy applications. Importantly, it does not necessarily require it to be that advanced; it would mainly be an LLM-controlled driver for VI scripting (leveraging LabVIEW’s existing VI Server and object model).

 

There are lots of very old Idea Exchange entries for plots that seem very promising.

 

Some of these go back to 2009, and this wasn't an exhaustive search. Some of these ideas were posted before some of our forum members were even born! 😉

 

That handful I picked has a total of 317 Kudos- but they're spread out over a large number of individual posts, so this Idea entry is sort of a combo of all of them. Basically, there are LOTS of great ideas from the community, but unfortunately most don't get any traction from NI.

 

The request is to Open Source the plotting tools, similarly to the Icon Editor or the Actor Framework. I know I'd be thrilled to be able to hack around with the plots. I'm sure there are some gnarly secrets under the hood, but that's part of the fun 🙂

This idea is an extension of an existing one.  Here the idea is to have alpha layer support in the Picture Control.  But the truth is NI already added it in 2020 but never put it on the palette, or documented it.  I made a quick demo showing how you can have a highlight over an element of an array showing which one is moused over here. The main VI that powers this is here:

 

https://youtu.be/gqJWBbqoR4s?si=_JT8-K7FoNfaPVhz

 

National Instruments\LabVIEW 2020\vi.lib\picture\PNG\Draw Flattened Blended Pixmap.vi

 

But I would like this idea to extend beyond just putting this VI on the palette or documenting it.  I think NI should add more alpha layer functions too.  Things like convert LV Data to 32 bit, set or adjust the transparency level, and make a single VI that can call the normal Draw Flatten for a 24 bit or less image, and call the Blended one if 32 bit so that a single VI can be used.  I have a couple of these type of features in a pack on VIPM.IO but I'd rather they be built in to LabVIEW.

 

And lastly. If we are going to think about places that alpha information can be used, I think the first place I'd like it is to be able to get an image of a control, but have the background be transparent using something like this:

 

wiebeCARYA_1-1741949642891.pngwiebeCARYA_1-1741949642891.png

Combining this with the other tools would mean there's more flexibility in making image based controls.

Whereas I readily admit this is a problem between keyboard and chair situation, I occasionally find myself using the Ctrl + I (insert) when having selected a node and intending to Ctrl + P (replace) the node. Likewise, I will sometimes select a wire, identify the VI I am intending to insert and type Ctrl + P. This means I have to start over each time.

 

It would be nice if I tried to insert into a VI instead of a wire, it was smart enough to do a replace. Likewise, if I tried to do a replace on a wire by identifying a VI, it would insert it instead.

It would be nice if there was some option to configure the separator behavior of combo boxes. Currently, entering a hyphen (-) as an item turns into a separator automatically, and there is no way to configure that. What I think would be best in terms of configuration options is a "Separator Value" property in the Edit Items tab of the Properties dialog. The hyphen could be the default value, and it could be changed to an alternate character or character sequence if the developer needs the hyphen to appear as just that for whatever reason. If the value of the property is empty, there are simply no separator lines created.

 

FireFistRedhawk_0-1779113435039.pngFireFistRedhawk_0-1779113435039.png

 

There is also a bug involving the hyphen as the separator value. When a combo box has the Allow Undefined Strings property unchecked and also has a separator as one of the items, a hyphen is still treated as a valid entry since it is technically one of the values present. This bug exists in the most up-to-date version of 2026 at time of writing, 26.1.2f2. I think the existence of this bug warrants taking a look at the separator behavior in general, but also possibly adding this idea as an enhancement to it.

Not too long ago i learned of the excellent Quickdrop command "Remove Unconnected" (ctrl+shift+r) on Build array and (un)bundle.

However it doesn't work with Index array and i wish it did. 🙂

That's all!

Yamaeda_0-1777370033284.pngYamaeda_0-1777370033284.png

Ctrl+space -> ctrl+shift+r ->

Yamaeda_1-1777370073167.pngYamaeda_1-1777370073167.png

 

Suggestion, it should work in this case also!

Yamaeda_2-1777370165875.pngYamaeda_2-1777370165875.png

 

Currently converting a string to an array loses the "Size To Text" property, this should be preserved to maintain the desired display after conversion

change to array size to text.pngchange to array size to text.png

drag.gifdrag.gif

Dragging block diagram objects across structure boundaries preserves wiring correctly when tunnels are involved, but it fails when shift registers are used. It should be feasible to adjust this.

1.png1.png

 

 

 

 

 

 

 

 

 

 

 

 

2.png2.png

 

Idea: The "Text Color" and "Background Color" fields of LVTextColorsTypeDef.ctl should be replaced with a Color Box

 

This suggestion is very similar to the following idea, which was kindly implemented in LabVIEW 2025 Q1: The "Color" field of LvFontTypeDef.ctl should be replaced with a Color Box

I once started defining the abstraction level depth of VI's, searching someones coded several subvi's deep and keeping track of the hiearchy in you mind can be difficult, depending on the developers experience. It would be possible to make a visualistion aid that make use on a 3D-like stack of semi-transparent layers of the call chain diagrams, where one can scroll back over the call chain, and with the same scroll action move back to the deeper VI of interest. If the visualized callers use a clever way of highlighting the wire(s) that is(are) selected, in example by 'wobbling' or highlighting the interrfacing wires, then such a visualization excersise can help the programmer to quickly remember to caller code context while working on a deeper level. This might empower lesser experienced developer to investigate code that normally is too complex to grasp.

Look at it of making a LabVIEW diagram show up like a 3D design, where the programmer can see and track the data flow through another dimension.
Since a 3D perspective view with semi-transparency is technical feasible, this is an unused dimension that can be used to improve the program insight to programmers.
This would not be practical for lower level vi's in respect to where one is programming (would become too complicated) but it would certainly work for higher level VI's since it then simply follows the call chain.

Occasionally, we want to defer panel updates and most often it is just the current front panel. Unfortunately, the defer property node absolutely requires a wired reference to the panel.

altenbach_2-1770235627004.pngaltenbach_2-1770235627004.png

 

 

 

In the past it always took me quite a while with many dead ends to get it right. For example, one might try to do the obvious and "right-click...link to..Panel", but that does not work! I challenge anyone to get that panel reference in under 60 seconds starting with a generic property node from the palette. Just try! (Hint. After selecting the right class (VI Server...VI...VI), the drop down lists it as "Front Panel" and not "Panel".)

 

The idea would be to allow defer nodes without a wired panel reference and they would just act on the current front panel and not break the VI.

 

Note that the panel reference defaults to the current VI and does not require a reference, so why can't the defer node do the same?

 

(Note that we also have this old idea, which would simplify things...)