Page 3 of 3

Re: Cardwall / D&R Airlite

Posted: 29 Apr 2020 13:49
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

Re: Cardwall / D&R Airlite

Posted: 29 Apr 2020 14:38
by Michel67
works again

Re: Cardwall / D&R Airlite

Posted: 29 Apr 2020 16:09
by radio42
Yes, this be part of the next regular version, so you can safely use the BETA.

Re: Cardwall / D&R Airlite

Posted: 29 Apr 2020 18:22
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

Re: Cardwall / D&R Airlite

Posted: 25 May 2020 23:33
by franksiegers
Hi Bernd,

Would this be possible with 2 cartwalls as well? PFOA could play from the cartwall that was last selected?

Re: Cardwall / D&R Airlite

Posted: 26 May 2020 07:20
by radio42
What should be possible?

Both cartwalls exist side by side in parallel, so there is no single selected cartwall.

Re: Cardwall / D&R Airlite

Posted: 26 May 2020 09:02
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

Re: Cardwall / D&R Airlite

Posted: 26 May 2020 15:54
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...

Re: Cardwall / D&R Airlite

Posted: 26 May 2020 16:13
by franksiegers
Great, thanks!