LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to run LV6.02-application from compact disk?

For demonstration purposes I would like to run a n application without data aquisition from a cd without installing the LV-Runtime-Engine on the PC. With version LV 5.1 it was possible to start the application and the runtime engine from a compact disk. With LV 6.02, I always get an error message if I try the same. Any ideas ?
0 Kudos
Message 1 of 8
(2,716 Views)
Save the application for 5.1 (of course, if you are not using something LV6 related) and run it with the old runtime engine.
0 Kudos
Message 2 of 8
(2,716 Views)
You may also try, since it is a demonstration, using the LabVIEW player.

Let us know what happens, I am curious to know if the player can be used on CDs myself.
0 Kudos
Message 3 of 8
(2,716 Views)
Hello,

You didn't mention which "error message" you receive when you try to run the application from your CD. If you only have the runtime engine (lvrt.dll) on the CD and not installed on the computer, this probably won't work. The reason is that the LabVIEW Runtime Engine (for version 6.0 and later) creates some Windows registry entries when it is installed...I don't believe the 5.1 run-time engine did this. These registry entries are necessary in LabVIEW 6.0 for various reasons, all related to new features in LabVIEW 6.0.

So to my knowledge, if you want to run an LabVIEW 6.0 executable on any computer, that computer will require the LabVIEW Runtime Engine to be installed.

I hope this answer makes sense. Let me know if you need anything else. If you contin
ue to have concerns about this, it would help if you told me the specific error message you receive.

Have a nice day.

Sincerely,
Darren N.
NI Applications Engineer
0 Kudos
Message 4 of 8
(2,716 Views)
Using Linux, I load the LV6 Runtime engine and my application from a
CD with no problem. Just put a symbolic link in /usr/lib and point it
at the CD version of LVRTE. I don't know that Windows supports
symbolic links however.

As for installing the LVRTE in Windows, it is not necessary to use
the NI LVRTE installer. I supply an application to users (using InstallShield)
and simply install all the files in c:\Program Files\National Instruments\
shared\6.0\..... to the users C directory. Works fine with no registry
additions. Maybe you could temporarily install your app and LVRTE to
hard disk and delete it when you were done?

Alan Brause


"Darren" wrote in message
news:506500000005000000403D0000-993342863000@exchange.ni.com...
> Hello,
>
> You didn
't mention which "error message" you receive when you try to
> run the application from your CD. If you only have the runtime engine
> (lvrt.dll) on the CD and not installed on the computer, this probably
> won't work. The reason is that the LabVIEW Runtime Engine (for
> version 6.0 and later) creates some Windows registry entries when it
> is installed...I don't believe the 5.1 run-time engine did this.
> These registry entries are necessary in LabVIEW 6.0 for various
> reasons, all related to new features in LabVIEW 6.0.
>
> So to my knowledge, if you want to run an LabVIEW 6.0 executable on
> any computer, that computer will require the LabVIEW Runtime Engine to
> be installed.
>
> I hope this answer makes sense. Let me know if you need anything
> else. If you continue to have concerns about this, it would help if
> you told me the specific error message you receive.
>
> Have a nice day.
>
> Sincerely,
> Darren N.
> NI Applications Engineer
0 Kudos
Message 6 of 8
(2,716 Views)
Darren, thanks for your answer.
I am still interested in getting this thing running. error code is 31, stating problems during call of LVRT.
There is another answer to my question suggesting to install the runtime engine and delete it afterwards. When I tried this with version 6.02 (manually), the application could not find the right pictures (I have used some customized controls with jpg´s and a html-report-vi), although I have installed the related dll also. (In fact, I simply let run the setup.exe, then copied the files (application + lvrt + data-files+ files necessary for report generation) on CD.

Thanks again for your help.

Holger alias thinktwice
PS: If you need any more infos, please don´t be annoyed when I will not answer immediately. (holl
yday!!!)
0 Kudos
Message 7 of 8
(2,716 Views)
Holger,

Are you using the 6.0 or 6.0.2 runtime engine? I know you mentioned using LabVIEW 6.0.2, but I just wanted to double-check and make sure you updated your runtime engine also...specifically the run-time engine you use with your executable. Anyway, this error (number 31) can be caused by a few different things...one of the main causes is a problem with Windows 95. Are you using Windows 95? If so, you need to download DCOM95 from the Microsoft website at the following location:

http://download.microsoft.com/msdownload/dcom/95/x86/en/dcom95.exe

I hope one of these suggestions helps you out. If not, please give me the precise, complete error message that you receive. Thanks for your patience, and have a nice day.

Sincerely,
Darren N
.
0 Kudos
Message 8 of 8
(2,716 Views)
> For demonstration purposes I would like to run a n application without
> data aquisition from a cd without installing the LV-Runtime-Engine on
> the PC. With version LV 5.1 it was possible to start the application
> and the runtime engine from a compact disk. With LV 6.02, I always get
> an error message if I try the same. Any ideas ?

I believe that you can place the DLL and resource directory next the EXE.

Greg McKaskle
0 Kudos
Message 5 of 8
(2,716 Views)