ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple example of calling C++ code in LabVIEW

Hi,
 
I was just wondering if anybody has a VI that I could have to have look at about calling up C++ code to work with LabVIEW.
 
Any example would be great, just so that I can seee and get it into my head what is going on.
 
Thanks
 
Alan Homer
0 Kudos
Message 1 of 2
(2,556 Views)
You would need to build your C++ code into a DLL. Then you can call the DLL from LabVIEW. Examples ship with LabVIEW to show how to do this. Just search the LabVIEW on-line "Find Examples" (search for DLL or for the VI "Call DLL"). You can also check these pages:

"Calling Code Written in Text-Based Programming Languages" (8)
"Can LabVIEW C? - Example 3: Using the Right Tools with LabVIEW"

Message Edited by smercurio_fc on 01-30-2006 11:52 AM

0 Kudos
Message 2 of 2
(2,523 Views)