[Elecraft] KY; command response
Jack Brindle
jackbrindle at earthlink.net
Wed Jan 24 00:52:57 EST 2007
Kevin;
This tends to be a confusing command to many people. I have found
that using the extended response format provides better information
than the basic response, allowing the K2 to better throttle data
coming from the computer.
Let's take a look at your examples:
On Jan 23, 2007, at 9:15 PM, Kevin Schmidt wrote:
> I have been trying to use the computer control for my K2/100. I am
> using the
> RS232 port on the KPA100. I cannot seem to ever get any response
> except
> KY0; to the KY; command. If I send a KY; immediately after
> KY 123456789012345678901234;
> while the K2 is still sending the first character, it should
> respond KY1;,
> but I get instead KY0;. If I send KY; after the sending is complete
> I get
> KY0; instead of KY2;. What am I missing? I always get KY0; as a
> response.
Actually, if the K2 is sending a character, it has already pulled it
from the buffer, so the buffer is not full. You can then send one
character to the K2 and should see a KY1; response. This really
doesn't provide very good information for the computer, though. Thus
you probably want to send the K2 a K22; command to place it in
extended response mode. You will then be able to send characters to
the K2, then watch the buffer as it empties. In fact, to get a KY2;
response, you must be in extended response mode. It is then
realtively easy to have the computer send characters to the K2, then
monitor the buffer level, sending more characters when the level
drops below the 75% threshold.
Hope this helps!
- Jack Brindle, W6FB
------------------------------------------------------------------------
---------------------
More information about the Elecraft
mailing list