LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

C++ & Labview

Dear all,
I have a question about C++. I never program in C++, but now I have some source code written in C++ and I need to translate it into Labview. I do program in Java. When I read the format of C++ source code, it seems a litter relate to the format of Java. Does anyone have any source that I can read and learn how to do that. For example, C++ need to input the library, how can I input the C++ libraray into Labview??

Thanks
0 Kudos
Message 1 of 3
(2,824 Views)
You probably have to write a thin wrapper on top of C++ code that exports funtionality through DLL. LabVIEW then makes calls into the DLL functions (using the Call Library Node) to access your C code functionality.

Search for DLL and LabVIEW on support pages and you will find numerous examples.

A Rafiq
Message 2 of 3
(2,824 Views)
Hi,

Please visit the following link wher you will find information on using external code in LabVIEW.
http://www.ni.com/pdf/manuals/370109b.pdf

Regards,
Ankita A.
Applications Engineer
National Instruments
Message 3 of 3
(2,824 Views)