EXB-IRS4 using SET INPUT LINK
RicardoSiqueira
Junior Member
I am using a cable box, which only has a toggle power out of port 2 of the EXB-IRS4 and linking it to I/O 2 on the same box by using the SET INPUT LINK. The I/O 2 is sensing an external relay connected to the cable box power outlet. So when the cable box goes on, it turns the relay on and I/O 2 on the EXB-IRS4 lights on. I am using PON and POF to trigger the cable box on or off. It works fine on the PON, but on the POF, the cable box goes off properly, but the EXB-IRS4 keeps pulsing IR out of port 2 what turns the cable box on and off all the time. Any ideas on how to stop the IR pulsing after the POF command. On a regular Ni Master I do a conditional, but on the EXB-IRS4 I am using the PON & POF. Here is my code:
DEFINE_DEVICE
dvCABLE_Playroom = 6004:2:0 // SA Cable Box Explorer 8300 HDC
DEFINE_EVENT
//initialize IR port and link I/O
DATA_EVENT[dvCABLE_Playroom]
{
ONLINE: //IR device comes ONLINE
{
SEND_COMMAND dvCABLE_Playroom,'SET MODE IR'
SEND_COMMAND dvCABLE_Playroom,'CARON'
SEND_COMMAND dvCABLE_Playroom,"'CTON',3"
SEND_COMMAND dvCABLE_Playroom,"'CTOF',3"
SEND_COMMAND dvCABLE_Playroom,'XCHM-0'
SEND_COMMAND dvCABLE_Playroom,'SET INPUT LINK'
}
}
On my macros I am using these commands:
SEND_COMMAND dvCABLE_Playroom,"'PON'" //Turns on cable box based on status of I/O
SEND_COMMAND dvCABLE_Playroom,"'POF'" //Turns off cable box based on status of I/O
//On a regular NI Master
IF(![dvIONI3100,2])
{
SEND_COMMAND dvCABLE_MasterBed,"'SP',9" //Cable Power
}
Comments
-
RicardoSiqueira wrote:On a regular Ni Master I do a conditional….
//On a regular NI Master IF(![dvIONI3100,2]) { SEND_COMMAND dvCABLE_MasterBed,"'SP',9" //Cable Power }
You can do the same with the EXB-IRS4 by monitoring channel 255 for each port.da manual wrote:Input Pin
The firmware on the EXB-IRS4 senses the high/low state of the pin and always reports that state to the master
via PUSH/RELEASE messages on ports 1-4 channel 255. This behavior persists regardless of whether the pin
is linked or unlinked. -
Ok. So this is the way I should handle it then?
dvCABLE_Playroom = 6004:2:0 IF(![dvCABLE_Playroom,255]) //I/O is Off = Cable box is off { SEND_COMMAND dvCABLE_Playroom,"'SP',9" //Cable Power ON } IF([dvCABLE_Playroom,255]) //I/O is On = Cable box is on { SEND_COMMAND dvCABLE_Playroom,"'SP',9" //Cable Power OFF }
Thanks!
Leave a Comment
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums