#Help with Aggregating

1 messages · Page 1 of 1 (latest)

spare cypress
#

Just need a little help figuring out why this aggregated transform is not working. In the VS mode it doesn't seem to work even though the logic state is correct in the 'VS Display' output. It works fine for ALT though, just not VS and GS. I've likely missed something. Thanks. (MSFS2024, MF BETA 10.4.0.2)

fickle ridge
#

It is doing exactly what you asked. How do you intend for the third Transform not to execute?

#

The value of ~ is 0, so the third Transform sets the value to ' '. It doesn't matter what happened before.

#

The else part on all three Transforms should be '$'

#

The single quotes are intended.

fickle ridge
#

So each Transform either changes the value or passes the previous value to the next Transform.

spare cypress
#

Ok thanks. So conceptually I am doing this wrong. I am wanting to bring three boolean values in as Config Refs that represent three modes . Only one of those modes will ever be 1 or they will all be 0. I want to send a three character string as the output based on which is 1 or a string of three spaces if they are all 0. This string is then brought in to a display output as a config ref to display as a three character field. It's basically a nested if else I'm looking to do but I'm just not too familiar with the structure of the MF interface yet.

fickle ridge
spare cypress
fickle ridge
#

You can make nested if else within one transform but gets complicated. Cascading is simple but needs to consider allowing the selected value to pass through.

fickle ridge
fickle ridge
#

'$' literally gets substituted by the value of $ in single quotes

#

The space should maybe be in the else part of the first Transform.

spare cypress
spare cypress
fickle ridge
#

Yes, try it

#

Three cascading if also should work.