Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to convert LabView code to C?

Is there a way to convert LabView code to C?
0 Kudos
Message 1 of 5
(3,959 Views)

To the best of my knowledge no. Many LAbVIEW functions are compiled directly to machine code apparently. Therefore the C-code does not exist for much of what makes up LV.

It's a common mistake to believe that LV programs have a C-program lurking somewhere in the background. This comes from the fact that the LabVIEW development environment was written in C. Hopefully most people will however recognise that this has nothing to do with the actual code produced by using the development environment.

As imilar comparison would be to ask if my WORD document is available in C++ because WORD itself was written in C++.

So the short answer to your question is no. If you require C-like code, try taking a look at LabWindows CVI. It's text-based.

Hope this helps

Shane.

Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 2 of 5
(3,952 Views)
You can however build a DLL in LabVIEW with the Application Builder that can be called from C based environments.
0 Kudos
Message 3 of 5
(3,933 Views)

Hi,

 

Are there any software or programs that can convert LabVIEW codings to C directly?! If there is, can anyone please share with me?

 

Regards,

 

KW

  

 

0 Kudos
Message 4 of 5
(3,423 Views)

@kok Wan wrote:

Hi,

 

Are there any software or programs that can convert LabVIEW codings to C directly?! If there is, can anyone please share with me?


Did you try a search? This question has been asked MANY times. http://forums.ni.com/t5/forums/searchpage/tab/message?location=Board%3A170&q=convert+labview+to+c

0 Kudos
Message 5 of 5
(3,411 Views)