Using Code Completion with NI Nigel™ AI
- Updated2026-07-27
- 1 minute(s) read
When enabled, NI Nigel AI can suggest new code elements in your VI based on existing code and documentation.
Introduced in LabVIEW 2026 Q1
To get suggestions from Nigel, open your VI block diagram and begin wiring from a data source, such as a function output. LabVIEW displays a wiring target with the Nigel Code Completion icon. Wire to the target to get code completion suggestions from Nigel based on the data source, as well as Nigel’s analysis of the rest of the VI.
When Nigel finishes analyzing the VI, a window appears to show Nigel's suggestions. You can use this window to preview the suggestions directly on the block diagram. To implement one of Nigel's suggestions in your VI, select the option you want to add from the list. Nigel automatically adds the suggested code to your block diagram.
You can improve the suggestions Nigel makes by thoroughly documenting your VI. Use tools like VI descriptions, comments, and descriptive labels to increase Nigel's understanding of your VI.
Related Information
- Using NI Nigel AI in LabVIEW
Learn how to install, access, and configure NI Nigel AI in LabVIEW.