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:
______________________________________________________________
Elecraft mailing list
Home:
http://mailman.qth.net/mailman/listinfo/elecraftHelp:
http://mailman.qth.net/mmfaq.htmPost: mailto:
[hidden email]
This list hosted by:
http://www.qsl.netPlease help support this email list:
http://www.qsl.net/donate.html