Cardwall / D&R Airlite

You have a question or need an advice about how to do something? Ask it here!
franksiegers
Posts: 81
Joined: 15 Nov 2019 14:24

Re: Cardwall / D&R Airlite

Post by franksiegers » 27 Apr 2020 09:46

Hi Henk,

This is what I tried:

https://imgur.com/a/YrYz843

But like I said: The wrong button on the Airlite lights up. Hopefully we can get that fixed.

Greets,

Frank

henkieturbo
Posts: 11
Joined: 16 Dec 2019 09:30

Re: Cardwall / D&R Airlite

Post by henkieturbo » 27 Apr 2020 13:52

Hoi Frank,

Als je de vert instelling op 1 zet volgt die netjes de selectie in PFOA naar je Airlite
Alleen zet die de Led van de overige knoppen uit
heb jij nog een idee hoe je deze aan laat staan


Hi Frank,

If you set the vert setting to 1, it neatly follows the selection in PFOA to your Airlite
Only it turns off the LED of the other buttons
do you have an idea how to leave it on

henkieturbo
Posts: 11
Joined: 16 Dec 2019 09:30

Re: Cardwall / D&R Airlite

Post by henkieturbo » 27 Apr 2020 14:10

radio42 wrote:
26 Apr 2020 11:21
Oh sorry, I thought this is clear, as all cartwall events are located in the general settings, section Events/Commands and in the event tree, see the 'Cartwall' node. There you'll find an OnCartwall1/2Selected event - I assumed, that this is known resp. you could find it yourself!

Note, that this event is triggered for ALL carts whenever a selection of a cart in the cartwall is changed!
E.g. when you have 20 carts in your cartwall and change the selection, 20 events will be raised (for each cart individually).
You can use the macros ${cartid} and ${cartisselected} to determine its selection state (1=selected; 0=unselected).
Note, that you can select multiple carts!
Example for testing:

Code: Select all

SHOW_ALERT_WINDOW ${cartid}|${cartisselected}
Probably you might use the following command to set the LED with the OnCartwall1Selected event:

Code: Select all

EXEC_SEND_DRAIRENCE_SETLED *[TOINT:{${cartid}}:{vert}:{8}]|${cartisselected}
Hi Bernd,

If I set the vert setting to 1, it neatly follows the selection in PFOA to the Airlite mixer
THIS WORKS YES !!
Only it turns off the green LED of all the other buttons on my mixer
do you have an idea how to leave them on when a card is selected
Naamloos1.png

User avatar
radio42
Site Admin
Posts: 6376
Joined: 05 Apr 2012 16:26

Re: Cardwall / D&R Airlite

Post by radio42 » 27 Apr 2020 14:21

The specific mapping you indicated in not what the ‚vert‘ function doing.
I’ll enhance the macro function with an additional mapping which also matches yours and post an update later today!

franksiegers
Posts: 81
Joined: 15 Nov 2019 14:24

Re: Cardwall / D&R Airlite

Post by franksiegers » 28 Apr 2020 18:10

Hi Bernd,

Can I find this update somewhere or did you not have to time to finish it yet?

Thanks,

Frank

User avatar
radio42
Site Admin
Posts: 6376
Joined: 05 Apr 2012 16:26

Re: Cardwall / D&R Airlite

Post by radio42 » 28 Apr 2020 18:13

It’s delayed, I’ll post it today in the evening...

franksiegers
Posts: 81
Joined: 15 Nov 2019 14:24

Re: Cardwall / D&R Airlite

Post by franksiegers » 28 Apr 2020 18:16

Awesome, thanks!

User avatar
radio42
Site Admin
Posts: 6376
Joined: 05 Apr 2012 16:26

Re: Cardwall / D&R Airlite

Post by radio42 » 28 Apr 2020 23:48

A new v4.1.5.14-Beta is available which adds the new *[TOINT] macro function parameters.
Use the "Check for Beta-Version..." menu under the blue question mark icon at the very top right to update.

In you case you can try:

Code: Select all

EXEC_SEND_DRAIRENCE_SETLED *[TOINT:{${cartid}}:{vert}:{2}:{8}]|${cartisselected}
or

Code: Select all

EXEC_SEND_DRAIRENCE_SETLED *[TOINT:{${cartid}}:{horz}:{8}:{2}]|${cartisselected}
TOINT (converts a numeric value to an integer):
Returns a new string by converting a num value.

Syntax:
*[TOINT:{num}:{conv}:{p1}:{p2}]

Parameters:
{num} the original numeric value to format
{conv} the conversion function name to apply to the num
‘round’ : rounds num to the nearest integral value
p1: not used
p2: not used (can be omitted)
‘add’ : adds a value to num
p1: the value to add (e.g. 5)
p2: not used (can be omitted)
‘multi’ : multiplies a value to num
p1: the value to multiply (e.g. 2.0)
p2: not used (can be omitted)
‘div’ : devides num by a value
p1: the divisor (e.g. 2.0)
p2: not used (can be omitted)
‘mod’ : reminder after division; num = num % p1
p1: the divisor (e.g. 2.0)
p2: not used (can be omitted)
‘odd’ : makes the num value odd; num = (num * p1) - 1
p1: the value to multiply (e.g. 2)
p2: not used (can be omitted)
‘even’ : makes the num value even; num = (num / p1) + 1
p1: the value to divide (e.g. 2)
p2: not used (can be omitted)
‘vert’ : arranges the num value vertical (in p2 columns)
p1: the number of vertical rows (e.g. 8)
p2: not used (if omitted, defaults to 2)
‘horz’ : arranges the num value horizontal (in p2 columns)
p1: the number of vertical rows (e.g. 8)
p2: not used (if omitted, defaults to 2)
‘none’ : uses num unmodified
p1: not used
{p1} see the above notes for the conv parameter
{p2} optional, can be omitted, see the above notes for the conv parameter

Example 1:
*[TOINT:{${cartid}}:{add}:{7.0}]
Will result to:
8 assuming the macro ${cartid} will resolve to 1.

Example 2:
*[TOINT:{${cartid}}:{vert}:{8}:{2}]
Will result to:
9 assuming the macro ${cartid} will resolve to 2.

Example 3:
*[TOINT:{${cartid}}:{vert}:{2}:{8}]
Will result to:
2 assuming the macro ${cartid} will resolve to 9.

User avatar
Michel67
Posts: 137
Joined: 28 Nov 2016 19:53

Re: Cardwall / D&R Airlite

Post by Michel67 » 29 Apr 2020 05:31

"Check for Beta-Version failed! Could not connect te the radio42 server"

this is since a the last update

User avatar
radio42
Site Admin
Posts: 6376
Joined: 05 Apr 2012 16:26

Re: Cardwall / D&R Airlite

Post by radio42 » 29 Apr 2020 08:20

Can you please retry - maybe a temp. server issue somewhere.
I just tried it and it seems to be working fine now again.

Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests