User Tools

Site Tools


kb:labview:automation

09 Automation

Headless Execution

LabVIEW 2026 Q1 introduced native headless execution by adding the call parameter --headless (or -headless for LabVIEW-CLI)

Suppressing Popups

Use the following INI tokens (LabVIEW.ini) to suppress popups and auto-reporting errors:

  # Error reporting
  NIERShowFatalDialog=0
  NIERFatalAutoSend=true
  NIERNonFatalAutoSend=true
  NIERShowNonFatalDialogOnExit=false
  NIERSendDialogClose=true
  
  # Warnings and error handling
  autoerr=3
  DWarnDialog=false
  promoteDWarnInternals=false
  ShowAIVIsInErrorWindow=true
  
  # Automation
  AutoSaveEnabled=false
  AllowMultipleInstances=true
  
  # Additional candidates - validate first
  suppressFileDlgForMissingVIs=TRUE
  skipNavigatorDialog=TRUE
  defaultErrorHandlingForNewVIs=False
  EnableAutomaticErrorHandling=False

Taken in parts from Best Practices on How to Use LabVIEW with Jenkins Continuous Integration and LabVIEW for Containers

Unattended Mode

LabVIEW features an internal Application property called Unattended Mode. Its purpose is to prevent LabVIEW from displaying prompts to save modified VIs when closing the development environment.

Note: Reading this property node can help with detecting if LabVIEW was executed via its CLI (Source: Raph Schru on Discord).

Property

This property is internal and cannot be selected normally from the property-node menu; it must be copied from an existing example or inserted via this snippet:

kb/labview/automation.txt · Last modified: by joerg.hampel