Programming the K3

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

Programming the K3

Peter Lock
Good day

The K3 Programmers Reference Manual (p6) contains an example of a pseudo-code segment that could be used to change the VFO A frequency, viz:

VfoControlLoop
{
SendCommand( “FA;” )                                 // GET frequency of VFO A
StringF = GetResponse( TIMEOUT_100MS )      // wait for response; include a timeout, just in case
Display( StringSubset( StringF, 5, 12 ) )          // show MHz through Hz digits on PC screen
If( KeyboardInput = “+” )                             // up/down control could be a mouse click instead
SendCommand( “UP;” )                                // this is a SET command that moves VFO A up
If( KeyboardInput = “-” )
SendCommand( “DN;” )
}

I am interested to learn more about this sort of programming and would be grateful for any pointers to suitable (raw beginners) instruction material.

Thank you
Peter
M0RYB
Reply | Threaded
Open this post in threaded view
|

Re: Programming the K3

netegusonihyjc
Reply | Threaded
Open this post in threaded view
|

Re: Programming the K3

netegusonihyjc
In reply to this post by Peter Lock