Premise custom drivers repeat ir commands at least twice...

Motorola Premise

etc6849

Senior Member
It appears that any custom driver on my system will repeat an ir command at least 2 times, even if I tell it to do so only once? Am I missing a setting somewhere?

This is normally ok, except for a pioneer dvd player I have will respond twice for a command that was supposedly sent once. This is the only device I have that reacts this fast. This also doesn't matter for commands like play, stop etc, but for some transportCommands like pause it does matter. Note that without this on change script found below, the commands are repeated twice even if I set command detail, command count to 1. To use the on change script, I have to delete the IRData for that specific command from the custom driver and hard code it as shown below. I'm also using a GC-100, but I don't think that is the issue since I'm able to hard code a solution that works 100% of the time. You can also visually see that the blinkie's normally emit the signal twice instead of once, but after deploying the script below they only blink once...

I've used the code below to fix this issue temporarily, but I'd like to know if I'm just missing a setting somewhere:
Code:
set oIROUT = this.Transmitter
if this.TransportCommand = 4 then
	sIRDATA = "0000 0067 0000 0066 0155 00aa 0015 0040 0015 0040 0014 0016 0014 0016 0014 0016 0015 0040 0014 0016 0015 0040 0014 0016 0014 0016 0015 0040 0015 0040 0015 0040 0014 0016 0015 0040 0014 0016 0015 0040 0014 0016 0015 0040 0015 0040 0015 0040 0014 0016 0014 0016 0015 0040 0014 0016 0015 0040 0014 0016 0014 0016 "&_
	"0014 0016 0015 0040 0015 0040 0014 0016 0014 03f7 0155 00aa 0015 0040 0015 0040 0014 0016 0014 0016 0014 0016 0015 0040 0014 0016 0015 0040 0014 0016 0014 0016 0015 0040 0015 0040 0015 0040 0014 0016 0015 0040 0014 0016 0015 0040 0014 0016 0015 0038 0019 003f 0016 0035 001a 0015 0014 0016 0015 0040 0014 0016 0015 "&_
	"0040 0014 0016 0014 0016 0014 0016 0015 0040 0015 0040 0014 0016 0014 03f7 0155 00aa 0015 0040 0015 0040 0014 0016 0014 0016 0014 0016 0015 0040 0014 0016 0015 0040 0014 0016 0014 0016 0015 0040 0016 003c 0015 0040 0014 0016 0015 0040 0014 0016 0015 0040 0014 0016 0015 0040 0015 0040 0015 0040 0014 0016 0014 0016 0015 "&_
	"0040 0014 0016 0015 0040 0014 0016 0014 0016 0014 0016 0015 0040 0015 0040 0014 0016 0015 057c"
end if

if this.TransportCommand = 6 then
	sIRDATA = "0000 0067 0000 0044 0156 00aa 0016 003e 0016 003e 0016 0014 0016 0014 0016 0014 0016 003e 0016 0014 0016 003e 0016 0014 0016 0014 0016 003e 0016 003e 0016 003e 0016 0014 0016 003e 0016 0014 0016 0014 0016 0014 0016 003e 0016 003e 0016 003e "&_
	"0016 0014 0016 0014 0016 003e 0016 003e 0016 003e 0016 0014 0016 0014 0016 0014 0016 003e 0016 003e 0016 0014 0015 03fa 0156 00aa 0016 003e 0016 003e 0016 0014 0016 0014 0016 0014 0016 003e 0016 0014 0016 003e 0016 0014 0016 0014 0016 003e 0016 003e 0016 "&_
	"003e 0016 0014 0016 003e 0016 0014 0016 0014 0016 0014 0016 003e 0016 003e 0016 003e 0016 0014 0016 0014 0016 003e 0016 003e 0016 003e 0016 0014 0016 0014 0016 0014 0016 003e 0016 003e 0016 0014 0015 0580"
end if


if this.TransportCommand = 8 then
	sIRDATA = "0000 007d 0000 0044 0116 0088 0011 0031 0011 0031 0010 0013 0010 0013 0010 0013 0011 0031 0010 0013 0011 0031 0010 0013 0010 0013 0011 0031 0011 0031 0011 0031 0010 0013 0011 0031 0010 0013 0011 0031 0011 0031 0011 0031 0011 0031 0011 0031 0010 0013 0010 0013 0011 0031 0010 0013 0010 0013 0010 0013 0010"&_
	" 0013 0010 0013 0011 0031 0011 0031 0010 0013 0012 0336 0116 0088 0011 0031 0011 0031 0010 0013 0010 0013 0010 0013 0011 0031 0010 0013 0011 0031 0010 0013 0010 0013 0011 0031 0011 0031 0011 0031 0010 0013 0011 0031 0010 0013 0011 0031 0011 0031 0011 0031 0011 0031 0011 0031 0010 0013 0010 0013 0011 0031"&_
	" 0010 0013 0010 0013 0010 0013 0010 0013 0010 0013 0011 0031 0011 0031 0010 0013 0011 0473"
end if

oIROUT.TxRepeat = 1
oIROUT.TxData = sIRDATA
oIROUT.Send = false
 
I debugged this a little more today and figured out the answer, finally!

After more study, I realized the issue only occurred when I used the GC100 Multi04 IO1 port. If I used IO2, IO3 and other output IR ports everything would work as normal.

Then I remembered I had done some experiementing with copying IO1 data, and resending it in an extension module about 8 months ago. I had deleted the extension about 8 months ago, but never unloaded and reloaded the GC add-in. I believe not reloading the add-in kept the extra code in place even though the extension was nolonger viewable under modules!?!

The issue was easily fixed once I unchecked the Global Cache add in, then rechecked it :horse:

Any thoughts?
 
Back
Top