07-29-2011 03:08 PM
I am trying to pass tag values from RSview to labview for DDE located on the same PC.
I am able to get KepwareEx to act as a DDE server and send values to Labview. I have also created a node in RSview from an DDE server and can get values to go from Labview to a tag in RSview.
I am unable to have RSview be the DDE server and send data to Labview.Labview ask to start "RTdata.exe" and then error 14013. Here is what I have done.
In RSview went to System -> Startup and checked the "OPC/DDE Server" box. I also created a startup and shutdown macro which contains "RTDataServerOn".
even for another test
In Excel, in a cell I have "=RTdata|testdde!testval", where "testdde" is the name of the RSview project and "testval" is the name of the tag
Anyone know if I am forgetting something, or have any suggestions?
I am using WinXP service pack 2Pro with RSview32 7.10 licensed.
09-15-2011 02:05 PM
Hi,
I have questions about it:
1) How do you configured your communication between LabVIEW and KepwareEx?
2) Does Your application is a .exe file or a VI?
Here is a KB link for this error 14013, try to read it maybe help you:http://digital.ni.com/public.nsf/allkb/862567530005F09C8625667C0068DA20
And this article is about Using DDE in LabVIEW:http://zone.ni.com/devzone/cda/tut/p/id/4531
Best Regards,