LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compiler

Hi,
I'm just wondering if there is a compiler for Labview? If so where can I
aquire it?


Thanks,
Rob
0 Kudos
Message 1 of 6
(3,467 Views)
Rob wrote:

> Hi,
> I'm just wondering if there is a compiler for Labview? If so where can I
> aquire it?

The compiler for LabVIEW graphical code is built into the LabVIEW development
environment and is not available separately from it. LabVIEW automatically
compiles your block diagram at various different times, including when you first
save or run a VI after making any changes to it.

Hope this helps,
John Lum
0 Kudos
Message 2 of 6
(3,467 Views)
Thanks, I thought the compiling would be more like C++ like, meaning that it
would generate an EXE file andnecessary library files etc.


John Lum wrote in message
news:399D6F40.8F937AF3@alum.mit.edu...
> Rob wrote:
>
> > Hi,
> > I'm just wondering if there is a compiler for Labview? If so where
can I
> > aquire it?
>
> The compiler for LabVIEW graphical code is built into the LabVIEW
development
> environment and is not available separately from it. LabVIEW
automatically
> compiles your block diagram at various different times, including when you
first
> save or run a VI after making any changes to it.
>
> Hope this helps,
> John Lum
>
>
0 Kudos
Message 3 of 6
(3,467 Views)
Rob wrote:

> Thanks, I thought the compiling would be more like C++ like, meaning that it
> would generate an EXE file andnecessary library files etc.

Ah--sorry for the confusion. In this case, the answer is yes, there is a
separate component that allows you to create a standalone executable from a
LabVIEW VI. It's called the LabVIEW Application Builder, and it is included
standard with the Professional Development version of LabVIEW and as a separate
add-on if you're using the Base or Full package.

Here's a link to the relevant NI catalog page (Windows):
http://sine.ni.com/apps/we/nioc.vp?lang=US&pc=mn&cid=2448

Regards,
John Lum
0 Kudos
Message 4 of 6
(3,467 Views)
Thanks for the help

John Lum wrote in message
news:399D73DF.EB5E2BEA@alum.mit.edu...
> Rob wrote:
>
> > Thanks, I thought the compiling would be more like C++ like, meaning
that it
> > would generate an EXE file andnecessary library files etc.
>
> Ah--sorry for the confusion. In this case, the answer is yes, there is a
> separate component that allows you to create a standalone executable from
a
> LabVIEW VI. It's called the LabVIEW Application Builder, and it is
included
> standard with the Professional Development version of LabVIEW and as a
separate
> add-on if you're using the Base or Full package.
>
> Here's a link to the relevant NI catalog page (Windows):
> http://sine.ni.com/apps/we/nioc.vp?lang=US&pc=mn&cid=2448
>

> Regards,
> John Lum
>
>
>
0 Kudos
Message 5 of 6
(3,467 Views)
> I'm just wondering if there is a compiler for Labview? If so where can I
> aquire it?
>

I realize that I'm jumping in late here, everything has already been
asked and
answered. What I wanted to do was to shed some light on what a compiler is.

A C/C++ compiler doesn't compile code into an EXE. Technically, a compiler
takes a source language and produces another language, most commonly the machine
instructions for a CPU. The C compiler stores these in .obj or object files,
and then a linker takes the .obj files along with .lib and the like and produce
an .exe.

The LV environment will compile the diagram into machine code anytime that
the VI is run. The execution of the VI involves jumping to the
generated code.
The application builder takes a bunch of VIs,
and some support code and links
them together into an .exe.

Anyway, as I said, the answers were correct and I'm just throwing in
some trivia.

Greg McKaskle
0 Kudos
Message 6 of 6
(3,467 Views)