LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot run labview program done using xp in windows VISTA

Solved!
Go to solution

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?

 

Robot SadPlease, help me.

 

Thank you,

Kaio

Message Edited by Kaio on 09-13-2009 03:09 AM
0 Kudos
Message 1 of 5
(2,864 Views)

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. 

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


Blog for (mostly LabVIEW) programmers: Tips And Tricks

Message 2 of 5
(2,849 Views)

Some additional questions:

  1. What version of LabVIEW was used to create the executable? (run it on XP and see if there is a "help..about" screen available).
  2. Did you install the correct LabVIEW runtime engine on the Vista computer?
  3. Why do you mention .NET?
  4. Do you have access to the code used to make the executable?
  5. Do you know who wrote the program? Have you tried to ask them?
0 Kudos
Message 3 of 5
(2,835 Views)

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

Message Edited by Kaio on 09-14-2009 12:49 AM
0 Kudos
Message 4 of 5
(2,801 Views)
Solution
Accepted by Kaio

Try running the program in compatibility mode. Right click> Properties> Compatibility> Windows XP compaitibility mode

 

-FraggerFox!
Certified LabVIEW Architect, Certified TestStand Developer
"What you think today is what you live tomorrow"
Message 5 of 5
(2,795 Views)