Search  
Thursday, August 28, 2008 ..:: Home ::.. Register  Login
 Top 10 Products Minimize


    

 Protocols / Specs Minimize

 
RS-232 85
IEC 61850 50
ModBus 35
PROFINET IO 35
FTP 27
SNMP 23
HART 23
PROFIBUS 23
ZigBee 16
CAN 15

    

 Latest Articles Minimize


    

 Why Net DDE Minimize

Location: BlogsHarsha on IA    
Posted by: Sriharsha Vardhan Tuesday, July 17, 2007

Last week some one tried to make a joke about usage of Net DDE in WW products. Actually I was also not so convinced why WW still supports DDE and SuiteLink (DDE+ avatar). Since then I was trying to collect some information to educate myself on DDE.

I have been using DDE since 1998. Then I used it to create some custom report formats for customers. I used to collect information from DCS Systems to populate excel sheets. Those were the times OPC (OLE for Process Control) is stabilizing. OPC is COM based as the name itself contains OLE. Every DCS system is offered with DDE support for connectivity to excel. A simple formula in excel to access data made is quite a suitable approach. Like Application!Topic.Item for local DDE. and \\server\ndde$|share_name!tag_name for Net DDE. This is simplified by WW to be \\nodename\application_name|topic!'tag'.

WW DAServers offer all the three protocols. DDE, Suitelink and OPC. Older IO servers offers prior two and DAServers offer last one too. Thus the question about why Net DDE sounded quite logical.

Couple of reasons can be quoted here. a) It is developed by WW and then incorporated into Microsoft Windows. So importance of this protocol differs from WW to Microsoft. 2) InTouch understands Suitelink and DDE only. But some questions here.

What is DDE

Dynamic Data Exchange is developed by Microsoft during 1989. It is based on Windows Messages. It offers simple infrastructure to communicate between processes. So it is an IPC. Yes it is an IPC.

What is Net DDE

Net DDE is an extension for DDE for IPC across hosts.

Where is it used

Copy Paste. Everyone uses it. Copy Paste is achieved by DDE. Start Menu is populated with DDE. And in Industrial Automation sphere, it is used extensively.

What is the architecture

 DDE operates in Client Server mode. But unlike COM it doesn't have any broker service. It uses windows infrastructure to queue up Windows Messages. When client want to communicate with server it posts a message and then carries on with its work. Then System processes this and sends it to Server. Server receives it as a message and processes request. From then on Server post messages to client about the information requested periodically.

So it is different from COM

Yes it is different from COM in many aspects. DDE operates in advise mode and it is more suitable for continuous communication rather than transaction based communication. Industrial Automation relies on continuous communication. COM is best suited for transactions. COM is synchronous where as DDE is asynchronous. So for continuous communication DDE eliminates frequent poll requests.

In COM,  client can interact with object in server's address space. There the need is to operate on objects via interfaces. Mean data access is restricted. Where as DDE exchanges current state of data. So predominantly COM is more suitable for state transition whereas DDE is suitable for State monitoring.

COM client can not decide timeout for connection with  server, where as DDE clients can.

COM requires supporting runtime infrastructure, whereas DDE applications are light weight and easy to develop.

 So I feel that using Net DDE based protocols is advantageous in some scenarios. But as world moves ahead with new technologies one need to convince upon continuing with old ones.

Every technology got a span. Beyond which either it should go to museums or or take a new avatar and contest for acceptance in new world.

Microsoft clarified that Net DDE will not be supported from Vista.  Rather not distributed with Vista. But WW can still distribute the Net DDE installer and install on Vista machines. So from now on Net DDE becomes a WW product than a Microsoft product.

Hope WW will find some new avatar for it to continue selling their star product InTouch !

 

more about Net DDE

http://www.angelfire.com/biz/rhaminisys/ddeinfo.html

Permalink |  Trackback

Your name:
Title:
Comment:
Add Comment   Cancel 

  

 Upcoming Events Minimize

Event StartEvent EndTitle
(UTC +05:30) Calcutta, Chennai, Mumbai,New Delhi

      

 Monthly Poll Minimize

Do you (or your organization) use OPC UA for device communication?



Submit Survey  View Results

      

 Users Online Minimize

Membership Membership:
Latest New User Latest: daz
New Today New Today: 0
New Yesterday New Yesterday: 0
User Count Overall: 48

People Online People Online:
Visitors Visitors: 17
Members Members: 0
Total Total: 17


  

Copyright 2006-07 by Industrial-Automation-Software.com   Terms Of Use  Privacy Statement