 Cesarman
		
			Cesarman
		
		
		
		
		
		
		
		
	
			01-04-2007 04:18 PM
01-05-2007 04:27 PM
Hi,
How did you implement the sum of two elements? I will suggest you convert the C++ code to a shared library (dll) and call the dll from LabVIEW using the "Call Library function Node". With this function, you can specify the dll function with the input and output parameters.
Tunde
01-05-2007 06:40 PM
 Lycangeek
		
			Lycangeek
		
		
		
		
		
		
		
		
	
			01-08-2007 09:57 AM
I'm not certain the difference (and there isn't an attachment). However, if the functions you are exposing from your DLL are not marked as extern "C", then you'll have a lot of difficulty calling it from LabVIEW. You don't want to deal with the C++ name mangling, so keep the API simple and straight C. Behind the function signature, however, you can use whatever you want.
If you are already doing this, can you answer the following
1. What, exactly, is going wrong?
2. What version of LV?
3. What version and platform is the C++ compiler?