I was asked by a friend if I could help his SDR radio talk to Ham Radio Deluxe.
The catch is that the Ham Radio Deluxe must also control the transceiver, a TS-2000.
At first I started to explore the use of the IP Server components of Ham Radio Deluxe. This seemed like it would be the smart way to handle this but after reviewing it, I could not get it work as expected so I gave up on that when I came across the fact that HRD supports DDE.
In Ham Radio Deluxe 5.11 you can to Tool/DDE Monitor and you will see a list of supported DDE topics.
You can also review the manual and it shows it will also support other functions such as setting the frequency.
The next trick is getting the current frequecy from the PowerSDR program or from the SDR radio itself. The radio in case is a soft rock radio. I found a program to help. http://pe0fko.nl/CFGSR/
The plan is to write a service that will check the frequency of both and if one frequency changes, update the frequency of the other.
As I progress I will post sample code and a final product.
DDE is very old technology and I am not sure I remember how it works exactly. I had to get a DDESpy program to find out the name of my DDE link. For my system it was HRD_RADIO_000. I was stuck on trying to use HRD_RADIO and that did not work.
I assume the 000 is the instance of Ham Radio Deluxe and if I managed to get two copies running it would be HRD_RADIO_001 for the second instance. Luckily I don’t have to worry about this.
I plan to use Visual Studios to complete this project. .Net framework does not really support DDE directly so I have downloaded and installed NDDE. It is freeware and can be found here: http://ndde.codeplex.com/
NDDE does not appear to be maintained but has worked so far.
More to come…