05-06-2010 02:21 AM
Dear all,
I have a "Anything.Vi" which is running well.
I built an application with it and found the so called stand_alone excecutable on my harddisk.
The application name is (for simplicity) application.exe (as generated by Labview 2009)
The file "application.exe" runs well when it is started from the computer, which has the Labview 2009 platform installed
Then I have copy the so called stand alone (ie here "application.exe") to another computer but it does not start. When clicking on it I get a message telling that Labview 2009 is missing.
I thought that a stand alone (ie application.exe in this case) can be run in any other computer, even if the computer does not have labview 2009 installed.
I trying to get stand alone files from internet (often available from the instrument supplier) and it works.
So I am making somewhere something wrong but I don't know what ?
Can anyone helps here ?
Thank you
05-06-2010 02:44 AM
Hi,
Have you install runtime-engine 2009 or other related Ni drivers in the PC that running the exe??
05-06-2010 02:59 AM
Download the run time engine from the link below. Make sure you download the correct one (64bit - 32bit)
05-06-2010 04:13 AM
Dear all,
Thank you for you answer,
You are right the computer is always asking for
Run Time Engine of LabVIEW 2009
But what I don't understand why a stand alone supplied by the instrument manufacture is running well
and not my own stand alone.
I can install
Run Time Engine of LabVIEW 2009
on the computer but then I am afraid that the stand alone supplied by the instrument manufacture will not run anymore.
Or does it exist any option (Labview 2009) where the Run Time engine is compiled with the own VI ?
Thanks for the clarifications
05-06-2010 04:23 AM
Hi Youki,
when you can create the exe you can also create a complete Installer in the same way using the AppBuilder!
(Nearly) each executable is needing a runtime engine. The point is: LabVIEW is not an integral part of Windows, so you have to supply this RTE. Programs compiled using VisualC (or other products by Microsoft) use a RTE, which is part of the OS and so doesn't need to be installed additionally...
05-06-2010 04:30 AM
05-06-2010 06:06 AM
Dear all,
Thank you for the answer GerdW
I don't understand what you mean with
"when you can create the exe you can also create a complete Installer in the same way using the AppBuilder!"
Do you mean that it is possible to create an application where the RTEngine is not necessary to install extra ?
I am really stuck presently and I would like to go forward
I have asked "NI.com/ask", the answer are link's to tutorial and the end I have no real answer to the issue.
indeed, the NI tutorial writes (for Installers(Windows)) at point 6. "From the "Category" list, click "Additional Installers" to display "Additonnal Installer" then at point 7. Place a checkmark in the NI Labview Run-Time Engine checkbox.
All that is nice but there is no "Additional installers" on my Category list !
Thank you for a solution
Youki
05-06-2010 06:17 AM - edited 05-06-2010 06:19 AM
Hi Youki,
when creating an installer the RTE is usually already included.
You need "additional" installers/packages for HW drivers like VISA, Vision or similar...
Which LV version do you use? In LV8+ you should have your VI(s) in a project and there you have a (virtual) folder for "Builds". In this section of the project you can create different kind of builds, "Installation setup" being amongst them...
05-06-2010 11:02 AM
Dear all,
This was the issue which hindered me to build a correct stand alone application.
http://digital.ni.com/public.nsf/allkb/1B53A6FDFC20B8058625752400687F42?OpenDocument
For unknown reason NI files are not even listed in the populated add/remove control panel tab. So I cannot follow the first recommandation of the document cited here above. I don't know also why I cannot dowload the file mdffix.reg (as mentionned in the same document)
Can anyone mail me this file (ie mdffix.reg) through the forum (zip form for example)
If I reinstall Labview 2009 (instead of repair) do I take the risk to loose my project ?
Thank you for your support
Youki
05-06-2010 11:13 AM
Hi Youki,
"I don't know also why I cannot dowload the file mdffix.reg"
We know. Those files are only available to NI engineers as they are located on the ae.* area of NI's server... It happens too often that files aren't uploaded on a server for public access! Will report this to NI...