> ## Documentation Index
> Fetch the complete documentation index at: https://support.taltech.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Logging to a file while passing data to other programs via DDE

> Log readings to disk in WinWedge Pro while another application receives them through DDE.

Although WinWedge has an explicit “DDE Server Mode”, it is actually a DDE Server no matter what mode it is in (“Send Keystrokes”, “Log To Disk” or “DDE Server” modes). The reason that WinWedge has a DDE Server Mode at all is so that you can configure it to send a DDE command to another application after each input and thus force the other application to do something with the data that was just sent. Suppose that you wanted to log all data from WinWedge to a disk file *and* pass the data to another program via DDE in real time. You could set up WinWedge in Log To Disk mode and still pass the data through DDE links to another program. The only problem that you might run into is that you will not be able to configure WinWedge to send a DDE command to the other program and thus force it to do something like run a macro after each input data record. Many applications that support DDE also provide a way to monitor active DDE links so that the application automatically runs a macro when it detects new data from a DDE server. Excel, for example, has a function called “SetLinkOnData” that forces it to run a macro whenever data from a DDE server changes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.