4-digit XCH
HARMAN_icraigie
Posts: 660
in AMX Hardware
'Bout time
... Device Firmware
Dependencies:
* Requires master firmware 3.50.430 or later.
Changes in this Release:
* Fixed issue where serial ports would sometimes drop data.
* Fixed missing button release on MIO-IRRX.
* Fixed issue where serial ports would not receive data.
* Resolved serial port lock ups.
* Fixed some 485 tx/rx problems.
* Support for XCH command for 4 digit channel. New XCH modes 5 & 6 added. These are equivalent to the current modes 1 & 2 except for 4 digit channel numbers.
* Increased speed of I/O detection.
* Added command to enable/disable check for escape sequences in strings being transmitted. Commands are ESCSEQOFF and ESCSEQON. The default behavior is now off (used to be on).
* Fixed IR LED #7.
* Fixed some issues with XCH command.
* Fixed states of IO ports after a reboot.
KIT | 33.11 MB | v. 1.20.7 | 2009-11-06
... Device Firmware
Dependencies:
* Requires master firmware 3.50.430 or later.
Changes in this Release:
* Fixed issue where serial ports would sometimes drop data.
* Fixed missing button release on MIO-IRRX.
* Fixed issue where serial ports would not receive data.
* Resolved serial port lock ups.
* Fixed some 485 tx/rx problems.
* Support for XCH command for 4 digit channel. New XCH modes 5 & 6 added. These are equivalent to the current modes 1 & 2 except for 4 digit channel numbers.
* Increased speed of I/O detection.
* Added command to enable/disable check for escape sequences in strings being transmitted. Commands are ESCSEQOFF and ESCSEQON. The default behavior is now off (used to be on).
* Fixed IR LED #7.
* Fixed some issues with XCH command.
* Fixed states of IO ports after a reboot.
KIT | 33.11 MB | v. 1.20.7 | 2009-11-06
0
Comments
I've just bypassed the whole thing in favor of my own routine. It'll be nice to go back to using it again.
I have firmware 3.50.430 in my master.
What's wrong in my code :
DATA_EVENT [SAT_IR]
{
ONLINE:
{
SEND_COMMAND DATA.DEVICE, "'SET MODE IR'"
SEND_COMMAND DATA.DEVICE, "'CARON'"
SEND_COMMAND DATA.DEVICE, "'CTON',2"
SEND_COMMAND DATA.DEVICE, "'CTOF',2"
SEND_COMMAND DATA.DEVICE, "'XCHM-5'"
}
}
...
BUTTON_EVENT[TP,1804]
{
PUSH:
{
SEND_COMMAND SAT_IR, "'XCH ', ITOA( BUTTON.INPUT.CHANNEL )"
}
}
Thanks!
Hey my device firmware is updated to 1.20.7 but still i am not able to fire. Here is my code below
DATA_EVENT[dvASTVMain]
{
ONLINE:
{
SEND_COMMAND dvASTVMain,'CARON' //Carrier On
SEND_COMMAND dvASTVMain,'SET MODE IR' //mode ir
SEND_COMMAND dvASTVMain,"'CTON',3"
SEND_COMMAND dvASTVMain,"'CTOF',2"
SEND_COMMAND dvASTVMain,"'XCHM-5'"
}
}
BUTTON_EVENT [dvTPASTVMainRmsArray,nASTVMainFavbutton]
{
PUSH:
{
SWITCH(GET_LAST(nASTVMainFavbutton))
{
case 1:
{
SEND_COMMAND dvASTVMain,"'XCH 40'"
}
case 2:
{
SEND_COMMAND dvASTVMain,"'XCH 42'"
}
case 3:
{
SEND_COMMAND dvASTVMain,"'XCHM-5'"
wait 10
SEND_COMMAND dvASTVMain,"'XCH 1589'"
}
case 4:
{
SEND_COMMAND dvASTVMain,"'XCHM-5'"
wait 10
SEND_COMMAND dvASTVMain,"'XCH 1590'"
}
case 5:
{
SEND_COMMAND dvASTVMain,"'XCHM-6'"
wait 10
SEND_COMMAND dvASTVMain,"'XCH 1591'"
}
case 6:
{
SEND_COMMAND dvASTVMain,"'XCHM-6'"
wait 10
SEND_COMMAND dvASTVMain,"'XCH 1592'"
}
case 7:
{
SEND_COMMAND dvASTVMain,"'XCHM 5'"
wait 10
SEND_COMMAND dvASTVMain,"'XCH 1593'"
}
case 8:
{
SEND_COMMAND dvASTVMain,"'XCHM 5'"
wait 10
SEND_COMMAND dvASTVMain,"'XCH 1594'"
}
}
}
}
I had made sure that the master firmware is 3.50.439 then upgraded the device firmware but still no luck
Hey guys,
Could someone post some code samples where they have used 4 digit XCH, also the ir file, if its not too much trouble.
Thanks
Could you send me your function so that i can have a look at it
I am trying to understand why XCH is behaving differently in two different masters. Both masters have the same master and device firmware, same include file for the ir device and the same ir file. But in one, the ir devices gets the command as 0001 and in the other one as 1. What's going on
DATA_EVENT[dvShowBox]
{
ONLINE:
{
SEND_COMMAND dvShowBox,'CARON' //Carrier On
SEND_COMMAND dvShowBox,'SET MODE IR' //mode ir
SEND_COMMAND dvShowBox,"'CTON',3"
SEND_COMMAND dvShowBox,"'CTOF',2"
SEND_COMMAND dvShowBox,"'XCHM 6'"
}
}
BUTTON_EVENT [dvTPArrayShowBox,nOSN1P1Btns]
{
PUSH:
{
SWITCH(GET_LAST(nOSN1P1Btns))
{
case 1:
{
SEND_COMMAND dvShowBox,"'XCH 44'"
}
SEND_COMMAND dvShowBox,"'XCHM-6'"
But somehow even without the dash its working in both the controllers now. I just did a lot of hard power reboots
Hi,
I just updated a site to the current master and device firmware in order to accommodate a new cable channel lineup using four digits. Sending IR from internal ports on the NIs works correctly but none of the NXC-IRS4s work, whether in the master's card cage or in a shell. There are two masters in the system: a NI-2000 and an NI-4100. They're now running 3.60.453 and device 1.30.8.
Before today's update, the XCH command would send digits 2,3,4 of a four digit number. After today's update, the IRS4 cards don't send anything at all for four digit numbers. I can see the command being sent out to the card in Device Notifications so I know it's getting that far. Two and three digit numbers work fine.
I updated one of the cards to 1.0.15 (from 1.00.13) but there is no change. All the other cards are still running 1.00.13. All the IRS4s are either inside the NI-4100 or on its ICSnet bus.
XCHM-0 is the mode being used.
If anyone has any idea how to fix this I would greatly appreciate it.
-Garrett McWilliams
Do the card slots show up in the "Online Tree"? I don't know if this is your problem but there is a known issue with cardslots not coming online every once in a while after a prog upload or reboot. You'll have to do some forum searching to find what the theory is why they don't. I don't recall offhand.
Here's the code I use as a crude fix until this problem is addressed by a firmware update. This is similar to what most folks do that have butted heads with this problem. Just create a .axi and modify as needed and make sure you that CARDSLOTS_NUM_DEVS reflects the number of cards installed and change dvCardSlot_Arry accordingly. Obviously if a card doesn't exist it won't be seen online and the master will get reboooted. You could add virtuals in place of empty slots if you want since virtuals will always come online.