"Activating" IR port on NI2100
misioooo
Posts: 12
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:
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:
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.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]
}
0
Comments
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...
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.
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...
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 )