LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Executable not working - Looking for LabVIEW Run-Time Engine

This has been one of those days.

I'm trying to create my .exe file to place onto another computer. I've done this before with success. But that was then and this is now.

I believe I have all the files I need in my LLB, and I believe I did my application distribution correctly and I believe I built the DLL correctly. But when I took the resulting .exe file and placed it on another computer and attempted to run it, it gave me the error message: "Unable to locate LabVIEW Run-Time Engine. Program requires a version 7.1 (or compatible) LabVIEW Run-Time engine. You should have already realized this, you moron."

Anyone have any idea where I went wrong or what step I might have missed? This has been a crazy, non-stop, massive brain fart of a day and I can't seem to remember what I'm missing here.
********************************************
Amateur programmer for over 10 years!
********************************************
0 Kudos
Message 1 of 7
(4,038 Views)
Hi.

Whenever you want to use executables or .dll's created with LabVIEW you must make sure that the LabVIEW runtime engine of the SAME version as the LabVIEW version used to create the files, is installed in the target computer.

There are basically 2 ways to get the run-time engine installed on a computer:

1. (the one I prefer): Download the correct version of the LabVIEW run-time engine installer from www.ni.com/downloads, or more specifically from

http://digital.ni.com/softlib.nsf/websearch/369618104E25B08E86256F54006A4E2F?opendocument&node=132050_US

for the latest one. Once you have the installer for the run-time engine, just install it in the target computer. I prefer this option because the run-time engine is installed independently, so if you then uninstall your program, the run-time engine remains.

2. Create an installer for your program that includes the run-time engine. To include the run-time engine, when you are creating your application, go to the "installer settings" tab, click on "Advanced" and make sure there is a checkmark on "include LabVIEW run-time engine". This way when you install your program in the target computer, the run-time engine will also be installed.

Just as a note, any computer with LabVIEW on it, will also have the run-time engine.

Good luck.

Alejandro
Message 2 of 7
(4,030 Views)
I tried option #2...no luck, got the same error message.

I'll try option #1 in a few!
********************************************
Amateur programmer for over 10 years!
********************************************
0 Kudos
Message 3 of 7
(4,013 Views)
Crud. I copied the Run Time install program from the web address you gave me onto a flash card, then put that onto the laptop computer. Every time I try to do the install I keep getting error messages and my installation fails.
********************************************
Amateur programmer for over 10 years!
********************************************
0 Kudos
Message 4 of 7
(4,004 Views)
What version of the RTE are you using? On what type of Laptop are you installing the RTE? What errors are you getting?

-Brett
0 Kudos
Message 5 of 7
(3,987 Views)
I ended up copying the updated driver to a bigger flash card and that worked fine and the updated driver loaded properly onto the laptop. The bad news is, it still is not communicating.

The laptop has Windows 2000 as the OS and I set the serial port in Windows Control Panel to match my program, just in case. The laptop is a used Panasonic CF-71 and it feels like it's made out of lead. I'm not getting errors anymore, but it still doesn't communicate.
********************************************
Amateur programmer for over 10 years!
********************************************
0 Kudos
Message 6 of 7
(3,971 Views)
Did you program using VISA? If so, you will need the VISA RTE for your communication. This can be downloaded just as the LV RTE was.

-Brett
0 Kudos
Message 7 of 7
(3,944 Views)