LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

exe cd?

Hi to all...
Is it possible to run LV / TS executable(s) on cd.
Examples?
Thanks
0 Kudos
Message 1 of 10
(3,558 Views)
Yes...

If you don't want the users to have to run an installation of the RTE first either then include the runtime engine files in the same folder as the application. As long as the application does not have any code in it that requires write access to any files on the CD it really does not matter if it's on a CD.

So for an example you can pretty much pick any application.
Message 2 of 10
(3,558 Views)
Hi,

Does this work with new versions of LV (LV6, LV7)? It sounds great...

Regards,

Wiebe.


"Mads" wrote in message
news:506500000005000000EB3C0100-1068850981000@exchange.ni.com...
> Yes...
>
> If you don't want the users to have to run an installation of the RTE
> first either then include the runtime engine files in the same folder
> as the application. As long as the application does not have any code
> in it that requires write access to any files on the CD it really does
> not matter if it's on a CD.
>
> So for an example you can pretty much pick any application.
0 Kudos
Message 3 of 10
(3,558 Views)
Yes it works for LV6 and 7.

If you add an autorun file on the CD you can even have it launch automatically. (a file named autorun.inf, inside it you write:

[autorun]
OPEN=Leak Monitor 1.0.exe
icon=leakmon.ico

Just edit the application and icon name to whatever you have...)

The LabVIEW Technical Resource magazine is an example of this; the magazine is accompanied with a CD with a LabVIEW application that presents the contents of the CD set up to run automatically.
0 Kudos
Message 4 of 10
(3,558 Views)
Hi

be aware that you cannot use apps which needs drivers like NI-DAQ, VISA ...
In this case you must install the drivers before running the app from CD.
This will be critical if you have serial functions using serpdrv in LV 6.1 (which will run from CD) and convert it to LV 7.0 which will map them to VISA functions (which will not run from CD).

Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 5 of 10
(3,558 Views)
Unless you pack the good old serial VIs from LV6 and bring them with you into the world of LV7...
0 Kudos
Message 6 of 10
(3,558 Views)
Mads, what are the actual files that need to be included in the CD? In other words, what constitute the LabVIEW Runtime engine?
www.vartortech.com
0 Kudos
Message 7 of 10
(3,558 Views)
Basically, everything in directory /program files/national
instruments/shared/LabVIEW Run-Time/7.0 (or 6.0 or 6.1, etc.) on your hard
drive. It also helps to augment 7.0 error directory with additional error
files found in shared/errors.

"Enrique" wrote in message
news:50650000000500000025410100-1068850981000@exchange.ni.com...
> Mads, what are the actual files that need to be included in the CD? In
> other words, what constitute the LabVIEW Runtime engine?
0 Kudos
Message 8 of 10
(3,558 Views)
The minimum is lvrt.dll and lvapp.rsc. If you have graphics you may need lvjpeg.dll and lvpng.dll. If you use 3D controls you minim need mesa.dll, if you use any of the controls modelled in the models catalog you need to include the models directory. If you use the old serial VIs include serpdrv.

In LV7 some new files was added; DNDomain.dll, LVShellExt.dll,DNCompInfo.dll. I'm not sure when they are needed (anyone?), I've managed without them so far....I guess the shell etension might have something to do with the support for dos arguments(?).
0 Kudos
Message 9 of 10
(3,558 Views)
> In LV7 some new files was added; DNDomain.dll,
> LVShellExt.dll,DNCompInfo.dll. I'm not sure when they are needed
> (anyone?), I've managed without them so far....I guess the shell
> etension might have something to do with the support for dos
> arguments(?).

The shell extension is used to put specific VI icons in the File
Explorer instead of the generic icon. It also allows for viewing of
LLBs in the File Explorer. The DN files aren't something I'm familiar with.

Greg McKaskle
0 Kudos
Message 10 of 10
(3,558 Views)