LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Linking C++ coding

Hi,

      How do I link my C++ coding to Labview? I am using the Labview 8.5 trial version. Is there limitation from this trial version that does not allow me to perform the link? I would like to call DLL as well, how can I do it using this trial version?

 

Thanks.

0 Kudos
Message 1 of 5
(2,960 Views)

The easiest way to call external APIs is to use DLLs and access these from LabVIEW using the Call Library Function Node. The CLF node is available in all versions of LabVIEW (The trail version is LabVIEW Full Development System). Have a look at the following article and be sure to post back if you have any questions:

Configuring the Call Library Function Node

Message Edited by Adnan Z on 03-09-2009 02:15 PM
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 5
(2,958 Views)
There is also a very good example that ships with LabVIEW. Open the Example Finder (Help -> Find Examples) and search for "DLL". Open the VI called "Call DLL".
0 Kudos
Message 3 of 5
(2,930 Views)

Can I write my c code directly into labview block diagram using some tool.....

0 Kudos
Message 4 of 5
(2,561 Views)

Only in the LabVIEW embedded Toolkit version. And there only because the LabVIEW code gets translated into C and then compiled by a target specific C toolchain.

 

LabVIEW is a fully turing complete programming environment and therefore does not require another language to solve certain things that couldn't be done in LabVIEW. As such I find it better to have the right tools for the thing you want to do, instead of trying to create a super duper app, that does everything but nothing completely right.

Rolf Kalbermatter
My Blog
0 Kudos
Message 5 of 5
(2,553 Views)