Error Log File Location After LabVIEW Crashes

Updated Oct 5, 2018

Reported In

Software

  • LabVIEW
  • LabVIEW NXG

Issue Details

  • My LabVIEW development environment just crashed. How do I access the log file for the crash?
  • Where are the dump files located after LabVIEW crashes?
  • My code made LabVIEW crash, which files can help NI support understand what was the cause of it?
 

Solution

 

Please refer to the document Troubleshooting LabVIEW Crashes and Internal Errors​ for more information on how to use the LabVIEW internal error report files.
 

LabVIEW

LabVIEW Error Log files are stored to LabVIEW's Default Data Directory. You can view or edit this location from the Tools»Options. Select Paths under Category. Then select Default Data Directory in drop down menu. At this point your window will resemble screenshot below:
 

Usually, the default LabVIEW Data directory will be: C:\Users\<My User>\Documents\LabVIEW Data, where <My User> refers to your computer's user folder.

LabVIEW Versions 2010 and earlier:
Continue navigating to \lvfailurelog\ directory. This directory contains crash .txt log files for each instance of LabVIEW crash. Each crash log file is stamped with date and time of individual crash occurrence. 

LabVIEW Versions 2011 and later:
Continue navigating to \LVInternalReports\LabVIEW\<LabVIEW Version>. This directory contains folders for each instance of a LabVIEW crash. Each individual folder contains compressed (.zip) folder of the complete crash report. Each crash report contains LabVIEW .txt log and crash .dmp dump file. Click here to learn more about NI Error Reporting in LabVIEW 2011 and later versions: NI Error Reporting (NIER) FAQ.

MAC OS X Operating Systems:
In Mac OS X, crash reports are saved as a .log file in the \Library\Logs folder, which is in a hidden directory. To see this folder, open Finder and press Command+Shift+G to open the Go To Folder dialog. Type ~/Library/Logs to open the folder containing the crash reports.

 

LabVIEW NXG

LabVIEW Error Log files are stored in the directory the directory C:\Users\<Your user>\AppData\Local\National Instruments\<LabVIEW NXG Version>\ErrorReports, where <Your user> is your account's folder in the computer.

Additional Information

  • If the Crash happened in an executable built with the Application Builder (a built EXE application that uses the LabVIEW Run-Time Engine) you can find the crash report in the LVInternalReports mentioned above, but under the executable's name. For example: C:\Users\My User\Documents\LabVIEW Data\LVInternalReports\My Application.
  • Please note that while LabVIEW Error Files can be helpful to understand what was happening when LabVIEW closed unexpectedly, the information they contain doesn't always lead to clear solutions or explanations of what caused the problem.
  • When sending these reports to National Instruments, please include details of what was happening when the crash occurred: Information to Send With the LabVIEW Error Log File. As well as, any steps or instructions to reproduce the issue, as they can help when troubleshooting these situations.

WAS THIS ARTICLE HELPFUL?

Not Helpful