Page 1 of 1

Stumped by Macro/LKP

Posted: Fri Dec 02, 2005 4:41 pm
by Capn Trips
Here's a mystery for those so inclined to troubleshoot.

***DISCLAIMER*** I have my upgrades and setup working, so the following is simply an academic exercise. No lives are at stake, so don't waste your time unless you're interested for the pure intellectual "solve a mystery" factor. ***END DISCLAIMER***

THIS extended HTPro IR file has my complete setup for my secondary HT location. It contains upgrades for a JVC TV (special manual settings protocol to combine three JVC devices), Pioneer Code-Free DVD/LaserDisc player, SOMFY window shades control, and a SKY+ satellite-PVR box.

I have set this up such that each device key calls an LKP which:
(1) for short press, assigns the button sets for the applicable devices (Vol always on TV), and
(2) for a long press, powers up the applicable component, assigns button sets appropriately, and selects the appropriate input on the TV.

Other notes:
(3) TV powers up separately off the TV macro/LKP since it needs about 10 seconds before it's ready to receive input selection commands.
(4) Power has my All Off LKP on it.
(5) Phantom 3 sets the Custom Mode Name tailored LCD display for each device. It is called in Phantom 1 for each device.
(6) Phantom 1 is used to set all of the keysets except VOL AND to call shift-phantom 3.
(7) xshift-phantom 1 is the LKP (called by each device key macro) described above in (1) and (2).
(8 ) shift-phantom1 and shift-phantom2 are my discrete ON and OFF functions, respectively.

Symptom:
All of the Device button LKPs for setup work correctly EXCEPT for SAT. When I press SAT, it appears that the LKP runs (different blink patterns for short and long, and the actual SIGNALS I expect are sent - the TV reconfigures and the SKY+ box powers up on LKP, BUT my button assignments and custom display (as called by Phantom 1 in either the SKP or LKP sequence) seems not to take. The remote remains in the last device mode it was in, and the display does not update - reflecting the previous device mode. After staring at the IR file for about and hour, I gave up and just rewrote the SAT sequence to call the button and LCD display assignment functions directly after the S/LKP executes, bypassing the phantom 1 macro.

So I have the desired functionality, albeit not as efficiently using my memory as I woudl prefer.

Question: Can any of you figure out why the SAT device sequence in the first file refuses to run as I think it should? ...but works fine in the second instance?

Posted: Sun Dec 04, 2005 11:47 am
by ElizabethD
:twisted: So are we starting "Capn Trips' monthly teasers"? :twisted:
Phantom1 macro in SAT mode NEVER has a chance to run.
There is a keymove in the way #26 in the unmodified version.
At least that's what I think :eek:

Posted: Sun Dec 04, 2005 12:06 pm
by Nils_Ekberg
You got it Liz. The keymove is definitely getting executed first and ignoring the macro.

Posted: Sun Dec 04, 2005 12:58 pm
by Capn Trips
ElizabethD wrote::twisted: So are we starting "Capn Trips' monthly teasers"? :twisted:
Phantom1 macro in SAT mode NEVER has a chance to run.
There is a keymove in the way #26 in the unmodified version.
At least that's what I think :eek:
Duh, of course! Dopey me. :oops:

Thanks folks! I guess I was just too close too the problem. :roll:

Posted: Sun Jan 01, 2006 7:41 pm
by The Robman
I split the un-related post about RM lockin up a PC off into it's own thread in the Software forum:

https://www.hifi-remote.com/forums/viewtopic.php?t=5710