LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert Labview code to C code

 Is there any way to convert a LabView code to C ? I have developed an application using LV and I am working with another member who doesnt know LV, but is good at C and he would like to use my code and embed into a non-OS processor (such as a microcontroller).  He wants me to convert my LV code to C code so that he can just take that C code and flash it onto the microcontroller. 
 
Is there anyway this can be done? I'd appreciate any suggestion.
 
Thank you.
0 Kudos
Message 1 of 4
(3,410 Views)
You could compile your code into a .DLL and then he should be able to link to it with his own C code. I managed to do this once years ago, but haven't tried recently. With the improvements in LabVIEW and the compiler, it should be easier now. Look in the help files for creating a .DLL.

     Rob
0 Kudos
Message 2 of 4
(3,404 Views)

THanks for the response Robert.  My initial thought was to use dll, but he says he cannot accept dlls.  The compiler he has doesnt link dlls to the c code.   He is using Code Warrior. 

 

0 Kudos
Message 3 of 4
(3,401 Views)
 
I know that you can't do that with regular LabVIEW but there is an embedded development module. 
 
As far as a conversion to C, LabVIEW doesn't really have anything like that as far as I know.
 
I would suggest that you talk to your area sales rep and see what she/he has to offer. 

Hope that this helps,

Bob Young

0 Kudos
Message 4 of 4
(3,370 Views)