Parts in patch

I want to write a re-patch macro.  I have 3 channels whose addresses will change,  A patch and a B patch.

I do Learn, Macro 51, Enter,  Display, Patch, 121, thru, 123, @, Enter, (to clear the channels)

Continuing to learn with "121, @, 10,  Enter, 122, @, 15, Enter, 123, @, 58, +, 62, Enter, Live, and Learn".  

All is well, except I note that Ch 123 has parts 1, 2 & 3, with nothing in part 1, address 58 in Part 2, address 62 in Part 3.  

So, OK

I then write macro 52 for the B patch, clearing the channels with "121, thru, 123, @, Enter" and new addresses for the B patch.

When macro 52 clears channels 121 thru 123, it leaves parts 1,  2 & 3 for Ch 123 empty then writes new parts for the new addresses, so Parts 4, 5 & 6 now,

Run Macro 51 again and I get Parts 7,8 & 9, etc

What am I doing wrong.  

Steve B.

 

 

 

 

 

 

 

 

 

Parents
  • Steve,

    In theory, using the {replace} softkey in patch instead of @ should fix your problem, but without specifying the channel part to replace it does not replace the two addresses in channel 123 with the new addresses, it simply adds the new addresses to the channel.

    If you use {replace} by specifying the part, it works.  For your macro 52 try:

    • Chan 123 Part 2 {replace} 58
    • Chan 123 Part 3 {replace} 62

    -Todd

     

     

Reply
  • Steve,

    In theory, using the {replace} softkey in patch instead of @ should fix your problem, but without specifying the channel part to replace it does not replace the two addresses in channel 123 with the new addresses, it simply adds the new addresses to the channel.

    If you use {replace} by specifying the part, it works.  For your macro 52 try:

    • Chan 123 Part 2 {replace} 58
    • Chan 123 Part 3 {replace} 62

    -Todd

     

     

Children
Related