02-16-2016 08:01 AM
Win 7 Enterprise, CVI 2015.
Just recently, I can no longer Save a file, Save As a file or Open any file from within CVI. CVI quits instantly, with the message popup below. Doesn't think about it, just instantly.
I have uninstalled all NI software, reinstalled CVI and the problem has not changed.
Has anyone encountered this? Any ideas on incompatibilities?
Solved! Go to Solution.
02-17-2016 04:45 PM - edited 02-17-2016 04:46 PM
What do you see when you click "Debug the program"?
Are you able to open a project or file from Windows Explorer?
Did you install any drivers or modules, or has anything significant changed, since this error started occurring?
LabVIEW crash dumps are found under C:\Users\<user name>\Documents\LabVIEW Data. Do you see any crash dumps in this (or any similar) locations?
02-17-2016 04:50 PM - edited 02-17-2016 04:56 PM
Hi hendra,
I'm sorry you're experiencing this error. Could you please generate a crash dump by following the instructions in the following document and then saving or opening a file in CVI and then attach that in a reply?
https://decibel.ni.com/content/docs/DOC-1496
02-17-2016 04:55 PM
This is what I see if I select Debug:
When I click Debug it relaunches CVI. Tried at that point to Save unnamed project, and it quit.
Are you able to open a project or file from Windows Explorer?
I can open projects ffrom the splash screen, and from Windows Explorer, no problem.
Did you install any drivers or modules, or has anything significant changed, since this error started occurring?
This is a corporate machine, pretty much locked down. They push installs with some regularity, mostly security updates.
LabVIEW crash dumps are found under C:\Users\<user name>\Documents\LabVIEW Data. Do you see any crash dumps in this (or any similar) locations?
There does not appear to be something similar for CVI, but if not in My Documents, not sure where to look.
02-17-2016 04:57 PM
not sure what to do with this, since I'm running Win7.
02-18-2016 03:51 AM - edited 02-18-2016 03:51 AM
Instructions for Windows Vista should be valid for Windows7 as well. By the way, the link provided in the document linked by TheRealRonSwanson is no more valid and automatically redirects to a page for Win10 tools. The corresponding page for Windows 7 should be this one, but you need to install some program and this can be problematic if your IT department has blocked your machine.
02-18-2016 04:58 AM - edited 02-18-2016 05:00 AM
I am trying to reproduce the problem you're facing, but I need some additional data. From your description, my first impression is that the problem is occuring when instantiating the standard windows file dialog (CFileDialog). It could be that a software module installed on your PC has a buggy hook on the file dialog and that's causing the crash.
1. If the company security policy does not have any rule against this, can you post the list of software installed on your machine ? See this link for info on how to generate the list of installed software --> http://helpdeskgeek.com/how-to/generate-a-list-of-installed-programs-in-windows/
2. Are you trying to open from / save to an external memory module [e.g. USB flash drive] ?
3. If you go to Event Viewer -> Windows Logs -> Application, do you see there an Error event generated by LabWindows/CVI? If yes, can you post those details?
02-18-2016 08:22 AM
Roberto,
Is this really where you were sending me to install something?
02-18-2016 08:34 AM - edited 02-18-2016 08:34 AM
Of course not! Seems I have linked the page I was visiting for another discussion!
The correct link I was pointing you to is this one: Debugging Tools for Windows (WinDbg, KD, CDB, NTSD)
02-18-2016 08:45 AM
I have the app dump and will send it to you if you think it will help, but I don't want to put it on teh forum.
Open/Save is to the hard drive on the desktop computer.
Yes, a Save As... generated an error. Here is the General Text:
Faulting application name: cvi.exe, version: 15.0.0.408, time stamp: 0x5583c33f
Faulting module name: CVI.dll, version: 15.0.0.408, time stamp: 0x5583c332
Exception code: 0xc0000409
Fault offset: 0x00a6e310
Faulting process id: 0x32ac
Faulting application start time: 0x01d16a59e390aacd
Faulting application path: C:\Program Files (x86)\National Instruments\CVI2015\cvi.exe
Faulting module path: C:\Program Files (x86)\National Instruments\CVI2015\CVI.dll
Report Id: 2838885d-d64d-11e5-8224-a02bb832175e