Knowledge Base

Welcome to OPAL-RT’s Knowledge Base

OPAL-RT offers a repository of support information for optimal use of its technology.

Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.

For optimal experience, use a desktop computer.

Reference Number: AA-01574 // Views: 9 // Created: 2019-01-08 19:25:52 // Last Updated: 2019-01-08 22:20:00
Obtaining a crash log or crash dump for RT-LAB for troubleshooting purposes.

Obtaining a crash log or crash dump for RT-LAB for trouble-shooting purposes.

For different troubleshooting purposes, the customer may be asked by OPAL-RT support department to retrieve "Crash Log" or "Crash Dump" files in order to investigate abnormal behavior of the RT-LAB software. The "crash dump" is a report file generated by the Windows Error Reporting (WER) feature whenever an application crashes in the Windows OS. 

This feature is not enabled by default. Enabling the WRE feature for a process requires administrator privileges. To enable and configure the WRE feature, use the following command which can be executed in a typical batch file and that will enable the crash dump generation for three main processes related to RTLAB: Controller.exe, matlab.exe and RT-LAB.exe itself:

REG ADD"HKLM\Software\Microsoft\Windows\Windows Error Reporting\LocalDumps\Controller.exe" /f

REG ADD "HKLM\Software\Microsoft\Windows\Windows Error Reporting\LocalDumps\RT-LAB.exe" /f

REG ADD "HKLM\Software\Microsoft\Windows\Windows Error Reporting\LocalDumps\matlab.exe" /f

Extra parameters can be added to this command to configure the path of the generated crash dump (Dumpfolder), the number of crash dump files to store (DumpCount) and the verbosity of the generated report (DumpType):


REG ADD "HKLM\Software\Microsoft\Windows\Windows Error Reporting\LocalDumps\Controller.exe" /f /v DumpFolder /t REG_EXPAND_SZ /d "C:\Users\%username%\Desktop\Crash dump Opal"

REG ADD "HKLM\Software\Microsoft\Windows\Windows Error Reporting\LocalDumps\Controller.exe" /f /v DumpCount /t REG_DWORD /d 100

REG ADD "HKLM\Software\Microsoft\Windows\Windows Error Reporting\LocalDumps\Controller.exe" /f /v DumpType /t REG_DWORD /d 2

Extra parameters can be added as required or instructed by the OPAL-RT personnel. For further details on the WER feature please refer to: