LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create an executable file?

Hello.
I´ve built a program for data aquisition that is composed
by several Vi´s grouped in one library.
One of those Vi´s is ´kind´of an executable for it
runs when oppened and manages all other Vi´s.
I´ve now a Computer in Pc/104 form and have limited memory and
disk space,so I cannot install Labview full in this computer.
I need to create an executable file that runs with
only a Labview smallcore, not the whole program.
How do I do it?
It needs to take the minimum possible disk space!
Thank you.

Jony

Got questions? Get answers over the phone at Keen.com.
Up to 100 minutes free!
http://www.keen.com
0 Kudos
Message 1 of 11
(4,562 Views)
The solution to your problem is to purchase the aplication
builder, a LabVIEW toolkit to create stand alone
executables.

Gorka Larrea
glarrea_1@hotmail.com


* Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful
0 Kudos
Message 2 of 11
(4,562 Views)
Hi Gorka

I have LabView 7.1 full development module.Does it mean that with application builder I can create executable files that I can run on any computer without a trace of LabView as well as any hardware like image ,data acquisition and motion control cards ? and  for that sake any laptop or desktop ?

Thanks

Deepak

LAB View 2010 SP1
0 Kudos
Message 3 of 11
(4,328 Views)
You will need to have the runtime installed (as with any newer programming language), and it has to be on the same OS type (windows, linux, mac) that you created the executable for, unless you are using the embedded/realtime modules, then I have no clue.
0 Kudos
Message 4 of 11
(4,320 Views)
Bah, doublepost.


Message Edited by Britoa on 12-21-2007 02:50 PM
0 Kudos
Message 5 of 11
(4,319 Views)
The other thing to be aware of is that there are a few things that can change in an executable. For example, if you have code that generates file paths relative to the location of a VI, these paths will change. You also need to be aware that some properties don't work in an executable. In addition, if you have external code (DLLs and such) you need to make provisions for getting them installed on the target. There are other things, but these are some of the big ones.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 11
(4,305 Views)

How can this issue be tackled then? Right now my code has a file path to call another code similar to functions.

 So what do I do to make an executable?

0 Kudos
Message 7 of 11
(4,032 Views)
Hi smm,
you can use a property node to get if you program run as exe or as vi. Use a case structure to build different paths for both capabilities.
Mike
0 Kudos
Message 8 of 11
(4,028 Views)
The difference between returned paths in an exe or in development mode have been discussed a large number of times. A very recent thread is http://forums.ni.com/ni/board/message?board.id=170&message.id=332585.
0 Kudos
Message 9 of 11
(4,023 Views)

the vis work on my computer. but the exe is gng to be run on a different computer.

What I want to accomplish is that only the main code shows up at start up of the exe. And when an appropriate choice is made, it should pull out the other part of the code from the file path

0 Kudos
Message 10 of 11
(4,020 Views)