From: Tapio S. <oh...@ik...> - 2004-11-06 03:32:12
|
Hello, I just started playing with hamlib and ran into a problem in a simple perl program I wrote to try out rig control on my FT-847. A command $rig->set_mode($modenum) fails everytime $modenum is 4 or 8, USB or LSB. I can switch between FM, AM and CW without problems. Switch to CW reverse doesn't work either, but that's not much of a problem. I attached a one-line patch to ft847.c of hamlib 1.2.2 that lets me change the rig mode to USB and LSB via CAT. The patch is not meant to be applied to the hamlib distribution as such, it only tries to point out where the problem might be hiding. I don't know about hamlib's internals, maybe the actual fault is somewhere in the passband narrow/normal/wide tables for the rig. Or am I using set_mode in wrong way, should I always also specify some passband value as the second argument? I tried using the values returned by passband_narrow/normal/wide($modenum) as a second argument to set_mode, but that didn't help with USB/LSB. I'm currently not on the hamlib-developers mailing list, so please cc: replies to me. Tapio |