02-05-2015 03:57 AM
Hello John,
The file wasn't created at all or is it just empty? Maybe the location you chosen is not writable. Be aware that every time you restart CVI the log file is overwritten.
Meanwhile you can check if there is something in Windows Event Log which is the default location where the log is saved(only Fatal level). File attached.
From your description the crash happens when a file browser is open. Could you confirm?
You could try other actions that bring up a file browser dialog:
- Edit->Workspace->Add
- Instrument -> Load
- Options->Environment->Include Paths
Does CVI crashes in these cases?
Constantin.
02-05-2015 01:39 PM
Constantin:
Thanks for trying to help me. I hope to be able to use CVI on a new project, so would really like to get this problem resolved before I purchase a CVI license.
The file was not created. I told the debug logger to save the file in the C: drive. I have attached my setup for the debug log.
Di you mean "was an Internet browser open?" Yes, I'm sure an Internet browser was open. Was that what you asked? In CVI, I was trying to browse to find a file to open and CVI immediately crashed.
I just now tried the - Edit->Workspace->Add and CVI immediately crashed. No log file was created and no additional error showed up in the Manage ... App Log.
I tried the Manage etc thing you suggested and found something on 1.24.2015. File attached. After the crash this morning, I looked for a log file and nothing showed up. Also I tried the Manage thing and no new error showed up.
Thanks,
John
02-06-2015 04:10 AM
Hello John,
Try setting the location of the log file in a new folder, you might not have permission to save dirrectly on C: drive.
By file browser I was refering to Windows Browse dialog like this one, not Internet Browser:
Does the crash occur before this dialog shows up, during the dialog is up or after you close the dialog?
Some things to try:
- Check if the registry key HKEY_CURRENT_USER\Software\National Instruments\CVI\13.0\FileDialog\LastDir contains a wrong or not-existing path
- In Options->Environment change the setting for Default directory(left-bottom ring in the dialog)
- Run samples\usering\popup.prj example; In the dialog that asks "Would you like to save the Data to a file?" click Yes. Does the File dialog show up in this case?
- Send a screenshot with the crash window with details expanded
- Temporary disable antivirus or other processes that might interfere with other applications
Constantin
02-06-2015 12:35 PM
You were right, Constantin. CVI couldn't save the log file to the C drive. I have saved log files to the C drive from programs that I have written, so I didn't realize that CVI couldn't do so.
I haven't yet tried the other suggestions. I'm just attaching the debug log.
Thanks, John
02-06-2015 02:09 PM
Constantin:
LastDir says only Type is REG_SZ. See attached file.
I don't know what you mean "In Options->Environment change the setting for Default directory(left-bottom ring in the dialog)"
I couldn't Browse to the userint folder, CVI would crash, but went to the folder from Explorer and right-clicked on the popups prj to open it with CVI. Then ran it. It looked ok until I clicked on "Would you like to save ..." when CVI apparently crashed. See attached files.
I have not disabled antivirus.
John
02-09-2015 10:33 AM - edited 02-09-2015 10:41 AM
Hello John,
@QuerulousJohn wrote:
I don't know what you mean "In Options->Environment change the setting for Default directory(left-bottom ring in the dialog)"
Click the menu Options->Environment. In the left-bottom of Environment dialog, there is a setting "Default directory". You can choose between "Active window directory", "Project directory" and "Active window directory". Change it to "Project directory" or "Active window directory" to see if it makes any difference.
Also try disbling antivirus to see if it makes any difference.
Could you send a screenshot with the crash window. Is it something like in the attched file?
Does the crash occur before the file dialog shows up? Do you get to see the dialog or it even doesn't show up?
Constantin
02-09-2015 02:38 PM
Constantin:
It doesn't seem to matter which Default Directory I choose.
Disabling antivirus (Microsoft Security Essentials) doesn't help.
My crash window is much simpler than yours. See attached.
I don't get the same dialog as you show in crash.docx but my simple crash window shows up immediately when I try to open a file.
John
02-10-2015 11:42 AM
Hello John,
Can you create a crash dump as described here: https://decibel.ni.com/content/docs/DOC-1496
Follow the instructions for Windows Vista.
In the 2nd step I think the correct command is windbg.exe -I[S]
I dind't hear of other users facinng this problem. I even installed Windows 7 Home Premium and couldn't reproduce the problem. Another option would be to reinstall Windows if it's acceptable for you.
Constantin
02-10-2015 01:55 PM
Constantin:
I'm also surprised at having this problem. I had used the 2010 version on XP and never had a problem that I can remember.
I had a little trouble running Windbg (Windbag? ) and am not sure I ran it correctly or if the info is correct but have included the crash dump file.
Thanks again,
John
02-10-2015 02:36 PM
Constantin:
It's incredible that you have been so persistently helpful in solving my problem with CVI. However, I am losing hope and have begun looking for other means, such as C#, Python and Java, to make GUI's for my engineering control applications.
John