LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

labwindows as a DDE client

Hi,

I have a DDE server, which is a software to communicate with my physic device MFC. Now I want to use Labwindows/CVI as a client to talk to the DDE server (write/read data to/from DDE server), and disconnect the connection after finishing writing/reading. Are the following steps correct:
**********************************************
int ClientCallBack ()
ConnectToDDEServer()
ClientDDEWrite()
SetUpDDEHotLink()
ClientDDERead()
DisconnectFromDDEServer()
*********************************************

I am just a beginner on DDE library. sorry for my little knowledge.

Thanks,
Joyce
0 Kudos
Message 1 of 3
(3,002 Views)

 I cannot give you practical informations since I never used DDE, but you may find useful this document and this other one

Hope this helps you a little



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(2,982 Views)
Hey Joyce,

The general flow of the steps you provided looks correct.  You can also find more information on MSDN here.  I am sure the way you are going to implement you client CVI DDE application is going to be highly dependent on the way your device sets up its DDE Server; there should hopefully be some documentation that came with your device that specifies how you should interact with it.  Good Luck!
Best Regards,
Software Engineer
Jett R
0 Kudos
Message 3 of 3
(2,977 Views)