Discussion:
how to generate C code of the VI
(too old to reply)
vivekde
2008-05-27 06:40:04 UTC
Permalink
Hi,

Is there any provision available in LabView where we can gnerate C code of the Vi that we have developed. We are having a requirement where we need to develop the same code again in C and has to get compiled in Turbo C environment.

Please let me know if this is possible, that will save my large coding time.

Thanks in Advance,
Vivek
tst
2008-05-27 06:40:05 UTC
Permalink
While there are a couple of modules that convert LabVIEW code to C, I don't think they will help you. The PDA module does not give you access to the generated code, so it won't help you. The LabVIEW embedded module does give you access to the generated code (I think), but the module is expensive (~$10K) and the code is not meant for human eyes, so it won't be very readable.
If you want to save yourself rewriting the code, you can compile your VIs into DLLs and call those DLLs from the C environment. This will require you to have the LabVIEW run-time installed where you want to use those DLLs.
Loading...