r2 - 03 Nov 2006 - 21:11:24 - BrianSwanYou are here: TWiki >  Main Web  > UsingDDE

Using DDE in ATCSMon

In this section:

Introduction

DDE is "Dynamic Data Exchange", and like its name, does nothing more than provide a protocol of exchanging data dynamically between two Windows applications. It's a somewhat older protocol that's been around since Windows 3.x days. Most Windows developers today use something called COM, or Component Object Model for interoperability, but DDE still has its niche as a lightweight asynchronous communications mechanism that doesn't require a lot of programming and extra DLLs.

DDE Inputs

ATCSmon supports DDE conversations for either input or output. DDE input is only useful for an external application that can send ATCSmon raw packet data directly to the application for decoding, in much the same way you set it up to receive packets from a remote server. The experimentation some of us are doing with US&S Flexicode, GRS DataTrain? and Harmon MCS protocols use external applets that do the brute-force signal demodulation, then pump ATCSmon with the raw packet. This keeps the experimental components separate from the working ATCSmon program during development.

DDE Outputs

DDE output is useful for for extracting decoded data from ATCS Monitor and into an external application. The example ddemacro.xls uses Excel to receive data from ATCSmon and populate cells with the contents of MCP and mnemonic data. Note that the DDE data format is not the same going in as going out, so unfortunately multiple ATCSmon instances cannot use DDE to communicate (only via server mode).

Configuration Tasks

DDE is configured in the Options dialog. For DDE output, go to the General tab and check the "Enable DDE output" box. For DDE input, go to the Data Source tab and select "DDE" as the data source.

(Adapted from Mark Landgraf's "ATCS Instructions.txt")

Comments/Questions

Post Comment

Enter a comment or question regarding this topic in the box below. The comments will appear above. Please note that you need to be logged in to add a comment.

-- BrianSwan - 30 Oct 2006

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformWebsite hosting provided by CBPNet Wireless, a division of Cooke Business Products, Inc.
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback