Help needed: Airlite & Cartwall

You have a question or need an advice about how to do something? Ask it here!
Post Reply
dotinga00
Posts: 12
Joined: 18 Mar 2014 15:50
Location: Leeuwarden, The netherlands
Help needed: Airlite & Cartwall

Post by dotinga00 »

So, spent several nice hours to discover how to set parameters in proppfexx to control the Led colours..

What i like to do is when pressing on button A1, Cartwall 1 is running, the Led turns red. When (only) this cartwall ends, the led has to go back to green..

I found out that when i program the GPIO client:
EXEC_COMMAND2 ${cw1cart1trackname}|NOT(Equals())|EXEC_SEND_DRAIRLITE_SETLED 1|2
the first Led turns green. So i did this for all 16 leds. Nice green start :-).

When i press the A1 button the GPIO client does :
CW1_PLAY_CART_1
EXEC_COMMAND2 ${cw1cart1trackname}|NOT(Equals())|EXEC_SEND_DRAIRLITE_SETLED 1|1
Works like a charm, PF plays the 1th cartwall, Led tuns green and the entry will be played. So far so good.

But i can't find a way to put only this entry back to green after it has finished... In PF itself, i go to the Events/commands, cartwall.
EXEC_COMMAND2 CW1_CART_ISPLAYING 1|Equals(1)|EXEC_SEND_DRAIRLITE_SETLED 1|2
Tried a lot but i can't solve this.....

regards,

Marcel
User avatar
radio42
Site Admin
Posts: 8348
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Help needed: Airlite & Cartwall

Post by radio42 »

The are a couple of articles, which describe several solutions to exactly your issue.
Please see here:
https://www.proppfrexx.radio42.com/foru ... hp?p=14904

and here:
https://www.proppfrexx.radio42.com/foru ... php?t=2534

Let me know, if this helped you.

Post Reply