6012 extender

Support forum for extenders. If you're having trouble getting one up and running, this is the place to come.

Moderator: Moderators

Post Reply
e34m5
Posts: 675
Joined: Tue Oct 14, 2003 1:04 pm
Location: Atlanta

6012 extender

Post by e34m5 »

Is there a limit to how many steps are allowed in a macro using the extender..
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

With or without an extender a macro is limited to 15 steps, but some extenders let you nest or concatenate macros, in which case you can create a macro that will execute an unlimited number of steps.

Each extender that allows nested macros has a limit on pending steps. You should look at the extender documentation for details.
usblipitor
Posts: 516
Joined: Fri Oct 10, 2003 10:06 pm
Location: Greenbelt, MD

Post by usblipitor »

Here is an excerpt from the extender documentation that john refers to:

[quote=""The Extender Documentation that John Refers To""]There is a 32 byte macro buffer (vs. the 15 byte buffer used by SelNestMac on other remotes). That doesn't change the limit on an individual macro (still 15 commands) nor does it set a limit on the total number of commands executed by one macro (virtually unlimited). It limits the number of commands "pending" at any one moment.

To understand "pending" commands, imagine 4 macros, A, B, C, and D:
A = B; C; D
B = 1; 2; 3
C = 4; B; 5; 6
D = 7; 8; 9

when you press A, you get 1 2 3 4 1 2 3 5 6 7 8 9, which is 12 commands, but
in executing those 12 commands, there were never 12 commands "pending".

When the extender processes the first B there are 5 command pending:
1; 2; 3; C; D;
Later it process the C and there are again 5 commands pending:
4; B; 5; 6; D
When it processes the second B there are 6 commands pending
1; 2; 3; 5; 6; D

The whole 12 commands are sent with a maximum of 6 ever pending. You should be able to design rediculously long macros without ever hitting the limit of 32 pending commands.[/quote]
e34m5
Posts: 675
Joined: Tue Oct 14, 2003 1:04 pm
Location: Atlanta

Post by e34m5 »

I guess I must be tired..I read that and it didn't register... :oops:
Nils_Ekberg
Expert
Posts: 1689
Joined: Sat Aug 02, 2003 2:08 pm
Location: Near Albany, NY

Post by Nils_Ekberg »

e34m5 wrote:I guess I must be tired..I read that and it didn't register... :oops:
It is a tough read. I remember the first 30 or 40 times I read it. Basically what it says is that no one macro can have more than 15 steps (extended or unextended) but with an extender you can imbed (nested) macros within macros, all of which can have 15 steps each which could lead to ultimately over 200 steps to be executed by one primary macro. So, 15 is is not the real limit. The limit is how big the macro buffer is and how quick steps are processed through the buffer. On an extended remote the buffer it is generally anywhere between 15 and 31 bytes (steps). Since the buffer steps run immediately as it receives input it is very difficult for the 200+ steps to all arrive in the buffer at the same time since they are sent to the buffer in order of process. When a nested macro is sent it is not actually all of the commands in that macro being sent until it is executed by the command processor.

I hope that made more sense.
Post Reply