Re: Remote control command - GET pitch freq?

Posted by Matt Zilmer on
URL: http://elecraft.85.s1.nabble.com/Remote-control-command-GET-pitch-freq-tp3643624p3643750.html

Ted,

The sequence to read sidetone pitch into a PC:

Send the SWH42; command,
Read back the contents of VFO A's display using the DS; command,
Convert the string to an integer.  The frequency shows as three digits
starting at the seventh character of the string.

This code fragment demonstrates:

WriteComPortString(CSpec[SWH42].Cmd);
sleep(20);
WriteComPortString(CSpec[DS].Cmd);
sleep(20);
ReadComPortString(cString, CSpec[DS].RspZ);
rc = atoi(&cString[7]); // sidetone freq.

73,
matt zilmer W6NIA
K3 #24



On Mon, 14 Sep 2009 12:32:33 -0400, you wrote:

>I looked through the K3 Programmer's Reference manual but I can't find a
>command to retrieve the sidetone pitch frequency.  Does anyone know of a
>way to do that either directly or indirectly?
>
>Thanks,
>Ted, W2ZK
>______________________________________________________________
>Elecraft mailing list
>Home: http://mailman.qth.net/mailman/listinfo/elecraft
>Help: http://mailman.qth.net/mmfaq.htm
>Post: mailto:[hidden email]
>
>This list hosted by: http://www.qsl.net
>Please help support this email list: http://www.qsl.net/donate.html
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html