Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

generating C code from Labview

hello,

I just wanted to know how can i generate c codes from my labview vi? I mean how can i convert my vi to an exe file that can run without labview?

or at least if it's not possible to generate c code from labview how can i make an stand alone computer that runs labview vi without the need of an opertaing system?

thank you

0 Kudos
Message 1 of 3
(3,483 Views)

Are you referring to just the main LabVIEW package, or are you also talking about using Machine Vision (I ask because you posted in the machine vision section). I'm not sure about C code, but you can convert a VI to an EXE file by using the Application Builder Add-on, or by using the Professional version of LabVIEW (prices for current versions of both of these are available on the main NI site).

 

If you are planning on making a stand-alone application with LabVIEW vision, you need a run-time license, which costs $309 (last time I checked). Most of the add-on toolkits require a run-time license, I believe.

0 Kudos
Message 2 of 3
(3,449 Views)
You could look into compiling your LabVIEW code into a DLL that can be called from a different programming environment such as C. There is no utility that comes with LabVIEW to convert to C code. As for your second question, you can run a LabVIEW executable on any PC as long as you have the LabVIEW Run-Time Engine installed.
Vivek Nath
National Instruments
Applications Engineer
Machine Vision
0 Kudos
Message 3 of 3
(3,420 Views)