Control Icom outside of App?

Status
Not open for further replies.

ecuguru

Member
Joined
Sep 2, 2008
Messages
3
Hi,
I've got a PCR2500. I can use the GUI to change the frequency, but I was wondering if you could control the radio via a socket connection? So you could tell it to change radio frequencies from remote computers, and don't need to goto that computer?

Thanks!
 

N2DLX

Member
Premium Subscriber
Joined
Jun 21, 2008
Messages
240
Location
Hamilton, NJ
It can be done using a programming language like Visual Basic that can handle calling GUI events on other applications. In other words, you could write a Visual Basic program that will find the system ID of the Icom Control window, locate the correct button(s) to "click"/"push" by calling an event, and it would appear to the Icom program that someone literally clicked the button on their program.

I've only fiddled around with programs that do this in the past, but it's definitely possible. You'd have to know your way around Visual Basic and use a program like Spy++ (included with VB) to find out the name of the form (window), find the name of the button (in the other program), and raise the Click event.

The only other hurdle is to write the code to enable the client and server programs to communicate over the Internet, which isn't that hard.

Alternatively, if you know the commands to control the receiver directly via serial/USB, you can just ignore the button clicking aspect and send the serial data right to the receiver. Your only hurdle is to add the Internet connectivity to it, so you can send commands from a remote computer and have the local computer pass the serial right to the receiver. Much, much easier.
 

offsite

Member
Premium Subscriber
Joined
May 3, 2003
Messages
169
Location
DM12JQ
Another possibility... do you own or manage the remote PC (maybe it's your laptop)?

If so, and if security of both PCs is not an overriding concern, you could just use a remote desktop app like pcAnywhere.

That way you could control all functions of your 2500 (and everything else on its local PC) from your remote PC located anywhere you can find an internet connection.

Not a big fan of Symantec bloatware (my opinion), but here's a link:

http://shop.symantecstore.com/store...productID.73528200&ThemeID=106400&pgm=6037100

Another (more complex, but more secure) approach would be to run MS Remote Desktop thru an SSH tunnel.

http://www.microsoft.com/windowsXp/using/mobility/getstarted/Remoteintro.mspx

The main advantage of both of these approaches is you get full control of your receiver's PC (just like sitting in front of its screen and keyboard) from anywhere in the world... and there's no programming required on your part.
 

N2DLX

Member
Premium Subscriber
Joined
Jun 21, 2008
Messages
240
Location
Hamilton, NJ
Stupid me, he's right. I always complicate things. ;)

You can also use RealVNC, which has a free version with fewer features but works great. I use that all the time. It's quicker than Remote Desktop, but there's no sound. Also great on non-XP systems that don't support Remote Desktop.
 
Status
Not open for further replies.
Top