LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Mads

LLM-controlled LabVIEW scripting layer

Status: New

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).

 

1 Comment
Petru_Tarabuta
Active Participant

+1. Nigel doing this would represent be a strong productivity multiplier. "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.” - would love for Nigel or another tool to automate this type of task.