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: