LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI 9.0 file open error (FileSelectPopup - hang) on Vista deployments

Hi Hoffmann,

 

I downloaded the zip file you posted, ran the executable, and ran into some very interesting behavior.  I ran this on an XP system with SP3 and, while the program didn't hang, the initial dialog box never popped up - only the second one did.  If the executable you compiled in your most recent attachment did not include the hang, could you recompile without the initial dialog box commented out?  I am interested to know if I see the same behavior on another machine.  I also had a chance to compile this on a fresh install of CVI 9.0.1 with XP and I did not experience any hang with this executable.  Could you attach a screenshot of your build options?  I would like to see if I can replicate this using any settings you may have changed.

 

Thanks,

Trey C.

0 Kudos
Message 21 of 27
(1,329 Views)

Thanks for your testing. The executable was exactly the one I had the problem with. Meanwhile I tested on two other Systems (both XP SP3 with the most recent updates, one in a VM and one on another PC). On both of them it works, while here it reproducibly hangs. So I'm a bit lost at this now. Please find attached the build options.

0 Kudos
Message 22 of 27
(1,317 Views)

I don't see anything special in your build options that would be causing the problem that you are seeing - your stack size is 3x the default but you are still well under the maximum and well above the minimum.  Additionally, I was able to change my stack size to match yours without incidence.  What version of the CVI runtime engine are you running on each of your machines?  You can check this from Measurement and Automation Explorer under Software.  If you click on LabWindows/CVI Run-Time 2009 then you will see the version at the top of the screen in the form 9.0.1.xxx.  

 

It might also be worth your time to perform a repair of the run-time engine on the computer you are having problems with to see if this resolves the issue.

 

Regards,

Trey C.

0 Kudos
Message 23 of 27
(1,294 Views)

In the beginning I used the default stack size. I just increased it after having the problem because of ealier posts in this thread.

 

Repairing the run-time engine did not help.

 

The run-time version on the computer with the problems is 9.1.0.428. The other machines which did not have problems use 9.0.1.375 (another XP) and 9.1.0.428 (Win7).

0 Kudos
Message 24 of 27
(1,279 Views)

Hoffman,

 

I have attached the file you were originally seeing hang; however, I recompiled this on an identical (well, as close to identical as I can get - Windows XP SP3 with the 9.1.0.428 runtime engine you specified) and, upon recompiling, both of the file selection popups appear and I don't experience any problems.  This attachment contains the recompiled code; if you run this does it hang or not? If it does then, as the executable still relies on your run-time engine, then my thought is that the problem may still lie here.  A repair only replaces missing files, it doesn't fix corrupted files so, as hesitant as I am to suggest this, an uninstall/reinstall of the run-time engine might be called for.  If it doesn't hang, then it is likely something on the compiler level that is giving us trouble.  In this case, I might suggest an uninstall/reinstall of CVI itself.  In either case, it appears to me that one of the files referring to this FileSelectPopup may have been corrupted since this problem seems isolated to a single machine.

 

Let me know if you are able to run the executable that I've included, I think this will help us pinpoint the source of the problem you are seeing. 

 

Regards,

Trey C.

0 Kudos
Message 25 of 27
(1,263 Views)

It's strange, but today everything works. Your compiled version as well my broken example. I'm not aware of any changes of the system since the repair/test yesterday. I'll test your version, if the problem reappears. But hope, that it does not. Anyway, thanks for your help!

0 Kudos
Message 26 of 27
(1,256 Views)

I'm not sure what happened but I'm glad to hear everything is working!  Good luck with your project!

 

Regards,

Trey C.

0 Kudos
Message 27 of 27
(1,242 Views)