Blinking cardwall buttons D&R Airence
Posted: 15 Feb 2023 09:28
For my D&R Airlite, with the help of Bernd, I got the 16 buttons flashing when playing a jingle from the cardwall.
Row A 1-8 linked to Cardwall 1 and Row B 1-8 linked to Cardwall 2.
I did this with these commands:
Cartwall.I: OnCartwallChanged
EXEC_SEND_DRAIRLITE_SETLED 1|2
Cartwall.I: OnCartPlay
EXEC_COMMAND2 ${cartid}|Equals(1)|EXEC_SEND_DRAIRLITE_SETLEDBLINK ${cartid}|2|0|1
Cartwall.I: OnCartPause
EXEC_COMMAND2 ${cartid}|Equals(1)|EXEC_SEND_DRAIRLITE_SETLED ${cartid}|2
Cartwall.II: OnCartPlay:
EXEC_COMMAND2 ${cartid}|Equals(1)|EXEC_SEND_DRAIRLITE_SETLEDBLINK *[TOINT:{${cartid}}:{add}:{8}]|2|0|1
Cartwall.II: OnCartwallChanged:
EXEC_SEND_DRAIRLITE_SETLED 9|2
Cartwall.II: OnCartPause:
EXEC_COMMAND2 ${cartid}|Equals(1)|EXEC_SEND_DRAIRLITE_SETLED *[TOINT:{${cartid}}:{add}:{8}]|2
I have set these codes per button because I have some of the buttons green and some red.
Now I want to do the same with a radio colleague who has an Airence. I assumed this would work the same way, but the wrong button flashes every time. It probably has to do with the IDs of the buttons. At the Airlite the numbering is from A1-8 and number further at B1 with number 9. At the Airence is B1 2 and A2 3, B2 4 ect. But even if I keep that numbering, I can't manage to flash everything in the right way. Each time the wrong one blinks. The idea is that the playing card will flash green. Cardwall 1 has 8 jingles which is linked to A 1-8 and Cardwall 2 also has 8 jingles and is linked to B 1-8. Contrary to what I did with my airlite, there is no need for a combination of red and green, with the airence we want everything green.
Row A 1-8 linked to Cardwall 1 and Row B 1-8 linked to Cardwall 2.
I did this with these commands:
Cartwall.I: OnCartwallChanged
EXEC_SEND_DRAIRLITE_SETLED 1|2
Cartwall.I: OnCartPlay
EXEC_COMMAND2 ${cartid}|Equals(1)|EXEC_SEND_DRAIRLITE_SETLEDBLINK ${cartid}|2|0|1
Cartwall.I: OnCartPause
EXEC_COMMAND2 ${cartid}|Equals(1)|EXEC_SEND_DRAIRLITE_SETLED ${cartid}|2
Cartwall.II: OnCartPlay:
EXEC_COMMAND2 ${cartid}|Equals(1)|EXEC_SEND_DRAIRLITE_SETLEDBLINK *[TOINT:{${cartid}}:{add}:{8}]|2|0|1
Cartwall.II: OnCartwallChanged:
EXEC_SEND_DRAIRLITE_SETLED 9|2
Cartwall.II: OnCartPause:
EXEC_COMMAND2 ${cartid}|Equals(1)|EXEC_SEND_DRAIRLITE_SETLED *[TOINT:{${cartid}}:{add}:{8}]|2
I have set these codes per button because I have some of the buttons green and some red.
Now I want to do the same with a radio colleague who has an Airence. I assumed this would work the same way, but the wrong button flashes every time. It probably has to do with the IDs of the buttons. At the Airlite the numbering is from A1-8 and number further at B1 with number 9. At the Airence is B1 2 and A2 3, B2 4 ect. But even if I keep that numbering, I can't manage to flash everything in the right way. Each time the wrong one blinks. The idea is that the playing card will flash green. Cardwall 1 has 8 jingles which is linked to A 1-8 and Cardwall 2 also has 8 jingles and is linked to B 1-8. Contrary to what I did with my airlite, there is no need for a combination of red and green, with the airence we want everything green.