IR Code Generates Too Many Pulses
The information in this article applies to: AXB-IRS4; AXB-TC; AXB-TCR; AXB-TM5; AXB-TMX+; AXC-IR/S; IRIS; MVP-7500; MVP-8400; NI-2000; NI-3000; NI-4000; NXC-IRS4; NXI; VPN-CP; VPT-CP
Symptoms
IR Code(s) for channel up/down, number keys, toggling inputs, etc., send too many pulses. For example, "channel up" may skip 1 or more numbers, or number 1 may give '11' instead of '1'.
Cause
The default verification time of the IRIS is 0.5 seconds, and the default IR pulse time for NetLinx and Axcess devices is 0.5 seconds. This is too long of a pulse time for some devices.
Resolution by Decreasing the Pulse Time
In many cases, decreasing the pulse time will fix the problem. In the examples below, replace <device> with the device name. If you are using PULSE or MIN_TO, use SET_PULSE_TIME like this:
SET_PULSE_TIME (1) (* set global pulse time to something less then 0.5 seconds, in this case 0.1 second *)
PULSE[<device>,22] (* pulse the desired function code *)
SET_PULSE_TIME (5) (* set global pulse time back to 0.5 seconds *)
If you are using the SP, CH, XCH commands in a NetLinx system, use the CTON command like this:
DEFINE_EVENT
DATA_EVENT[dvIR]
{
ONLINE:
{
SEND_COMMAND DATA.DEVICE,"'CTON',1" // set SEND_COMMAND pulse time for this device to 0.1 second
}
}
If you are using the SP, CH, XCH commands in an Axcess system, use the CTON command like this:
DEFINE_START
WAIT 50 (* wait 5 seconds after system starts to make sure device is online *)
{
SEND_COMMAND <device>,"'CTON',1" // set SEND_COMMAND pulse time for this device to 0.1 second
}
If you are using IR macros on a Viewpoint, decrease the "pulse on" time in the buttons string property. For example, the macro below will pulse device 4 channel 22 for 0.1 second:
$P 4 22 1
Resolution by Recapture
If decreasing the pulse time doesn't work, the IR function(s) will have to be recaptured with a shorter pulse. On your IRIS, disable verify by turning off P4:
1. Press the Up, Down, and Send buttons together.
2. Press Up or Down until the display reads P4.
3. Press the Up, Down, and Send buttons together again.
Then recapture the IR code, pressing the button on the remote for less than 0.5 seconds, and test. Recapture again, if necessary.
If this is an AMX IR file, please notify AMX Technical Support.