LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can i use C++ to program my labview vi?

i have already create a vi, can i translate it in to c++ code? how?
thanks for help!
0 Kudos
Message 1 of 3
(2,778 Views)
Youe subject and message body ask two different questions:

Can you translate vi code to c++ code: No
You can use C++ DLLs in your VI, yes. ...
0 Kudos
Message 2 of 3
(2,772 Views)
Hi,

VIs cannot be translated to sourcecode for other languages. LabVIEW is a dedicated programming language with its own syntax and semantics; therefore it is on the same level as any other language like C/C++, Delphi, C# or VB. The code you will get as the result is a metacode which needs the LV RTE to run. You can compare this to the method as done in .NET.

Norbert

[Edit]: If you think the way like Thomas suggests, you can create a DLL out of LabVIEW-VI by using the Application Builder and use this DLL in a C++-project. This works as well the other way round if you need to include existing c-code in your LV-application.

Message Edited by Norbert B on 08-28-2006 06:09 AM

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 3 of 3
(2,771 Views)