09-13-2009 03:01 AM - edited 09-13-2009 03:09 AM
Hi, I am new to Labview. Hope all of you could guide me.
My final year project is about ANFIS classification, where my sv has given me a program that has already been done. When I try to run, the program just fail to run. There is no error report fro the program. Is it the .NET framework is not compatible because the program is programmed based on .NET 2.0 framework, not the latest .NET 3.5 framework? Or there are missing DLL or other reason?
What can I do to make the program running on Vista?
Please, help me.
Thank you,
Kaio
Solved! Go to Solution.
09-13-2009 07:50 AM
There's probably a thousand things it could be, but here's one I ran into.
IF
the program tries to write a file in the same directory as the EXE
AND
the program is installed in the usual place \Program Files\MyProgram\MyProgram.exe
AND
you try to run it as a regular user (non-administrator)
THEN
you will see the behavior you described. It just quits without a message.
You need to either:
Run it as ADMINISTRATOR
OR
Install it somewhere where you have write privileges.
The problem is that VISTA takes steps to protect the PROGRAM FILES folder from writing by programs (XP, etc., did not). So, when the program wants to create its file, it cannot.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
09-13-2009 12:09 PM
Some additional questions:
09-14-2009 12:40 AM - edited 09-14-2009 12:49 AM
Thank you for your concerns. I'll try what you suggest.
1. The program is created using Labview 8.6 and in Windows XP, it is runnig smoothly. I also use the same version in VISTA
2. I'm not sure. I can run other simple program included from the templates in VISTA.
3. I mentioned .NET because the writer of the program said, if there is a problem, try to install .NET 2.0 framework, but VISTA is not compatible with the .NET version, so I just install .NET 3.5 instead.
4. I access the Front Panel and Block Diagram only.
5. Not yet, but i will.
p/s I have a very bad internet connection at my place, so I can't read your reply sooner and check what the runtime engine that i used. Sorry.
Thank you.
Kaio
09-14-2009 01:00 AM
Try running the program in compatibility mode. Right click> Properties> Compatibility> Windows XP compaitibility mode