The Win-Test architecture only lets you <i>send</i> commands to the radio; you cannot retrieve any replies that the radio may send back (because replies are handled by a different Win-Test thread).<div><br></div><div><div>

But to get the frequency of VFO A (1 KHz resolution), for <i>any</i> supported radio, not just the K3, you don't have to send K3 CAT commands; all you have to do is:</div><div><br></div><div>local curFreq = wtRadio:GetFreq()</div>

<div>local curFreqA = wtRadio:GetFreq(WT_RADIO_VFOA)</div><div>local curFreqB = wtRadio:GetFreq(WT_RADIO_VFOB)<br><br></div><div>Note that these only return frequency in even kHz, e.g. 14060 not 14060.2.</div><div><br></div>

<div>73,</div><div>Bob, N6TV</div><div><br><div class="gmail_quote">On Thu, Nov 18, 2010 at 1:54 AM, Harold Aaron <span dir="ltr"><<a href="mailto:hsa@hughes.net">hsa@hughes.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Still trying to read radio freq via CAT with no luck.  Goal is to use<br>
ShuttlePRO II for fine tuning in CW/RTTY.<br>
<br>
So far all but CAT read of FA works.  Not sure why cannot set curfreq to<br>
result of wtRadio:Send(" FA; ")<br>
<br>
Manual test works fine and sets rig frequency, no problem.<br>
<br>
--For testing manually set curfreq="14060000" and comment out next line<br>
curfreq = wtRadio:Send(" FA; ")<br>
catcmd = string.format("FA000%8d;", curfreq)<br>
wtRadio:Send(catcmd)<br>
return -1<br>
<br>
Hank WB4ROA<br>
_______________________________________________<br>
Support mailing list<br>
<a href="mailto:Support@win-test.com">Support@win-test.com</a><br>
<a href="http://www.f5mzn.org/cgi-bin/mailman/listinfo/support" target="_blank">http://www.f5mzn.org/cgi-bin/mailman/listinfo/support</a><br>
</blockquote></div><br></div></div>