Home AMX User Forum NetLinx Studio

"Activating" IR port on NI2100

Hello!
I have DVX2155 (with integrated NI-2100).

I can not make IR port to work. LED on IR PORT is not blinking.

What i did in Netlinx:
dvBLURAY = 5001:6:0 //2nd IR port
.
.
.
DATA_EVENT [dvBLURAY]
{
ONLINE:
{
SEND_COMMAND dvBLURAY,"'SET MODE IR'"
SEND_COMMAND dvBLURAY,"'CARON'"
}
}
.
.
.
BUTTON_EVENT[dvTP,btBLURAY_ON]
{
PUSH: PULSE[dvBLURAY,9]
}
IR files are mapped etc. IR ports 1 & 2 are working. All ports "initialized" in the same way as above! Just cant get port 3 and 4 working.

Comments

  • misioooomisioooo Posts: 12
    Did a new workspace in NXS. Only ports 5,6,7,8 defined (and one button on TP that sends to all ports)

    When ports are in 'SET MODE DATA' all are blinking.
    When ports are in 'SET MODE IR' only 7,8 (ports 3 and 4) are blinking...
  • DHawthorneDHawthorne Posts: 4,584
    Maybe it's a silly question, maybe not, but did you actually load the IR files to those ports? The light not blinking indicates there is no IR data on the channel you triggered. It's not enough to map it in your workspace, you have to load the file too.

    Don't let data mode confuse you. That's a different animal altogether;it's the same as serial mode, which is one way RS-232. It has nothing to do with IR.
  • misioooomisioooo Posts: 12
    Hi. Thanks for reply.
    Yes, i have uploaded IR files to DVX device (added them in NSX to workspace and mapped to defined devices).

    I have also sent question to tech support, but no reply so far...
  • misioooomisioooo Posts: 12
    Solved...
    Not easy to say this, but... i was so stupid. 100% my fault and stupid mistake in code ;)
    Instead of "button" [dvPANEL,CHANNEL] i used [dvIR_PORT,CHANNEL] (so i wanted to create event when button X was pressed on IR_PORT ;P )
  • ericmedleyericmedley Posts: 4,177
    I'm usually glad when it's my fault. I can fix it when it's my fault. :)
Sign In or Register to comment.