IR code send many times in one "click"
misioooo
Posts: 12
Hi!
Recently with Your help i managed to create my own IR file with working codes.
But now i encountered another problem.
Codes from my file are working, but it looks like every PULSE sends same code many times (for example +volume adds 2-3 "vol plus" in 1/10sec).
Is there a way to deal with "repeat" that is probably ON on AMX Controller ports?
Recently with Your help i managed to create my own IR file with working codes.
But now i encountered another problem.
Codes from my file are working, but it looks like every PULSE sends same code many times (for example +volume adds 2-3 "vol plus" in 1/10sec).
Is there a way to deal with "repeat" that is probably ON on AMX Controller ports?
0
Comments
The first might be the pulse time is too long. The default is 500ms. I can see this being a problem for volume (or anything you typically hold down while using a real remote.). How to deal with this depends on how you're coding.
If yours doing PULSE then you can change the pulse time. Search the help file for that command and how to use.
If your doing a TO to the IR device in code based upon the button on the UI you might be seeing some latency issues causing the button to get mashed down to long.
If you're using the SP command you need to adjust the CTON and CTOF times down a bit.
If the issue is indeed the repeat portion of the IR file itself you don't rally have a way in IREdit to modify
Hope that helps
ON[dvDevice, <IR Channel>]
OFF[dvDevice, <IR Channel>]
Oddly enough, turning it on and immediately off again is faster than a CTON value of 1.
If it still repeats, your IR command is malformed and will need to be recaptured.
Also i have some fun with Pulse time - but 1 (1/10 of sec) still sends IR code twice or 3 times.
I will try ON/OFF.
I also read some info about IR codes and from what i know in most IR codes is info about carrier freq and repeat, but my tries to change ir code manualy in raw format = failure
Don't use PULSE. It ignores CTON settings, and it's a global value, so if you use the SET_PULSE_TIME keyword, it changes the pulse timing for EVERYTHING ... every IR port, the relays, anything that uses PULSE. It's way too prone to mistakes if you change it on the fly for every device; just use CTON to set the timing, and SP to send the IR. It will make your life very mush easier.
Unfortunatelly CTON set to 1 is too long... Still ir code is sent 2-3 times.
For all but one code
ON[]
OFF[]
worked. It is much shorter time between ON/OFF than 1/10th sec.