LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to generate code (as C or C++ code) from a LabView diagram

Thanks.
Hassen
0 Kudos
Message 1 of 3
(2,912 Views)
No
although it is possible to generate VHDL code
with the correct inifile setting. This VHDL code is useless because the required libraries to link with the code are not available.
greetings from the Netherlands
0 Kudos
Message 2 of 3
(2,912 Views)

Hi Hassen;

LabVIEW is an alternative to traditional text-based programming languages. It is not an alternative way to come up with text-based code.

If you created a function in LabVIEW and want to use it in another programming language, you can convert it into a dynamic-link library (.dll file) and then call the dll from your code. You need LabVIEW 6i and Application Builder.

The following tutorials explain how to do that:

Building DLLs in LabVIEW 6.0 

Calling a DLL from Microsoft Visual C++ that Was Generated by LabVIEW 6i 

Best regards;
Enrique

www.vartortech.com
0 Kudos
Message 3 of 3
(2,912 Views)