Cardwall / D&R Airlite

You have a question or need an advice about how to do something? Ask it here!
franksiegers
Posts: 122
Joined: 15 Nov 2019 14:24
Re: Cardwall / D&R Airlite

Post by franksiegers »

It's working here as well. I've downloaded the beta and changed the OnCartSelected.

Everything is working well now. Thank alot Bernd, great service!

Will this be added to the default release as well (can I install normal versions or should I stay on beta only?).

Cheers,

Frank
User avatar
Michel67
Posts: 166
Joined: 28 Nov 2016 19:53
Re: Cardwall / D&R Airlite

Post by Michel67 »

works again
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Cardwall / D&R Airlite

Post by radio42 »

Yes, this be part of the next regular version, so you can safely use the BETA.
henkieturbo
Posts: 24
Joined: 16 Dec 2019 09:30
Re: Cardwall / D&R Airlite

Post by henkieturbo »

radio42 wrote: 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.
Thanks for your help !!
Regards Henk
franksiegers
Posts: 122
Joined: 15 Nov 2019 14:24
Re: Cardwall / D&R Airlite

Post by franksiegers »

Hi Bernd,

Would this be possible with 2 cartwalls as well? PFOA could play from the cartwall that was last selected?
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Cardwall / D&R Airlite

Post by radio42 »

What should be possible?

Both cartwalls exist side by side in parallel, so there is no single selected cartwall.
franksiegers
Posts: 122
Joined: 15 Nov 2019 14:24
Re: Cardwall / D&R Airlite

Post by franksiegers »

I guess it could be one of two scenario's:

1. Only one cartwall would be active: Selecting a cart in cartwall II would 'disable' cartwall I.
2. One cart would be active between cartwalls: When selecting cart 3 in cartwall II, cart 3 in cartwall I would automatically be deselected.

With scenario 2 it would be possible by CTRL-click, to select carts in both cartwall I and II and to 'arm' them so they would be available on the airlite.

Hope this makes sense.

Regards,

Frank
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Cardwall / D&R Airlite

Post by radio42 »

Ahh, so you would like to operate with your D&R buttons the 2 cartwalls in parallel?!
I am afraid, that this is not really possible.
But I’ll look into it what would be possible maybe in the future...
franksiegers
Posts: 122
Joined: 15 Nov 2019 14:24
Re: Cardwall / D&R Airlite

Post by franksiegers »

Great, thanks!

Post Reply