Remote control command - GET pitch freq?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Remote control command - GET pitch freq?

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:[hidden email]

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Reply | Threaded
Open this post in threaded view
|

Re: Remote control command - GET pitch freq?

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:[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
Reply | Threaded
Open this post in threaded view
|

Re: Remote control command - GET pitch freq?

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:[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