Macros that need to be executed twice

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

Macros that need to be executed twice

Cady, Fred-2
Some folks have observed that sometimes a macro need to be executed twice in order for it to reach the desired end state.  VE3YT and I have a theory on what may be causing that and would like some test cases.  So if you have a macro that doesn't seem to work reliably or needs to be run twice, could you please send it along to me.

We'll let you know what we find out.

Cheers,

Fred KE7X


______________________________________________________________
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: Macros that need to be executed twice

tomb18
HiFor your information..there are various reasons a macro needs to be sent twice to be effective. One is that radios appear to be "deaf" after a band change when in fact the band has not yet actually been changed.  This can effect more than just a macro. For example the WSJT-X application will change bands when you select a different one than you are currently using and it will immediately follow this command with a command to read the frequency.  In all cases it shows the previous frequency but instead of waiting, it issues a mode change to data-a anyways with the result that the mode ends up being incorrect. There are other cases where macros that change something in a menu can take quite some time to actually execute with the result that subsequent commands make it do the wrong thing. The best way around some these issues would be if Elecraft would add a delay command to their API that would not be ignored. But the best solution is for software such as the Elecraft utilities or other third party software to have a built in delay command that would slow down delivery of a multi command macros. 100 to 1000ms would be enough.That being said there are one or two commands that always need to be repeated no matter what the delay.73 Tom www.va2fsq.com



Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: "Cady, Fred" <[hidden email]> Date: 2016-12-16  11:05 AM  (GMT-05:00) To: [hidden email] Cc: Vic DiCiccio <[hidden email]> Subject: [Elecraft] Macros that need to be executed twice
Some folks have observed that sometimes a macro need to be executed twice in order for it to reach the desired end state.  VE3YT and I have a theory on what may be causing that and would like some test cases.  So if you have a macro that doesn't seem to work reliably or needs to be run twice, could you please send it along to me.

We'll let you know what we find out.

Cheers,

Fred KE7X


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

Re: Macros that need to be executed twice

Elecraft mailing list
In reply to this post by Cady, Fred-2
Here is one example that includes both K3 and P3 commands to set up for
JT-65 on 40M.

BN03;FA00007076000;MD6;DT0;PC030;BW0400;FT0;SB0;#MKA1;#MFA+00007077000;#MKB1;#MFB+00007078000;#SPN000050;#CTF+00007077750;


On 12/16/2016 10:05 AM, Cady, Fred wrote:

> Some folks have observed that sometimes a macro need to be executed twice in order for it to reach the desired end state.  VE3YT and I have a theory on what may be causing that and would like some test cases.  So if you have a macro that doesn't seem to work reliably or needs to be run twice, could you please send it along to me.
>
> We'll let you know what we find out.
>
> Cheers,
>
> Fred KE7X
>
>
> ______________________________________________________________
> 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]
Reply | Threaded
Open this post in threaded view
|

Re: Macros that need to be executed twice

tomb18
In reply to this post by Cady, Fred-2
HiThe first 4 commands are almost exactly what WSJT-X issues. The band change probably is not finished before all the rest of the commands come along.In addition, issuing of P3 commands in a macro are particularly at risk.Have you ever noticed that a QSy on a marker using the P3 buttons didn't work the first time? I'm not sure this still happens but there was a bug in the P3 / K3 command chain that corrupted some data. I believe it's been fixed but if not that may be a reason. Some of these problems do not show up if the program in use has a dedicated control of the radio. But the developers should not assume this today. Many people use multiple apps.It would be great if Elecraft would just add a DL command with a millisecond parameter to all their utilities.  Many problems would be solved.73 Tom www.va2fsq.com 


Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: K5MWR via Elecraft <[hidden email]> Date: 2016-12-16  2:48 PM  (GMT-05:00) To: [hidden email] Subject: Re: [Elecraft] Macros that need to be executed twice
Here is one example that includes both K3 and P3 commands to set up for
JT-65 on 40M.

BN03;FA00007076000;MD6;DT0;PC030;BW0400;FT0;SB0;#MKA1;#MFA+00007077000;#MKB1;#MFB+00007078000;#SPN000050;#CTF+00007077750;


On 12/16/2016 10:05 AM, Cady, Fred wrote:

> Some folks have observed that sometimes a macro need to be executed twice in order for it to reach the desired end state.  VE3YT and I have a theory on what may be causing that and would like some test cases.  So if you have a macro that doesn't seem to work reliably or needs to be run twice, could you please send it along to me.
>
> We'll let you know what we find out.
>
> Cheers,
>
> Fred KE7X
>
>
> ______________________________________________________________
> 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]
______________________________________________________________
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]