Continuous Integration

cancel
Showing results for 
Search instead for 
Did you mean: 

Preemptively disable internal error dialog

Solved!
Go to solution

This dialog appears when I open LabVIEW sometimes:

avogadro5_1-1730923518667.png

This blocks VI server from starting so LabVIEWCLI and similar tools won't work. After this dialog appears once, this checkbox shows up in the LabVIEW options:

But on a fresh install the option isn't there. Does anyone know how to disable the dialog on a new install of LabVIEW? The only way I can think of would be to find a way to reliably trigger the warning to happen, which I haven't succeeded at.

 

What would be better is a comprehensive guide to disabling all the similar blocking dialogs.

0 Kudos
Message 1 of 6
(265 Views)

One of these ini token should help (not sure which one though)

 

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

NIERShowFatalDialog = 0 

NIERFatalAutoSend = true 

NIERNonFatalAutoSend = true 

NIERShowNonFatalDialogOnExit = false 

NIERSendDialogClose = true autoerr = 3 

DWarnDialog = false 

AutoSaveEnabled = false 

AllowMultipleInstances = true 

promoteDWarnInternals = false 

ShowAIVIsInErrorWindow = true 



Matthias Baudot | Software Architect | Founder at STUDIO BODs | DQMH® Consortium Board Member


STUDIO BODs     BLT for LabVIEW     LabVIEW Champion     Certified Professional Instructor     DQMH Trusted Advisor     GCentral Sponsor


 Check out my LabVIEW presentations and videos!

Message 2 of 6
(258 Views)

Hello,

Did the previous reply resolve your issue? If it did, consider marking it as an Accepted Solution – it can be a great help for other users with similar questions.

Thank you!



Matthias Baudot | Software Architect | Founder at STUDIO BODs | DQMH® Consortium Board Member


STUDIO BODs     BLT for LabVIEW     LabVIEW Champion     Certified Professional Instructor     DQMH Trusted Advisor     GCentral Sponsor


 Check out my LabVIEW presentations and videos!

0 Kudos
Message 3 of 6
(218 Views)

I want to figure out which key is responsible for this particular dialog then I will post that info and mark that and the config file block as solutions.

0 Kudos
Message 4 of 6
(209 Views)

@mbaudot wrote:

One of these ini token should help (not sure which one though)

 

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

NIERShowFatalDialog = 0 

NIERFatalAutoSend = true 

NIERNonFatalAutoSend = true 

NIERShowNonFatalDialogOnExit = false 

NIERSendDialogClose = true autoerr = 3 

DWarnDialog = false 

AutoSaveEnabled = false 

AllowMultipleInstances = true 

promoteDWarnInternals = false 

ShowAIVIsInErrorWindow = true 


I finally got code that replicates this issue reliably in a short job.

 

I added all of these keys and still get the dialog I posted originally.

0 Kudos
Message 5 of 6
(184 Views)
Solution
Accepted by topic author avogadro5

@avogadro5 wrote:

@mbaudot wrote:

One of these ini token should help (not sure which one though)

 

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

NIERShowFatalDialog = 0 

NIERFatalAutoSend = true 

NIERNonFatalAutoSend = true 

NIERShowNonFatalDialogOnExit = false 

NIERSendDialogClose = true autoerr = 3 

DWarnDialog = false 

AutoSaveEnabled = false 

AllowMultipleInstances = true 

promoteDWarnInternals = false 

ShowAIVIsInErrorWindow = true 


I finally got code that replicates this issue reliably in a short job.

 

I added all of these keys and still get the dialog I posted originally.


The key for this dialog is "autoerr = 3." It needs to be on its own line in the ini file to work. This article has the same issue.

0 Kudos
Message 6 of 6
(175 Views)