Re: [Elecraft] How can I get more Programmable Macros? (feature request?)

2015-03-04 Thread Rich - K1HTV
Hi Wayne,
   Thanks for the 'CW REV' reminder. Since the K3 remembers the sideband last 
programmed for a band I wish that there was a simple SSB mode change command 
which could be used in macros rather than a specific USB or LSB command or 
does this command already exist already?  I believe that when I wrote the 
macros a few years ago I confirmed that such a command it wasn't available.

Thanks for a great radio. Next thing to do, after the dust settles, is to 
upgrade the sync boards used for the main and sub receivers.

73,
Rich - K1HTV

= = =

Rich,

Thanks for re-posting this info. 

Note that some of the commands embedded in your macros may not be needed since 
they are already remembered on a per-mode basis. For example, once you've 
selected CW REV on a given band, it will always be CW REV until you change it. 
There are other cases as well, left as an exercise for the the reader :)

73,
Wayne
N6KR


On Mar 3, 2015, at 8:30 AM, Rich - K1HTV k1...@comcast.net wrote:

 Seeing the request for self modifying macros, I thought I'd re-post these 
 how-to documents that I posted on this reflector a number of years ago. 
 Hopefully they will help you understand how to create your own macros which 
 can be used to rotate between a series of parameter changes via a single PF1 
 or PF2 key press. Have fun playing with them, without as many headaches that 
 I had in learning how to get them to work.
 
 73,
 Rich - K1HTV
 
 For those of you who want to play more with macros, here are four that I use 
 to set up my K3 for USB, CW, DATA-A and RTTY. Parameters that are set up 
 include mode, receiver bandwidth, audio input connector (Front Panel for 
 microphone, rear Line-In jack for DATA-A modes), Mic Gain and Compression 
 level for SSB, CW Speed, VFO lock for DATA-A modes like PSK31, JT65 and WSPR. 
 You can add or change other parameters in the macros for the various modes as 
 you see fit. 

. balance deleted


__
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:Elecraft@mailman.qth.net

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Message delivered to arch...@mail-archive.com


Re: [Elecraft] How can I get more Programmable Macros? (feature request?)

2015-03-04 Thread Don Wilhelm

Rich,

I am not certain if it answers your question, but the ALT button 
switches between sidebands in SSB mode.  It is available as SWH17;

Or the mode can be set explicitly with the MD command.

73,
Don W3FPR

On 3/4/2015 7:40 AM, Rich - K1HTV wrote:

Hi Wayne,
Thanks for the 'CW REV' reminder. Since the K3 remembers the sideband last 
programmed for a band I wish that there was a simple SSB mode change command 
which could be used in macros rather than a specific USB or LSB command or 
does this command already exist already?  I believe that when I wrote the 
macros a few years ago I confirmed that such a command it wasn't available.

Thanks for a great radio. Next thing to do, after the dust settles, is to 
upgrade the sync boards used for the main and sub receivers.

73,
Rich - K1HTV




__
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:Elecraft@mailman.qth.net

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Message delivered to arch...@mail-archive.com


Re: [Elecraft] How can I get more Programmable Macros? (feature request?)

2015-03-03 Thread Cady, Fred
I don't know who first came up with this clever idea but here is the concept 
and an example:

The concept is this:
*   Program a macro, say MACRO 7, and assign it to a function key, say PF2, 
to perform the first of sequence of commands.  End the macro definition by 
assigning PF2 to the next macro command sequence, say MACRO 8.
*   Program MACRO 8 to do the second sequence of commands and end it by 
assigning PF2 to perform MACRO 7.
Here is how it would work to use PF2 to enter the Split mode using the 
dual-watch receiver with the first hold, and then to exit Split mode with the 
second hold of PF2.
*   Using the Utility, assign MACRO 7 to: 
SWT25;SWT25;FT0;SB1;UP7;MN110;SWT33;SWH26;MN255;
The first five enter dual-watch and QSY VFO A up 5.  The other commands assign 
MACRO 8 to PF2:
MN110;  Enter the MACRO x menu (equivalent to holding MENU and rotating VFO B 
to MACRO x).
SWT33;  Tap the 8 switch.  
SWH26;  Hold PF2.  (This assigns PF2 to the commands in MACRO 8.)
MN255;  Exit menu mode.
Now,
*   Assign MACRO 8 to: 
SWT25;SWT25;FT0;SB0;MN110;SWT32;SWH26;MN255;
SWT32;  Tap the 7 switch.
SWH26;  Hold PF2.  (This assigns PF2 to the commands stored in MACRO 7.)
Send the macros to the K3 using the K3 utility and then enter the MACRO 7 menu 
and hold PF2 to assign it to enter Split mode.  The next PF2 hold will take us 
out of Split.  Subsequent holds toggle back and forth.

Neato, eh?

Cheers,
Fred KE7X


 -Original Message-
 From: Elecraft [mailto:elecraft-boun...@mailman.qth.net] On Behalf Of
 Warren Merkel
 Sent: Tuesday, March 03, 2015 8:40 AM
 To: elecraft@mailman.qth.net
 Subject: Re: [Elecraft] How can I get more Programmable Macros?
 (feature request?)
 
 Wayne,
 
 *Q1*: Did you just say that macros can be self-modifying!  I haven't
 found the Write commands to do that yet.  Can you or any other really
 smart guys elaborate?
 
 For example, Let's say I'd like to create a toggle with a single macro.
 I would like it to do this without having an external application
 controlling things.  So, internal to the K3, a macro would perform one
 or more functions, then before exiting, would rewrite itself to unset
 what was just done.
 
 Using the sample macro from Table 2 in the Programmers Reference for
 AMP ON and let's just assign it to say, Macro 1
 
 In pseudo-code, I'd like it to run:
 
 MN019;MP001;MN255;PC065;DB65;DB77;DB80;DB32;DB79;DB78
 
 and then, before the macro finishes, I would like it to rewrite itself
 to:
 
 MN019;MP000;MN255;PC100;DB65;DB77;DB80;DB32;DB79;DB70;DB70
 
 Each time Macro 1 is executed, it toggles the Logic 1 output and alters
 the power output and displays AMP ON (or AMP OFF).One button thus
 becomes a toggle.  Press a button,  the external amp is enabled, and
 the drive is lowered for it.  Press it again, and the amp is disabled
 and drive is raised back.
 
 Seems like all I need is a macro command that allows a new macro string
 to be written, especially to the one running at the time :)
 You could also have one macro change other macros in this way.In
 effect, you would only be limited by your imagination and what you can
 get stored in 120 character pieces.   Hopefully we aren't limited in
 how
 many FLASH Write operations can be performed to the EEPROM.  (1 million
 or more maybe? )
 
 Since the K3 Utility obviously has the ability to write to the macro
 storage locations, would it be possible for macros to eat their own dog
 food too?
 
 If the macro language supports basic branching, I guess it could be
 done inline to the macro and not have to rewrite itself so...
 
 *Q2*: Is there a way to do IIF (or IF/ELSE) branching in a single
 macro?  (strictly a wishlist item)
 
 In other words:  IF (value) THEN (macro string) ELSE (another macro
 string)
 
 All this comes from my experience in making SCOM 7K controllers self
 modify it's macros to make wonderful things happen.
 
 Thanks!   This is about to become very interesting...
 
 KD4Z - Warren
 (K3 / P3 Kits scheduled to arrive this Monday)
 
 
 
 
 
 
 On 3/3/2015 8:48 AM, Harry Yingst via Elecraft wrote:
  10 ? How do I access Macros 8  9 ?
  Yes, I'm currently using as you cal them Reversable macros(one is
  using 5 macros, the other uses 2 macros)
 
 
 
From: Wayne Burdick n...@elecraft.com
   To: Harry Yingst hlyin...@yahoo.com
  Cc: Elecraft Reflector elecraft@mailman.qth.net
   Sent: Tuesday, March 3, 2015 12:22 AM
   Subject: Re: [Elecraft] How can I get more Programmable Macros?
  (feature request?)
 
  Hi Harry,
 
  There are actually 10 programmable function switches. There's also a
 way to use a single programmable switch to do a reversible operation by
 creating a self-modifying macro.
 
  Wayne
 
  
  http://www.elecraft.com
 
 
 
  On Mar 2, 2015, at 7:31 PM, Harry Yingst via Elecraft
 elecraft@mailman.qth.net wrote:
 
  I would like to have more programmable macro slots:
  I'm already using 7 macros so I only have 1 left (unless I'm reading

Re: [Elecraft] How can I get more Programmable Macros? (feature request?)

2015-03-03 Thread Warren Merkel
Wayne,

*Q1*: Did you just say that macros can be self-modifying!  I haven't
found the Write commands to do that yet.  Can you or any other really
smart guys elaborate?

For example, Let's say I'd like to create a toggle with a single macro. 
I would like it to do this without having an external application
controlling things.  So, internal to the K3, a macro would perform one
or more functions, then before exiting, would rewrite itself to unset
what was just done.

Using the sample macro from Table 2 in the Programmers Reference for
AMP ON and let's just assign it to say, Macro 1

In pseudo-code, I'd like it to run:

MN019;MP001;MN255;PC065;DB65;DB77;DB80;DB32;DB79;DB78

and then, before the macro finishes, I would like it to rewrite itself to:

MN019;MP000;MN255;PC100;DB65;DB77;DB80;DB32;DB79;DB70;DB70

Each time Macro 1 is executed, it toggles the Logic 1 output and alters
the power output and displays AMP ON (or AMP OFF).One button thus
becomes a toggle.  Press a button,  the external amp is enabled, and the
drive is lowered for it.  Press it again, and the amp is disabled and
drive is raised back.

Seems like all I need is a macro command that allows a new macro string
to be written, especially to the one running at the time :)
You could also have one macro change other macros in this way.In
effect, you would only be limited by your imagination and what you can
get stored in 120 character pieces.   Hopefully we aren't limited in how
many FLASH Write operations can be performed to the EEPROM.  (1 million
or more maybe? )

Since the K3 Utility obviously has the ability to write to the macro
storage locations, would it be possible for macros to eat their own dog
food too?

If the macro language supports basic branching, I guess it could be done
inline to the macro and not have to rewrite itself so...
   
*Q2*: Is there a way to do IIF (or IF/ELSE) branching in a single
macro?  (strictly a wishlist item)

In other words:  IF (value) THEN (macro string) ELSE (another macro
string)

All this comes from my experience in making SCOM 7K controllers self
modify it's macros to make wonderful things happen.

Thanks!   This is about to become very interesting...

KD4Z - Warren
(K3 / P3 Kits scheduled to arrive this Monday)






On 3/3/2015 8:48 AM, Harry Yingst via Elecraft wrote:
 10 ? How do I access Macros 8  9 ?
 Yes, I'm currently using as you cal them Reversable macros(one is using 5 
 macros, the other uses 2 macros)



   From: Wayne Burdick n...@elecraft.com
  To: Harry Yingst hlyin...@yahoo.com 
 Cc: Elecraft Reflector elecraft@mailman.qth.net 
  Sent: Tuesday, March 3, 2015 12:22 AM
  Subject: Re: [Elecraft] How can I get more Programmable Macros? (feature 
 request?)

 Hi Harry,

 There are actually 10 programmable function switches. There's also a way to 
 use a single programmable switch to do a reversible operation by creating a 
 self-modifying macro.

 Wayne

 
 http://www.elecraft.com



 On Mar 2, 2015, at 7:31 PM, Harry Yingst via Elecraft 
 elecraft@mailman.qth.net wrote:

 I would like to have more programmable macro slots:
 I'm already using 7 macros so I only have 1 left (unless I'm reading it 
 wrong we only have 8 internal macros). Once you start using rotatable macros 
 they get used up pretty quickly

 I plan to add a Genovation Keypad but more Internal to the K3 macros would 
 be useful for rotatable macros.
 Is there a way to get more than 8?
 Thank you

 __
 Elecraft mailing list
 Home: http://mailman.qth.net/mailman/listinfo/elecraft
 Help: http://mailman.qth.net/mmfaq.htm
 Post: mailto:Elecraft@mailman.qth.net

 This list hosted by: http://www.qsl.net
 Please help support this email list: http://www.qsl.net/donate.html
 Message delivered to n...@elecraft.com
   
 __
 Elecraft mailing list
 Home: http://mailman.qth.net/mailman/listinfo/elecraft
 Help: http://mailman.qth.net/mmfaq.htm
 Post: mailto:Elecraft@mailman.qth.net

 This list hosted by: http://www.qsl.net
 Please help support this email list: http://www.qsl.net/donate.html
 Message delivered to hullspee...@gmail.com

__
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:Elecraft@mailman.qth.net

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Message delivered to arch...@mail-archive.com


Re: [Elecraft] How can I get more Programmable Macros? (feature request?)

2015-03-03 Thread Harry Yingst via Elecraft
Here is an example of a rotatable macro Everytime I Press the PF2button it 
changes frequency then tells the PF2 button to now use the next Macro

=== 
60 Meter Channels - Uses Macros 4-8 and Button PF2
 CH1 =5.330.5 , CH2 =5.346.5 , CH3 =5.357.0 , CH4 =5.371.5 , CH4 =5.403.5 
=== 
Macro 4  Label    = 60M CH1 Commands = 
FA5330500;MD2;MN110;SWT27;SWH47;SWT14;---
 Macro 5 Label    = 60M CH2 Commands = 
FA5346500;MD2;MN110;SWT29;SWH47;SWT14;---
 Macro 6 Label    = 60M CH3 Commands = 
FA5357000;MD2;MN110;SWT33;SWH47;SWT14;---
 Macro 7 Label    = 60M CH4 Commands = 
FA5371500;MD2;MN110;SWT34;SWH47;SWT14;---
 Macro 8 Label    = 60M CH5 Commands = 
FA5403500;MD2;MN110;SWT24;SWH47;SWT14;===
  From: Warren Merkel hullspee...@gmail.com
 To: elecraft@mailman.qth.net 
 Sent: Tuesday, March 3, 2015 10:40 AM
 Subject: Re: [Elecraft] How can I get more Programmable Macros? (feature 
request?)
   
Wayne,

*Q1*: Did you just say that macros can be self-modifying!  I haven't
found the Write commands to do that yet.  Can you or any other really
smart guys elaborate?

For example, Let's say I'd like to create a toggle with a single macro. 
I would like it to do this without having an external application
controlling things.  So, internal to the K3, a macro would perform one
or more functions, then before exiting, would rewrite itself to unset
what was just done.

Using the sample macro from Table 2 in the Programmers Reference for
AMP ON and let's just assign it to say, Macro 1

In pseudo-code, I'd like it to run:

    MN019;MP001;MN255;PC065;DB65;DB77;DB80;DB32;DB79;DB78

and then, before the macro finishes, I would like it to rewrite itself to:

    MN019;MP000;MN255;PC100;DB65;DB77;DB80;DB32;DB79;DB70;DB70

Each time Macro 1 is executed, it toggles the Logic 1 output and alters
the power output and displays AMP ON (or AMP OFF).    One button thus
becomes a toggle.  Press a button,  the external amp is enabled, and the
drive is lowered for it.  Press it again, and the amp is disabled and
drive is raised back.

Seems like all I need is a macro command that allows a new macro string
to be written, especially to the one running at the time :)
You could also have one macro change other macros in this way.    In
effect, you would only be limited by your imagination and what you can
get stored in 120 character pieces.  Hopefully we aren't limited in how
many FLASH Write operations can be performed to the EEPROM.  (1 million
or more maybe? )

Since the K3 Utility obviously has the ability to write to the macro
storage locations, would it be possible for macros to eat their own dog
food too?

If the macro language supports basic branching, I guess it could be done
inline to the macro and not have to rewrite itself so...
  
    *Q2*: Is there a way to do IIF (or IF/ELSE) branching in a single
macro?  (strictly a wishlist item)

    In other words:  IF (value) THEN (macro string) ELSE (another macro
string)

All this comes from my experience in making SCOM 7K controllers self
modify it's macros to make wonderful things happen.

Thanks!  This is about to become very interesting...

KD4Z - Warren
(K3 / P3 Kits scheduled to arrive this Monday)






On 3/3/2015 8:48 AM, Harry Yingst via Elecraft wrote:
 10 ? How do I access Macros 8  9 ?
 Yes, I'm currently using as you cal them Reversable macros(one is using 5 
 macros, the other uses 2 macros)



      From: Wayne Burdick n...@elecraft.com
  To: Harry Yingst hlyin...@yahoo.com 
 Cc: Elecraft Reflector elecraft@mailman.qth.net 
  Sent: Tuesday, March 3, 2015 12:22 AM
  Subject: Re: [Elecraft] How can I get more Programmable Macros? (feature 
request?)
    
 Hi Harry,

 There are actually 10 programmable function switches. There's also a way to 
 use a single programmable switch to do a reversible operation by creating a 
 self-modifying macro.

 Wayne

 
 http://www.elecraft.com



 On Mar 2, 2015, at 7:31 PM, Harry Yingst via Elecraft 
 elecraft@mailman.qth.net wrote:

 I would like to have more programmable macro slots:
 I'm already using 7 macros so I only have 1 left (unless I'm reading it 
 wrong we only have 8 internal macros). Once you start using rotatable macros 
 they get used up pretty quickly

 I plan to add a Genovation Keypad but more Internal to the K3 macros would 
 be useful for rotatable macros.
 Is there a way to get more than 8?
 Thank you

 __
 Elecraft

Re: [Elecraft] How can I get more Programmable Macros? (feature request?)

2015-03-03 Thread Harry Yingst via Elecraft
I think you are confusing what I'm looking for.
Yes I can program 10 buttons, but I'm looking for more thb 8 internal macros.If 
you go into the K3 menus you will find Function MACRO 1 - MACRO 8.
When you use rotatable macros you can use a single button to have it rotate 
through macros.
Example:
Press PF1 and it switches WWV on 5 MHz
Press PF1 Again and it switches to WWV on 10 Mhz
Press PF1 Again and it switches to WWV on 15 Mhz

Press PF1 Again and it switches to WWV on 20 Mhz

Press PF1 Again and it switches to WWV on 25 Mhz

Press PF1 Again and it switches Back to WWV on 5 Mhz 
... and repeat



  From: Vic Rosenthal 4X6GP/K2VCO k2vco@gmail.com
 To: elecraft@mailman.qth.net 
 Sent: Tuesday, March 3, 2015 9:10 AM
 Subject: Re: [Elecraft] How can I get more Programmable Macros? (feature 
request?)
   
The first 8 are the tap and hold functions of the four message buttons,
M1 - M4. The last two are the hold functions of the RIT and XIT buttons
(PF1 and PF2).

On 3 Mar 2015 15:48, Harry Yingst via Elecraft wrote:
 10 ? How do I access Macros 8  9 ? Yes, I'm currently using as you
 cal them Reversable macros(one is using 5 macros, the other uses 2
 macros)



 From: Wayne Burdick n...@elecraft.com To: Harry Yingst
 hlyin...@yahoo.com Cc: Elecraft Reflector
 elecraft@mailman.qth.net Sent: Tuesday, March 3, 2015 12:22 AM
 Subject: Re: [Elecraft] How can I get more Programmable Macros?
 (feature request?)

 Hi Harry,

 There are actually 10 programmable function switches. There's also a
 way to use a single programmable switch to do a reversible operation
 by creating a self-modifying macro.

 Wayne

  http://www.elecraft.com


-- 
73,
Vic, 4X6GP/K2VCO
Rehovot, Israel
http://www.qsl.net/k2vco/


__
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:Elecraft@mailman.qth.net

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Message delivered to hlyin...@yahoo.com


  
__
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:Elecraft@mailman.qth.net

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Message delivered to arch...@mail-archive.com

Re: [Elecraft] How can I get more Programmable Macros? (feature request?)

2015-03-03 Thread Harry Yingst via Elecraft
This is the Key part  to use at the end of your Macros 
MN110;SWT12;SWH45;SWT14;That string is saying to go into the Menu Select a 
Macro (Macro 2 in this case) and write it to PF1

MN110 = Macro x (Selects Macro)
SWT11 = Tap 1
SWT12 = Tap 2
SWT13 = Tap 3
SWT24 = Tap 4
SWT27 = Tap 5
SWT29 = Tap 6
SWT33 = Tap 7
SWT34 = Tap 8
SWH45 = Hold PF1
SWH47 = Hold PF2
SWT14 = Tap Menu Button (Exits)


  From: Cady, Fred fc...@ece.montana.edu
 To: Warren Merkel hullspee...@gmail.com; elecraft@mailman.qth.net 
elecraft@mailman.qth.net 
 Sent: Tuesday, March 3, 2015 10:54 AM
 Subject: Re: [Elecraft] How can I get more Programmable Macros? (feature 
request?)
   
I don't know who first came up with this clever idea but here is the concept 
and an example:

The concept is this:
*    Program a macro, say MACRO 7, and assign it to a function key, say PF2, to 
perform the first of sequence of commands.  End the macro definition by 
assigning PF2 to the next macro command sequence, say MACRO 8.
*    Program MACRO 8 to do the second sequence of commands and end it by 
assigning PF2 to perform MACRO 7.
Here is how it would work to use PF2 to enter the Split mode using the 
dual-watch receiver with the first hold, and then to exit Split mode with the 
second hold of PF2.
*    Using the Utility, assign MACRO 7 to: 
SWT25;SWT25;FT0;SB1;UP7;MN110;SWT33;SWH26;MN255;
The first five enter dual-watch and QSY VFO A up 5.  The other commands assign 
MACRO 8 to PF2:
MN110;    Enter the MACRO x menu (equivalent to holding MENU and rotating VFO B 
to MACRO x).
SWT33;    Tap the 8 switch.  
SWH26;    Hold PF2.  (This assigns PF2 to the commands in MACRO 8.)
MN255;    Exit menu mode.
Now,
*    Assign MACRO 8 to: 
SWT25;SWT25;FT0;SB0;MN110;SWT32;SWH26;MN255;
SWT32;    Tap the 7 switch.
SWH26;    Hold PF2.  (This assigns PF2 to the commands stored in MACRO 7.)
Send the macros to the K3 using the K3 utility and then enter the MACRO 7 menu 
and hold PF2 to assign it to enter Split mode.  The next PF2 hold will take us 
out of Split.  Subsequent holds toggle back and forth.

Neato, eh?

Cheers,
Fred KE7X


 -Original Message-
 From: Elecraft [mailto:elecraft-boun...@mailman.qth.net] On Behalf Of
 Warren Merkel
 Sent: Tuesday, March 03, 2015 8:40 AM
 To: elecraft@mailman.qth.net
 Subject: Re: [Elecraft] How can I get more Programmable Macros?
 (feature request?)
 
 Wayne,
 
 *Q1*: Did you just say that macros can be self-modifying!  I haven't
 found the Write commands to do that yet.  Can you or any other really
 smart guys elaborate?
 
 For example, Let's say I'd like to create a toggle with a single macro.
 I would like it to do this without having an external application
 controlling things.  So, internal to the K3, a macro would perform one
 or more functions, then before exiting, would rewrite itself to unset
 what was just done.
 
 Using the sample macro from Table 2 in the Programmers Reference for
 AMP ON and let's just assign it to say, Macro 1
 
 In pseudo-code, I'd like it to run:
 
    MN019;MP001;MN255;PC065;DB65;DB77;DB80;DB32;DB79;DB78
 
 and then, before the macro finishes, I would like it to rewrite itself
 to:
 
    MN019;MP000;MN255;PC100;DB65;DB77;DB80;DB32;DB79;DB70;DB70
 
 Each time Macro 1 is executed, it toggles the Logic 1 output and alters
 the power output and displays AMP ON (or AMP OFF).    One button thus
 becomes a toggle.  Press a button,  the external amp is enabled, and
 the drive is lowered for it.  Press it again, and the amp is disabled
 and drive is raised back.
 
 Seems like all I need is a macro command that allows a new macro string
 to be written, especially to the one running at the time :)
 You could also have one macro change other macros in this way.    In
 effect, you would only be limited by your imagination and what you can
 get stored in 120 character pieces.  Hopefully we aren't limited in
 how
 many FLASH Write operations can be performed to the EEPROM.  (1 million
 or more maybe? )
 
 Since the K3 Utility obviously has the ability to write to the macro
 storage locations, would it be possible for macros to eat their own dog
 food too?
 
 If the macro language supports basic branching, I guess it could be
 done inline to the macro and not have to rewrite itself so...
 
    *Q2*: Is there a way to do IIF (or IF/ELSE) branching in a single
 macro?  (strictly a wishlist item)
 
    In other words:  IF (value) THEN (macro string) ELSE (another macro
 string)
 
 All this comes from my experience in making SCOM 7K controllers self
 modify it's macros to make wonderful things happen.
 
 Thanks!  This is about to become very interesting...
 
 KD4Z - Warren
 (K3 / P3 Kits scheduled to arrive this Monday)
 
 
 
 
 
 
 On 3/3/2015 8:48 AM, Harry Yingst via Elecraft wrote:
  10 ? How do I access Macros 8  9 ?
  Yes, I'm currently using as you cal them Reversable macros(one is
  using 5 macros, the other uses 2 macros)
 
 
 
       From: Wayne Burdick n...@elecraft.com
   To: Harry Yingst hlyin

Re: [Elecraft] How can I get more Programmable Macros? (feature request?)

2015-03-03 Thread Rich - K1HTV
Seeing the request for self modifying macros, I thought I'd re-post these 
how-to documents that I posted on this reflector a number of years ago. 
Hopefully they will help you understand how to create your own macros which can 
be used to rotate between a series of parameter changes via a single PF1 or PF2 
key press. Have fun playing with them, without as many headaches that I had in 
learning how to get them to work.

73,
Rich - K1HTV

For those of you who want to play more with macros, here are four that I use to 
set up my K3 for USB, CW, DATA-A and RTTY. Parameters that are set up include 
mode, receiver bandwidth, audio input connector (Front Panel for microphone, 
rear Line-In jack for DATA-A modes), Mic Gain and Compression level for SSB, CW 
Speed, VFO lock for DATA-A modes like PSK31, JT65 and WSPR. You can add or 
change other parameters in the macros for the various modes as you see fit. 

Macros are created using the K3 Utility program on a computer connected to 
the K3 via one of its COM ports. 16 Macros can be save in the K3 Utility but 
only the first 8 macros can be uploaded to the K3. The macros can be tested 
using the K3 Utlity in real time. Once they have been uploaded to the eight 
K3 internal macro memory locations, they can be assigned to various keys. Each 
can be assigned to any of the M1-4 (Tap) keys, or M1-4 (Hold), or the PF1 or 
PF2 (Hold) keys. 

 ***NOTE***  

In the case below, 7 macros are created using the K3 Utility program.  The 
first 4 macros (associated with 4 different modes) are loaded into MACRO memory 
positions 1,2,3  4 and programmed into the PF1 key. The last 3 macros 
(associated with setting 3 different power levels) are loaded into MACRO memory 
positions 5, 6  7.

After they are loaded, when you HOLD the PF1 key the K3 will toggle between the 
USB, CW, DATA-A and RTTY modes. The 7 character mnemonic assigned to that mode 
wil flash briefly on the LCD screen. Wait for it to flash before HOLDing the 
PF1 button to toggle to the next mode.

In a similar manner, when you HOLD the PF2 key, the power K3 level will switch 
to one of three different power settings.
 
Mem  MacroLabel Macro Commands
--
#1   USB-PF1MD2;LK0;MN053;DN;DN;MG026;BW0250;CP020;MN110;SWT12;SWH45;SWT14;

Explanation of commands:
(Set mode to USB;Unlock VFO;Select the Front Panel mic jack(MN053;DN;DN);Set 
bandwidth to 2.5 KHz;Set Compression to 20;Set Macro#2 to be next one used; 
Menu exit).

***NOTE***
After switching to the USB mode on 40M, 80M or 160M with the PF1H key, don't 
forget to hold the MODE (ALT) key to change to the LSB mode for those bands.


#2  CW-PF1 MD3;LK0;BW0040;KS025;MN110;SWT13;SWH45;SWT14;

(Set mode to CW;Unlocks VFO;Set bandwidth to 400 Hz;Set CW mode to REV (I like 
to tune up into CW signals); Set Macro#3 to be the next one used;Menu exit)


#3  DTA-PF1MD6;DT0;MN053;UP;UP;BW0250;PC050;LK1;MN110;SWT24;SWH45;SWT14;
(Set mode to DATA Mode;Set to DATA-A mode;Select 'Line In' jack on rear of K3 
(MN053;UP;UP);Set Bandwidth to 2.5 KHz;Lock VFO;Set macro #4 to be the next one 
used; Menu exit)


#4  RTT-PF1MD6;DT2;MN053;DN;DN;BW0050;PC080;LK0;MN110;SWT11;SWH45;SWT14;
(Set mode to DATA;Set to FSK-D;Set bandwidth to 50 Hz;Unlock VFO;Set macro #1 
to be the next one used;Menu exit) The next 3 macros (5,6  7) use the PF2-HOLD 
key to toggle the K3 between three power levels, 10, 50  100 Watts.

MacroLabel Macro Commands
#5  10W-PF2PC010;MN110;SWT29;SWH47;SWT14;
#6  50W-PF2PC050;MN110;SWT33;SWH47;SWT14;
#7  100WPF2PC100;MN110;SWT27;SWH47;SWT14;

= = =
The following refers to the 4 mode macros and the sequence chosen to switch 
between each of them.

The # below is the number of the macro memory location in which to store the 
particular macro in the K3.  Since each macro command references a particular 
K3 memory to be used, do NOT change the K3 memories in which the macros are 
stored without making any necessary changes to the MN110;SWTnn; command.

The sequence that holding the PF1 key will follow can be changed by changing 
the SWTnn command for each mode. In the example below, by holding the PF1 key, 
the switching sequence is USB, CW, DATA-A, RTTY, then back to USB. The two 
macro commands used to set up the next mode called is the MN110 (MACRO) 
followed by the SWTnn (keypad number 1-4) corresponding to the four modes 
programmed into those keys).

Here is what is used for the sequence USB,CW,DATA-A,RTTY,USB :
USB Macro #1 #1, MN110;SWT12 = Use Macro #2 (CW) next
CW Macro #2, MN110;SWT13 = Use Macro #3 (DATA-A) next
DATA-A Macro #3, MN110;SWT24 = Use Macro #4 (RTTY) next
RTTY Macro #4, MN110;SWT11 = Use Macro #1 (USB) next 

Here is what is used for the sequence RTTY,DATA-A,CW,USB:
USB Macro #1 #1, MN110;SWT24 = Use Macro #4 (RTTY) next
RTTY Macro #4, MN110;SWT13 = Use Macro #3 (DATA-A) next
DATA-A Macro #3, MN110;SWT11 = Use Macro #1 (CW) next
CW Macro #2, MN110;SWT11 = Use Macro #1 (USB) next

Here is what 

Re: [Elecraft] How can I get more Programmable Macros? (feature request?)

2015-03-03 Thread Wayne Burdick
Understood. The limit is 8 for now, but looking at the EEPROM map, it appears 
that we could go to 16. I'll add this to the wish-list.

73,
Wayne
N6KR


On Mar 3, 2015, at 8:07 AM, Harry Yingst via Elecraft 
elecraft@mailman.qth.net wrote:

 I think you are confusing what I'm looking for.
 Yes I can program 10 buttons, but I'm looking for more thb 8 internal 
 macros.If you go into the K3 menus you will find Function MACRO 1 - MACRO 8.
 When you use rotatable macros you can use a single button to have it rotate 
 through macros.
 Example:
 Press PF1 and it switches WWV on 5 MHz
 Press PF1 Again and it switches to WWV on 10 Mhz
 Press PF1 Again and it switches to WWV on 15 Mhz
 
 Press PF1 Again and it switches to WWV on 20 Mhz
 
 Press PF1 Again and it switches to WWV on 25 Mhz
 
 Press PF1 Again and it switches Back to WWV on 5 Mhz 
 ... and repeat
 
 
 
  From: Vic Rosenthal 4X6GP/K2VCO k2vco@gmail.com
 To: elecraft@mailman.qth.net 
 Sent: Tuesday, March 3, 2015 9:10 AM
 Subject: Re: [Elecraft] How can I get more Programmable Macros? (feature 
 request?)
 
 The first 8 are the tap and hold functions of the four message buttons,
 M1 - M4. The last two are the hold functions of the RIT and XIT buttons
 (PF1 and PF2).
 
 On 3 Mar 2015 15:48, Harry Yingst via Elecraft wrote:
 10 ? How do I access Macros 8  9 ? Yes, I'm currently using as you
 cal them Reversable macros(one is using 5 macros, the other uses 2
 macros)
 
 
 
 From: Wayne Burdick n...@elecraft.com To: Harry Yingst
 hlyin...@yahoo.com Cc: Elecraft Reflector
 elecraft@mailman.qth.net Sent: Tuesday, March 3, 2015 12:22 AM
 Subject: Re: [Elecraft] How can I get more Programmable Macros?
 (feature request?)
 
 Hi Harry,
 
 There are actually 10 programmable function switches. There's also a
 way to use a single programmable switch to do a reversible operation
 by creating a self-modifying macro.
 
 Wayne
 
  http://www.elecraft.com
 
 
 -- 
 73,
 Vic, 4X6GP/K2VCO
 Rehovot, Israel
 http://www.qsl.net/k2vco/
 
 
 __
 Elecraft mailing list
 Home: http://mailman.qth.net/mailman/listinfo/elecraft
 Help: http://mailman.qth.net/mmfaq.htm
 Post: mailto:Elecraft@mailman.qth.net
 
 This list hosted by: http://www.qsl.net
 Please help support this email list: http://www.qsl.net/donate.html
 Message delivered to hlyin...@yahoo.com
 
 
 
 __
 Elecraft mailing list
 Home: http://mailman.qth.net/mailman/listinfo/elecraft
 Help: http://mailman.qth.net/mmfaq.htm
 Post: mailto:Elecraft@mailman.qth.net
 
 This list hosted by: http://www.qsl.net
 Please help support this email list: http://www.qsl.net/donate.html
 Message delivered to n...@elecraft.com

__
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:Elecraft@mailman.qth.net

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Message delivered to arch...@mail-archive.com


Re: [Elecraft] How can I get more Programmable Macros? (feature request?)

2015-03-03 Thread Harry Yingst via Elecraft
Thank you



  From: Wayne Burdick n...@elecraft.com
 To: Harry Yingst hlyin...@yahoo.com 
Cc: Vic Rosenthal 4X6GP/K2VCO k2vco@gmail.com; elecraft@mailman.qth.net 
elecraft@mailman.qth.net 
 Sent: Tuesday, March 3, 2015 11:57 AM
 Subject: Re: [Elecraft] How can I get more Programmable Macros? (feature 
request?)
   
Understood. The limit is 8 for now, but looking at the EEPROM map, it appears 
that we could go to 16. I'll add this to the wish-list.

73,
Wayne
N6KR


On Mar 3, 2015, at 8:07 AM, Harry Yingst via Elecraft 
elecraft@mailman.qth.net wrote:

 I think you are confusing what I'm looking for.
 Yes I can program 10 buttons, but I'm looking for more thb 8 internal 
 macros.If you go into the K3 menus you will find Function MACRO 1 - MACRO 8.
 When you use rotatable macros you can use a single button to have it rotate 
 through macros.
 Example:
 Press PF1 and it switches WWV on 5 MHz
 Press PF1 Again and it switches to WWV on 10 Mhz
 Press PF1 Again and it switches to WWV on 15 Mhz
 
 Press PF1 Again and it switches to WWV on 20 Mhz
 
 Press PF1 Again and it switches to WWV on 25 Mhz
 
 Press PF1 Again and it switches Back to WWV on 5 Mhz 
 ... and repeat
 
 
 
      From: Vic Rosenthal 4X6GP/K2VCO k2vco@gmail.com
 To: elecraft@mailman.qth.net 
 Sent: Tuesday, March 3, 2015 9:10 AM
 Subject: Re: [Elecraft] How can I get more Programmable Macros? (feature 
 request?)
 
 The first 8 are the tap and hold functions of the four message buttons,
 M1 - M4. The last two are the hold functions of the RIT and XIT buttons
 (PF1 and PF2).
 
 On 3 Mar 2015 15:48, Harry Yingst via Elecraft wrote:
 10 ? How do I access Macros 8  9 ? Yes, I'm currently using as you
 cal them Reversable macros(one is using 5 macros, the other uses 2
 macros)
 
 
 
 From: Wayne Burdick n...@elecraft.com To: Harry Yingst
 hlyin...@yahoo.com Cc: Elecraft Reflector
 elecraft@mailman.qth.net Sent: Tuesday, March 3, 2015 12:22 AM
 Subject: Re: [Elecraft] How can I get more Programmable Macros?
 (feature request?)
 
 Hi Harry,
 
 There are actually 10 programmable function switches. There's also a
 way to use a single programmable switch to do a reversible operation
 by creating a self-modifying macro.
 
 Wayne
 
  http://www.elecraft.com
 
 
 -- 
 73,
 Vic, 4X6GP/K2VCO
 Rehovot, Israel
 http://www.qsl.net/k2vco/
 
 
 __
 Elecraft mailing list
 Home: http://mailman.qth.net/mailman/listinfo/elecraft
 Help: http://mailman.qth.net/mmfaq.htm
 Post: mailto:Elecraft@mailman.qth.net
 
 This list hosted by: http://www.qsl.net
 Please help support this email list: http://www.qsl.net/donate.html
 Message delivered to hlyin...@yahoo.com
 
 
 
 __
 Elecraft mailing list
 Home: http://mailman.qth.net/mailman/listinfo/elecraft
 Help: http://mailman.qth.net/mmfaq.htm
 Post: mailto:Elecraft@mailman.qth.net
 
 This list hosted by: http://www.qsl.net
 Please help support this email list: http://www.qsl.net/donate.html
 Message delivered to n...@elecraft.com




  
__
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:Elecraft@mailman.qth.net

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Message delivered to arch...@mail-archive.com

Re: [Elecraft] How can I get more Programmable Macros? (feature request?)

2015-03-03 Thread Wayne Burdick
Rich,

Thanks for re-posting this info. 

Note that some of the commands embedded in your macros may not be needed since 
they are already remembered on a per-mode basis. For example, once you've 
selected CW REV on a given band, it will always be CW REV until you change it. 
There are other cases as well, left as an exercise for the the reader :)

73,
Wayne
N6KR


On Mar 3, 2015, at 8:30 AM, Rich - K1HTV k1...@comcast.net wrote:

 Seeing the request for self modifying macros, I thought I'd re-post these 
 how-to documents that I posted on this reflector a number of years ago. 
 Hopefully they will help you understand how to create your own macros which 
 can be used to rotate between a series of parameter changes via a single PF1 
 or PF2 key press. Have fun playing with them, without as many headaches that 
 I had in learning how to get them to work.
 
 73,
 Rich - K1HTV
 
 For those of you who want to play more with macros, here are four that I use 
 to set up my K3 for USB, CW, DATA-A and RTTY. Parameters that are set up 
 include mode, receiver bandwidth, audio input connector (Front Panel for 
 microphone, rear Line-In jack for DATA-A modes), Mic Gain and Compression 
 level for SSB, CW Speed, VFO lock for DATA-A modes like PSK31, JT65 and WSPR. 
 You can add or change other parameters in the macros for the various modes as 
 you see fit. 
 
 Macros are created using the K3 Utility program on a computer connected to 
 the K3 via one of its COM ports. 16 Macros can be save in the K3 Utility 
 but only the first 8 macros can be uploaded to the K3. The macros can be 
 tested using the K3 Utlity in real time. Once they have been uploaded to 
 the eight K3 internal macro memory locations, they can be assigned to various 
 keys. Each can be assigned to any of the M1-4 (Tap) keys, or M1-4 (Hold), or 
 the PF1 or PF2 (Hold) keys. 
 
 ***NOTE***  
 
 In the case below, 7 macros are created using the K3 Utility program.  The 
 first 4 macros (associated with 4 different modes) are loaded into MACRO 
 memory positions 1,2,3  4 and programmed into the PF1 key. The last 3 macros 
 (associated with setting 3 different power levels) are loaded into MACRO 
 memory positions 5, 6  7.
 
 After they are loaded, when you HOLD the PF1 key the K3 will toggle between 
 the USB, CW, DATA-A and RTTY modes. The 7 character mnemonic assigned to that 
 mode wil flash briefly on the LCD screen. Wait for it to flash before HOLDing 
 the PF1 button to toggle to the next mode.
 
 In a similar manner, when you HOLD the PF2 key, the power K3 level will 
 switch to one of three different power settings.
 
 Mem  MacroLabel Macro Commands
 --
 #1   USB-PF1
 MD2;LK0;MN053;DN;DN;MG026;BW0250;CP020;MN110;SWT12;SWH45;SWT14;
 
 Explanation of commands:
 (Set mode to USB;Unlock VFO;Select the Front Panel mic jack(MN053;DN;DN);Set 
 bandwidth to 2.5 KHz;Set Compression to 20;Set Macro#2 to be next one used; 
 Menu exit).
 
 ***NOTE***
 After switching to the USB mode on 40M, 80M or 160M with the PF1H key, don't 
 forget to hold the MODE (ALT) key to change to the LSB mode for those bands.
 
 
 #2  CW-PF1 MD3;LK0;BW0040;KS025;MN110;SWT13;SWH45;SWT14;
 
 (Set mode to CW;Unlocks VFO;Set bandwidth to 400 Hz;Set CW mode to REV (I 
 like to tune up into CW signals); Set Macro#3 to be the next one used;Menu 
 exit)
 
 
 #3  DTA-PF1MD6;DT0;MN053;UP;UP;BW0250;PC050;LK1;MN110;SWT24;SWH45;SWT14;
 (Set mode to DATA Mode;Set to DATA-A mode;Select 'Line In' jack on rear of K3 
 (MN053;UP;UP);Set Bandwidth to 2.5 KHz;Lock VFO;Set macro #4 to be the next 
 one used; Menu exit)
 
 
 #4  RTT-PF1MD6;DT2;MN053;DN;DN;BW0050;PC080;LK0;MN110;SWT11;SWH45;SWT14;
 (Set mode to DATA;Set to FSK-D;Set bandwidth to 50 Hz;Unlock VFO;Set macro #1 
 to be the next one used;Menu exit) The next 3 macros (5,6  7) use the 
 PF2-HOLD key to toggle the K3 between three power levels, 10, 50  100 Watts.
 
MacroLabel Macro Commands
 #5  10W-PF2PC010;MN110;SWT29;SWH47;SWT14;
 #6  50W-PF2PC050;MN110;SWT33;SWH47;SWT14;
 #7  100WPF2PC100;MN110;SWT27;SWH47;SWT14;
 
 = = =
 The following refers to the 4 mode macros and the sequence chosen to switch 
 between each of them.
 
 The # below is the number of the macro memory location in which to store 
 the particular macro in the K3.  Since each macro command references a 
 particular K3 memory to be used, do NOT change the K3 memories in which the 
 macros are stored without making any necessary changes to the MN110;SWTnn; 
 command.
 
 The sequence that holding the PF1 key will follow can be changed by changing 
 the SWTnn command for each mode. In the example below, by holding the PF1 
 key, the switching sequence is USB, CW, DATA-A, RTTY, then back to USB. The 
 two macro commands used to set up the next mode called is the MN110 (MACRO) 
 followed by the SWTnn (keypad number 1-4) corresponding to the four modes 
 programmed into those keys).
 
 Here is what is used for the 

Re: [Elecraft] How can I get more Programmable Macros? (feature request?)

2015-03-03 Thread Rick Prather
Harry,

That is a great concept for making Macros.  But, I think you can save 5
macro locations by using the * tag in your memories.

What I have done is program memory #60-64 with the 60 meter frequencies.
Then you tag each one with the *. This means each time you select any one
of them as you move the tuning knob you will step through all 5 in a loop.

Rick
K6LE

On Tue, Mar 3, 2015 at 7:58 AM, Harry Yingst via Elecraft 
elecraft@mailman.qth.net wrote:

 Here is an example of a rotatable macro Everytime I Press the PF2button it
 changes frequency then tells the PF2 button to now use the next Macro

 ===
  60
 Meter Channels - Uses Macros 4-8 and Button PF2
  CH1 =5.330.5 , CH2 =5.346.5 , CH3 =5.357.0 , CH4 =5.371.5 , CH4
 =5.403.5 
 ===
  Macro
 4  Label= 60M CH1 Commands =
 FA5330500;MD2;MN110;SWT27;SWH47;SWT14;---
  Macro
 5 Label= 60M CH2 Commands =
 FA5346500;MD2;MN110;SWT29;SWH47;SWT14;---
  Macro
 6 Label= 60M CH3 Commands =
 FA5357000;MD2;MN110;SWT33;SWH47;SWT14;---
  Macro
 7 Label= 60M CH4 Commands =
 FA5371500;MD2;MN110;SWT34;SWH47;SWT14;---
  Macro
 8 Label= 60M CH5 Commands =
 FA5403500;MD2;MN110;SWT24;SWH47;SWT14;===
   From: Warren Merkel hullspee...@gmail.com
  To: elecraft@mailman.qth.net
  Sent: Tuesday, March 3, 2015 10:40 AM
  Subject: Re: [Elecraft] How can I get more Programmable Macros? (feature
 request?)

 Wayne,

 *Q1*: Did you just say that macros can be self-modifying!  I haven't
 found the Write commands to do that yet.  Can you or any other really
 smart guys elaborate?

 For example, Let's say I'd like to create a toggle with a single macro.
 I would like it to do this without having an external application
 controlling things.  So, internal to the K3, a macro would perform one
 or more functions, then before exiting, would rewrite itself to unset
 what was just done.

 Using the sample macro from Table 2 in the Programmers Reference for
 AMP ON and let's just assign it to say, Macro 1

 In pseudo-code, I'd like it to run:

 MN019;MP001;MN255;PC065;DB65;DB77;DB80;DB32;DB79;DB78

 and then, before the macro finishes, I would like it to rewrite itself to:

 MN019;MP000;MN255;PC100;DB65;DB77;DB80;DB32;DB79;DB70;DB70

 Each time Macro 1 is executed, it toggles the Logic 1 output and alters
 the power output and displays AMP ON (or AMP OFF).One button thus
 becomes a toggle.  Press a button,  the external amp is enabled, and the
 drive is lowered for it.  Press it again, and the amp is disabled and
 drive is raised back.

 Seems like all I need is a macro command that allows a new macro string
 to be written, especially to the one running at the time :)
 You could also have one macro change other macros in this way.In
 effect, you would only be limited by your imagination and what you can
 get stored in 120 character pieces.  Hopefully we aren't limited in how
 many FLASH Write operations can be performed to the EEPROM.  (1 million
 or more maybe? )

 Since the K3 Utility obviously has the ability to write to the macro
 storage locations, would it be possible for macros to eat their own dog
 food too?

 If the macro language supports basic branching, I guess it could be done
 inline to the macro and not have to rewrite itself so...

 *Q2*: Is there a way to do IIF (or IF/ELSE) branching in a single
 macro?  (strictly a wishlist item)

 In other words:  IF (value) THEN (macro string) ELSE (another macro
 string)

 All this comes from my experience in making SCOM 7K controllers self
 modify it's macros to make wonderful things happen.

 Thanks!  This is about to become very interesting...

 KD4Z - Warren
 (K3 / P3 Kits scheduled to arrive this Monday)






 On 3/3/2015 8:48 AM, Harry Yingst via Elecraft wrote:
  10 ? How do I access Macros 8  9 ?
  Yes, I'm currently using as you cal them Reversable macros(one is
 using 5 macros, the other uses 2 macros)
 
 
 
   From: Wayne Burdick n...@elecraft.com
   To: Harry Yingst hlyin...@yahoo.com
  Cc: Elecraft Reflector elecraft@mailman.qth.net
   Sent: Tuesday, March 3, 2015 12:22 AM
   Subject: Re: [Elecraft] How can I get more Programmable Macros?
 (feature request?)
 
  Hi Harry,
 
  There are actually 10 programmable function switches. There's also a way
 to use a single programmable switch to do a reversible operation by
 creating a self-modifying macro.
 
  Wayne
 
  
  http://www.elecraft.com
 
 
 
  On Mar 2, 2015, at 7:31 PM

Re: [Elecraft] How can I get more Programmable Macros? (feature request?)

2015-03-03 Thread Harry Yingst via Elecraft
Yes that would work but I'm planning on adding a Genovation keypad so a Macro 
works better for me
  From: Rick Prather k...@mac.com
 To: Harry Yingst hlyin...@yahoo.com 
Cc: elecraft@mailman.qth.net elecraft@mailman.qth.net 
 Sent: Tuesday, March 3, 2015 12:28 PM
 Subject: Re: [Elecraft] How can I get more Programmable Macros? (feature 
request?)
   
Harry,
That is a great concept for making Macros.  But, I think you can save 5 macro 
locations by using the * tag in your memories.
What I have done is program memory #60-64 with the 60 meter frequencies.  Then 
you tag each one with the *. This means each time you select any one of them 
as you move the tuning knob you will step through all 5 in a loop.
RickK6LE


On Tue, Mar 3, 2015 at 7:58 AM, Harry Yingst via Elecraft 
elecraft@mailman.qth.net wrote:

Here is an example of a rotatable macro Everytime I Press the PF2button it 
changes frequency then tells the PF2 button to now use the next Macro

=== 
60 Meter Channels - Uses Macros 4-8 and Button PF2
 CH1 =5.330.5 , CH2 =5.346.5 , CH3 =5.357.0 , CH4 =5.371.5 , CH4 =5.403.5 
=== 
Macro 4  Label    = 60M CH1 Commands = 
FA5330500;MD2;MN110;SWT27;SWH47;SWT14;---
 Macro 5 Label    = 60M CH2 Commands = 
FA5346500;MD2;MN110;SWT29;SWH47;SWT14;---
 Macro 6 Label    = 60M CH3 Commands = 
FA5357000;MD2;MN110;SWT33;SWH47;SWT14;---
 Macro 7 Label    = 60M CH4 Commands = 
FA5371500;MD2;MN110;SWT34;SWH47;SWT14;---
 Macro 8 Label    = 60M CH5 Commands = 
FA5403500;MD2;MN110;SWT24;SWH47;SWT14;===
      From: Warren Merkel hullspee...@gmail.com
 To: elecraft@mailman.qth.net
 Sent: Tuesday, March 3, 2015 10:40 AM
 Subject: Re: [Elecraft] How can I get more Programmable Macros? (feature 
request?)

Wayne,

*Q1*: Did you just say that macros can be self-modifying!  I haven't
found the Write commands to do that yet.  Can you or any other really
smart guys elaborate?

For example, Let's say I'd like to create a toggle with a single macro.
I would like it to do this without having an external application
controlling things.  So, internal to the K3, a macro would perform one
or more functions, then before exiting, would rewrite itself to unset
what was just done.

Using the sample macro from Table 2 in the Programmers Reference for
AMP ON and let's just assign it to say, Macro 1

In pseudo-code, I'd like it to run:

    MN019;MP001;MN255;PC065;DB65;DB77;DB80;DB32;DB79;DB78

and then, before the macro finishes, I would like it to rewrite itself to:

    MN019;MP000;MN255;PC100;DB65;DB77;DB80;DB32;DB79;DB70;DB70

Each time Macro 1 is executed, it toggles the Logic 1 output and alters
the power output and displays AMP ON (or AMP OFF).    One button thus
becomes a toggle.  Press a button,  the external amp is enabled, and the
drive is lowered for it.  Press it again, and the amp is disabled and
drive is raised back.

Seems like all I need is a macro command that allows a new macro string
to be written, especially to the one running at the time :)
You could also have one macro change other macros in this way.    In
effect, you would only be limited by your imagination and what you can
get stored in 120 character pieces.  Hopefully we aren't limited in how
many FLASH Write operations can be performed to the EEPROM.  (1 million
or more maybe? )

Since the K3 Utility obviously has the ability to write to the macro
storage locations, would it be possible for macros to eat their own dog
food too?

If the macro language supports basic branching, I guess it could be done
inline to the macro and not have to rewrite itself so...
 
    *Q2*: Is there a way to do IIF (or IF/ELSE) branching in a single
macro?  (strictly a wishlist item)

    In other words:  IF (value) THEN (macro string) ELSE (another macro
string)

All this comes from my experience in making SCOM 7K controllers self
modify it's macros to make wonderful things happen.

Thanks!  This is about to become very interesting...

KD4Z - Warren
(K3 / P3 Kits scheduled to arrive this Monday)






On 3/3/2015 8:48 AM, Harry Yingst via Elecraft wrote:
 10 ? How do I access Macros 8  9 ?
 Yes, I'm currently using as you cal them Reversable macros(one is using 5 
 macros, the other uses 2 macros)



      From: Wayne Burdick n...@elecraft.com
  To: Harry Yingst hlyin...@yahoo.com
 Cc: Elecraft Reflector elecraft@mailman.qth.net
  Sent: Tuesday, March 3, 2015 12:22 AM
  Subject: Re: [Elecraft] How can I get more Programmable Macros? (feature

Re: [Elecraft] How can I get more Programmable Macros? (feature request?)

2015-03-03 Thread Vic Rosenthal 4X6GP/K2VCO

The first 8 are the tap and hold functions of the four message buttons,
M1 - M4. The last two are the hold functions of the RIT and XIT buttons
(PF1 and PF2).

On 3 Mar 2015 15:48, Harry Yingst via Elecraft wrote:

10 ? How do I access Macros 8  9 ? Yes, I'm currently using as you
cal them Reversable macros(one is using 5 macros, the other uses 2
macros)



From: Wayne Burdick n...@elecraft.com To: Harry Yingst
hlyin...@yahoo.com Cc: Elecraft Reflector
elecraft@mailman.qth.net Sent: Tuesday, March 3, 2015 12:22 AM
Subject: Re: [Elecraft] How can I get more Programmable Macros?
(feature request?)

Hi Harry,

There are actually 10 programmable function switches. There's also a
way to use a single programmable switch to do a reversible operation
by creating a self-modifying macro.

Wayne

 http://www.elecraft.com



--
73,
Vic, 4X6GP/K2VCO
Rehovot, Israel
http://www.qsl.net/k2vco/
__
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:Elecraft@mailman.qth.net

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Message delivered to arch...@mail-archive.com


Re: [Elecraft] How can I get more Programmable Macros? (feature request?)

2015-03-03 Thread Harry Yingst via Elecraft
10 ? How do I access Macros 8  9 ?
Yes, I'm currently using as you cal them Reversable macros(one is using 5 
macros, the other uses 2 macros)



  From: Wayne Burdick n...@elecraft.com
 To: Harry Yingst hlyin...@yahoo.com 
Cc: Elecraft Reflector elecraft@mailman.qth.net 
 Sent: Tuesday, March 3, 2015 12:22 AM
 Subject: Re: [Elecraft] How can I get more Programmable Macros? (feature 
request?)
   
Hi Harry,

There are actually 10 programmable function switches. There's also a way to use 
a single programmable switch to do a reversible operation by creating a 
self-modifying macro.

Wayne


http://www.elecraft.com



 On Mar 2, 2015, at 7:31 PM, Harry Yingst via Elecraft 
 elecraft@mailman.qth.net wrote:
 
 I would like to have more programmable macro slots:
 I'm already using 7 macros so I only have 1 left (unless I'm reading it wrong 
 we only have 8 internal macros). Once you start using rotatable macros they 
 get used up pretty quickly
 
 I plan to add a Genovation Keypad but more Internal to the K3 macros would be 
 useful for rotatable macros.
 Is there a way to get more than 8?
 Thank you
 
 __
 Elecraft mailing list
 Home: http://mailman.qth.net/mailman/listinfo/elecraft
 Help: http://mailman.qth.net/mmfaq.htm
 Post: mailto:Elecraft@mailman.qth.net
 
 This list hosted by: http://www.qsl.net
 Please help support this email list: http://www.qsl.net/donate.html
 Message delivered to n...@elecraft.com

  
__
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:Elecraft@mailman.qth.net

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Message delivered to arch...@mail-archive.com

Re: [Elecraft] How can I get more Programmable Macros? (feature request?)

2015-03-02 Thread Wayne Burdick
Hi Harry,

There are actually 10 programmable function switches. There's also a way to use 
a single programmable switch to do a reversible operation by creating a 
self-modifying macro.

Wayne


http://www.elecraft.com

 On Mar 2, 2015, at 7:31 PM, Harry Yingst via Elecraft 
 elecraft@mailman.qth.net wrote:
 
 I would like to have more programmable macro slots:
 I'm already using 7 macros so I only have 1 left (unless I'm reading it wrong 
 we only have 8 internal macros). Once you start using rotatable macros they 
 get used up pretty quickly
 
 I plan to add a Genovation Keypad but more Internal to the K3 macros would be 
 useful for rotatable macros.
 Is there a way to get more than 8?
 Thank you
 
 __
 Elecraft mailing list
 Home: http://mailman.qth.net/mailman/listinfo/elecraft
 Help: http://mailman.qth.net/mmfaq.htm
 Post: mailto:Elecraft@mailman.qth.net
 
 This list hosted by: http://www.qsl.net
 Please help support this email list: http://www.qsl.net/donate.html
 Message delivered to n...@elecraft.com
__
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:Elecraft@mailman.qth.net

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Message delivered to arch...@mail-archive.com