LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build a stand_alone and its transfer to another computer

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

 

0 Kudos
Message 1 of 11
(4,363 Views)

Hi,

Have you install runtime-engine 2009 or other related Ni drivers in the PC that running the exe??

 

 

0 Kudos
Message 2 of 11
(4,353 Views)

Download the run time engine from the link below. Make sure you download the correct one (64bit - 32bit)

 

 

http://joule.ni.com/nidu/cds/view/p/id/1603/lang/en

0 Kudos
Message 3 of 11
(4,349 Views)

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

 

0 Kudos
Message 4 of 11
(4,331 Views)

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...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 11
(4,327 Views)
Also each version of Labview has its own runtime version. If you have a system using an older Labview runtime engine. The new runtime engine will not be installed ontop the older one. But as a seperate system.


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 6 of 11
(4,322 Views)

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

 

 

0 Kudos
Message 7 of 11
(4,302 Views)

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...

Message Edited by GerdW on 05-06-2010 01:19 PM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 11
(4,295 Views)

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

0 Kudos
Message 9 of 11
(4,264 Views)

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...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 11
(4,260 Views)