06-30-2011 08:10 AM
We have 2 applications. One is developed in Labview and other is developed in VC++. Now we need to pass some data to the VC++ application.
We did that using Dll and it worked to some extent. But we need to have a solution which will not be using a dll or any third file.
Looking at the overall setup, we also have constraints in using sockets on windows.
My question is
1) Will datasockets help me ? I could not find any promising example ( from VC++ side ) which will help me.
2) Are there any other alternatives for IPC here ? can one point to any useful example ?
Just for info I am using LabVIEW 8.6. on windows platform.
07-01-2011 12:37 AM
Datasocket helps to subscribe to live data streams using the following protocols:
1. PSP
2. DSTP
3. OPC
4. FTP
If your code can publish data using any of the above protocols, you can share data from the Visual C++ code to LabVIEW VI.
07-01-2011 02:24 AM
Hi,
I think we´ve got the same problem.
I use LabVIEW 2010 and want to pass data bewteen LabVIEW and MS C#.
I´m trying to use Shared Variables. For MS C# or C++ you must have the Meausurement Studio.
Perhaps my thread "Shared Variable between LabVIEW 2010 and C#" ist intersting for you:
http://forums.ni.com/t5/LabVIEW/Shared-Variable-between-LabVIEW-2010-and-C/m-p/1485828