LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't establish conversation using DDE

Platform: Labwindows/CVI 6.0.0

I'm trying to write two DDE applications using CVI. One will be a DDE server and the other will be a DDE Client and I want them to "talk" to each other. I run the DDE server application and successfully register the DDE Server. However, when I run the DDE client application and attempt to connect to the DDE server I just registered I get the "Conversation not established" error.

Why would this be?

Incidentally, the sample DDE program (CVI to CVI) that comes with the CVI package DOES run successfully on my computer.

Any help would be greatly appreciated!
0 Kudos
Message 1 of 4
(3,940 Views)
Sir,
I was unable to find this error string. The closest one I found was:
-kDDE_NoConnectionEstablished -12
I'm assuming you have some segment of the code after you create the server where you attempt to connect a client to it. This would require the ConnectToDDEServer() call, which is throwing the error. Do you have any error in the creation of the server? If you can't track down what is causing the error, you can post a small clip of code that replicates the issue on your machine, and i can test it out.

Daniel McChane
Application Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,940 Views)

Even i am facing the same issue.

Did you fix it?

Please let me know if you fixed this error

 

Thank you

0 Kudos
Message 3 of 4
(2,744 Views)

HI, buddy I find the same error code which was showed with Conversation not established, and i figure it out in the end. i think you should make sure that the way you open EXCEL file is correct when you try to use the function ConnectToDDEServer to link the server. i get a good result while i set the way open EXCEL file up by office from wps. So i the you may set the preety wrong way to open EXCEL file.Hopefully my experience will give you some help! Thanks!

0 Kudos
Message 4 of 4
(2,366 Views)