Looking for some programming help with switch emulation coding

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

Looking for some programming help with switch emulation coding

Jerry
Hello,

 

I am trying to get the following commands to work using N1MM function keys.

 

What I want to do is using the SWT or SWH codes is to press and hold the rec
button on the radio which will switch memory bank to two, push the M1 button
to play the recorded voice, and then switch the memory bank back to one.

 

This is the code I have so far.

 

F5 Prec,{cat1asc swh37;}{cat1asc swt21;}{cat{cat1asc swh37;}

 

What I had found though was that N!MM spits out the code too fast and the K3
does  not have enough time to finishing processing the first cat1asc
command. Clearly I will need a delay between each of the three "cat1asc"
codes so that the K3 will process each cat command and then be ready to
accept the next command.

 

So the question is; does the K3 have a method to introduce delay that I can
use on the N1MM function key string of commands so that the K3 can process
each command or does N1MM have a way to process each separate cat command in
a function key using a delay command of N1MM making?

 

So if there is a solution, it may lie with either N1MM, Elecraft or both so
I am posting to both lists.

 

Best regards,

 

Jerry Knowlton, W1IE

 

______________________________________________________________
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
Message delivered to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Looking for some programming help with switch emulation coding

Cady, Fred-2
Hi Jerry,

A recent firmware update added a delay command.

DEnnn; where nnn is 001 – 255 giving the time delay in 10 ms increments.


Cheers and 73,

Fred KE7X


For information on KE7X Elecraft books, see www.ke7x.com.


________________________________
From: [hidden email] <[hidden email]> on behalf of Jerry <[hidden email]>
Sent: Saturday, November 18, 2017 10:44 AM
To: [hidden email]; [hidden email]
Subject: [Elecraft] Looking for some programming help with switch emulation coding

Hello,



I am trying to get the following commands to work using N1MM function keys.



What I want to do is using the SWT or SWH codes is to press and hold the rec
button on the radio which will switch memory bank to two, push the M1 button
to play the recorded voice, and then switch the memory bank back to one.



This is the code I have so far.



F5 Prec,{cat1asc swh37;}{cat1asc swt21;}{cat{cat1asc swh37;}



What I had found though was that N!MM spits out the code too fast and the K3
does  not have enough time to finishing processing the first cat1asc
command. Clearly I will need a delay between each of the three "cat1asc"
codes so that the K3 will process each cat command and then be ready to
accept the next command.



So the question is; does the K3 have a method to introduce delay that I can
use on the N1MM function key string of commands so that the K3 can process
each command or does N1MM have a way to process each separate cat command in
a function key using a delay command of N1MM making?



So if there is a solution, it may lie with either N1MM, Elecraft or both so
I am posting to both lists.



Best regards,



Jerry Knowlton, W1IE



______________________________________________________________
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
Message delivered to [hidden email]
______________________________________________________________
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
Message delivered to [hidden email]