[Elecraft] Remote control command - GET pitch freq?

2009-09-14 Thread Ted Roycraft
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:Elecraft@mailman.qth.net

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


Re: [Elecraft] Remote control command - GET pitch freq?

2009-09-14 Thread Matt Zilmer
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:Elecraft@mailman.qth.net

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:Elecraft@mailman.qth.net

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


Re: [Elecraft] Remote control command - GET pitch freq?

2009-09-14 Thread Ted Roycraft
Perfect!  Thanks Matt!

73, Ted, W2ZK

Matt Zilmer wrote:
 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:Elecraft@mailman.qth.net

 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:Elecraft@mailman.qth.net

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