Is there a restriction/limitation on calling a macro from within an LKP?
I have a problem getting an LKP to work. Here's the setup: (using HTPro w/ Extender 1)
All of my components are set up with (I sense relatively common) device selection/system setup macros using LKPs wherein:
(1) Macro on Device button calls a device-specific LKP (i.e. CBL=Dev_Cbl, Phantom 1 - where CBL/Phantom 1 is an LKP);
(2) Short press = simply device selection sequence (i.e. Dev_CBL, Set_vol, Set_Trans,Set_other, etc);
(3) Long Press = Power-on and select inputs for all appropriate gear and appropriate device selection (Dev_Rcvr, discrete on, input a, Dev_TV, Discrete on, input b, Dev_CBL, discrete on, set_XXX, ..))
These have worked well routinely for all of my equipment.
I now have a case where the LKP cannot stand alone as it exceeds the 14-step limit. So I have set up a macro for the latter portion of the sequence I require, and call it as the last step (step 10) of my LKP.
(3) Long Press = Dev_TV, Discrete ON, Input x, Dev_RCVR, Discrete on, input y, Macro Z:
(4) Macro Z=Dev_VCR, discrete on, input w, DEV-CBL, discrete on, Set_XXX, set_YYY, etc
Looking at my remote as it sequences, all of the desired commands are executing UP TO the call to Macro Z in the LKP - the SKP sequence executes correctly completely, and the LKP sequence starts out executing corectly, but stops before executing any step of Macro Z.
Is what I am doing allowed? I have checked multiple times and cannot see any disconnects in my sequencing, and I thought that with the extender, there was technically no limit on how many pending commands remained, so I'm a bit non-plussed.
I'm not uploading my IR file yet as I hope someone can point out an obvious extender limitation I'm overlooking.
Calling a macro from within an LKP (HTPro extender 1)
Moderator: Moderators
-
Capn Trips
- Expert
- Posts: 3989
- Joined: Fri Oct 03, 2003 6:56 am
You might need a "Dev_Cancel" right before MacroZ if it is a DSM on a button other than in RCVR mode. In your example MacroZ is after you changed the device mode to RCVR.
I have a similar setup that calls a string of DSMs in the LKP and the Dev_Cancel at the end of each DSM was what I initially overlooked.
I have a similar setup that calls a string of DSMs in the LKP and the Dev_Cancel at the end of each DSM was what I initially overlooked.
-
Capn Trips
- Expert
- Posts: 3989
- Joined: Fri Oct 03, 2003 6:56 am
-
ElizabethD
- Advanced Member
- Posts: 2348
- Joined: Mon Feb 09, 2004 12:07 pm
Using the same extender (most likely) in 8910 and HTPro and with similar set of commands it was OK for me. The LKP included nested keymoves, nested macros and I manufactured a concatenation of MACRO-Z type of thing. It, too, works. I see no limitations on the extender side. Now. Today. Who knows what hits tomorrow 
BTW I bumped into a limit of 12 or 13 keys not 14.
I just thought of something else. One thing not in my experiment which is in yours are the SET_xxx commands (I was using shutdown macros). What if at the time you call Macro-Z, that key is NOT in the device's key set at the time you want that key pushed? I've done that so often it's not funny.
Try [Long] Macro-Y;Macro-Z structure, where Macro-Y would be all the keys in your current [Long] sequence. Try the macros individually in immediate succession, watch the LCD for what happens, and then try via LKP. It might reveal something.
BTW I bumped into a limit of 12 or 13 keys not 14.
I just thought of something else. One thing not in my experiment which is in yours are the SET_xxx commands (I was using shutdown macros). What if at the time you call Macro-Z, that key is NOT in the device's key set at the time you want that key pushed? I've done that so often it's not funny.
Try [Long] Macro-Y;Macro-Z structure, where Macro-Y would be all the keys in your current [Long] sequence. Try the macros individually in immediate succession, watch the LCD for what happens, and then try via LKP. It might reveal something.