MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

Go to page 1Go to page 012Go to page 2Go to page 2
Avatar
asessa
From: Salerno, Italy
Posts: 88
Hi, in MF app i have various error message : "Problem with trasform. An error occurred on parsing your value formula. Please review and correct any errors".

But i don't see any reference at which formula it refer... how can know it?
A320HC MSFS
2022-04-15 12:54
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

Normaly this should be shown with a Red "!" in the specific Config Line.
If not mostly MF fully Stop ( Crash)
Then you know the problematic Config cause all Output Lines that work have already a Value in the Right Collumns ( FSUIPC Value, Output Value)
On a point this Values are not longer shown ( The moment of Crash)
Normaly the last Config that include Values or the next below is the critical one.

Another attempt.... Disable all Configs....
Then RUN MF and enable once by once until the issue Warning comes. Then you know it also!

If needed..... Like always! Join Discord. I can have a look on it via shared screen.
Good Luck !
2022-04-15 16:45
Avatar
asessa
From: Salerno, Italy
Posts: 88
iconpizman82:

Hi

Normaly this should be shown with a Red "!" in the specific Config Line.
If not mostly MF fully Stop ( Crash)
Then you know the problematic Config cause all Output Lines that work have already a Value in the Right Collumns ( FSUIPC Value, Output Value)
On a point this Values are not longer shown ( The moment of Crash)
Normaly the last Config that include Values or the next below is the critical one.

Another attempt.... Disable all Configs....
Then RUN MF and enable once by once until the issue Warning comes. Then you know it also!

If needed..... Like always! Join Discord. I can have a look on it via shared screen.



Hi Pizman, thank you for response..
MF doesn't crash, fortunately.
I'll check if i have the ! symbol in the specific config line (do you meen in MF Output section, right?)
A320HC MSFS
2022-04-20 09:17
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
iconasessa:

I'll check if i have the ! symbol in the specific config line (do you meen in MF Output section, right?)



Yes!

As i said... Try to check this.
If it not work, contact me on discord. With a sheared screen i can check the config within some minutes and can solve the problem !
Good Luck !
2022-04-20 12:41
Avatar
asessa
From: Salerno, Italy
Posts: 88
iconpizman82:

iconasessa:

I'll check if i have the ! symbol in the specific config line (do you meen in MF Output section, right?)



Yes!

As i said... Try to check this.
If it not work, contact me on discord. With a sheared screen i can check the config within some minutes and can solve the problem !



Ok i will check and report ;)
A320HC MSFS
2022-04-21 12:29
Avatar
asessa
From: Salerno, Italy
Posts: 88
Hi pizman, i have only "precondition is not satisfied" warning, nothing about error logged

A320HC MSFS
2022-04-25 11:17
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
As i said....
From Screenshot i can not figure this out. Only with a shared screen on Discord or when you do the checks i would do there.

The Symbol is "missed Precondition" ( Mouse Over). But the exact SAME Symbol is also used for parsing error . ( We know thats bad.... Its already in the feature request list).
So if you mousover all "Red !" i expect one or more are not "Precondition" they show e.g. "parsing Error."
And here we are !
Good Luck !
2022-04-25 11:52
Avatar
asessa
From: Salerno, Italy
Posts: 88
iconpizman82:

As i said....
From Screenshot i can not figure this out. Only with a shared screen on Discord or when you do the checks i would do there.

The Symbol is "missed Precondition" ( Mouse Over). But the exact SAME Symbol is also used for parsing error . ( We know thats bad.... Its already in the feature request list).
So if you mousover all "Red !" i expect one or more are not "Precondition" they show e.g. "parsing Error."
And here we are !



I'll check all the symbol on every lines where it is and all are "precondition not satisfied".
It's difficult to schedule a discord session for me.
Does MF have a log where the error is entered more precisely?

In any case my FCU seems to works well for all functions even if with this errors
A320HC MSFS
2022-04-25 12:01
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Not sure if this is available in the Logging.

With some experience its possible to check simply the Transform and Compare Tabs.... Then i would see the issue pretty sure.

Another idea is to use the "Disbale" Logic.

Simply disable maybe the half of the Output Configs ..... Press STOP and RUN . If Issue still exist it is pretty sure in the other half. If Problem no longer happen it was in the first half you disable at the moment.
Then next step is to again disable the half of the Config Block ( you know from first test where problem is) ..... Same idea....
By this technic you not need to check every single config.... You simply reduce number of Configs from 100% to 50% to 25% with just 2 Testruns and some clicks on the disable Button.

At the end if you know the problematic config you check the syntax there.
Good Luck !
2022-04-25 13:59
Avatar
asessa
From: Salerno, Italy
Posts: 88
iconpizman82:

Not sure if this is available in the Logging.

With some experience its possible to check simply the Transform and Compare Tabs.... Then i would see the issue pretty sure.

Another idea is to use the "Disbale" Logic.

Simply disable maybe the half of the Output Configs ..... Press STOP and RUN . If Issue still exist it is pretty sure in the other half. If Problem no longer happen it was in the first half you disable at the moment.
Then next step is to again disable the half of the Config Block ( you know from first test where problem is) ..... Same idea....
By this technic you not need to check every single config.... You simply reduce number of Configs from 100% to 50% to 25% with just 2 Testruns and some clicks on the disable Button.

At the end if you know the problematic config you check the syntax there.



Ok, your debug logic idea is clear.
I will try.

Thanks
A320HC MSFS
2022-04-26 11:46
Avatar
asessa
From: Salerno, Italy
Posts: 88
Finally with the last version i can see what formulas are in error!

Error 08/05/2022 12:33:59 Transform error (Speed Dot): An error occurred on parsing your value formula. Please review and correct any errors.
Error 08/05/2022 12:33:59 Transform error (Display is On): An error occurred on parsing your value formula. Please review and correct any errors.
Error 08/05/2022 12:33:59 Transform error (FCU Display Brightness (LEDs)): An error occurred on parsing your value formula. Please review and correct any errors.
Error 08/05/2022 12:33:59 Transform error (Heading Dot): An error occurred on parsing your value formula. Please review and correct any errors.
Error 08/05/2022 12:33:59 Transform error (LEDs HDG Mode): An error occurred on parsing your value formula. Please review and correct any errors.
Error 08/05/2022 12:33:59 Transform error (LEDs TRK Mode): An error occurred on parsing your value formula. Please review and correct any errors.
Error 08/05/2022 12:33:59 Transform error (LED LAT): An error occurred on parsing your value formula. Please review and correct any errors.
Error 08/05/2022 12:33:59 Transform error (Altitude is Managed): An error occurred on parsing your value formula. Please review and correct any errors.
Error 08/05/2022 12:33:59 Transform error (Speed Dot): An error occurred on parsing your value formula. Please review and correct any errors.
Error 08/05/2022 12:33:59 Transform error (Altitude is Managed): An error occurred on parsing your value formula. Please review and correct any errors.
A320HC MSFS
2022-05-08 13:59
Avatar
asessa
From: Salerno, Italy
Posts: 88
Hi pizman82 , here the expressions i get error.
Can you help me?

Error 09/05/2022 15:53:41 Transform error (Speed Dot): An error occurred on parsing your value formula. Please review and correct any errors.
<transformation active="True" expression="if(#=1, if(A=0, 1, $), 0)" substrStart="0" substrEnd="7" />

Error 09/05/2022 15:53:41 Transform error (Display is On): An error occurred on parsing your value formula. Please review and correct any errors.
<transformation active="True" expression="if(#!=0 && @!=0, 1, 0)" substrStart="0" substrEnd="7" />

Error 09/05/2022 15:53:41 Transform error (FCU Display Brightness (LEDs)): An error occurred on parsing your value formula. Please review and correct any errors.
<transformation active="True" expression="if(#=1, $, 0)" substrStart="0" substrEnd="7" />

Error 09/05/2022 15:53:41 Transform error (Heading Dot): An error occurred on parsing your value formula. Please review and correct any errors.
<transformation active="True" expression="if(#=1, if(A=0, 1, $), 0)" substrStart="0" substrEnd="7" />

Error 09/05/2022 15:53:41 Transform error (LEDs HDG Mode): An error occurred on parsing your value formula. Please review and correct any errors.
<transformation active="True" expression="if(#=1 && ($=0 || A=0), 1, 0)" substrStart="0" substrEnd="7" />

Error 09/05/2022 15:53:41 Transform error (LEDs TRK Mode): An error occurred on parsing your value formula. Please review and correct any errors.
<transformation active="True" expression="if(#=1 && ($=1 || A=0), 1, 0)" substrStart="0" substrEnd="7" />

Error 09/05/2022 15:53:41 Transform error (LED LAT): An error occurred on parsing your value formula. Please review and correct any errors.
<transformation active="True" expression="#" substrStart="0" substrEnd="7" />

Error 09/05/2022 15:53:41 Transform error (Altitude is Managed): An error occurred on parsing your value formula. Please review and correct any errors.
<transformation active="True" expression="if(#=0 && A=1, 1, $)" substrStart="0" substrEnd="7" />

Error 09/05/2022 15:53:41 Transform error (Speed Dot): An error occurred on parsing your value formula. Please review and correct any errors.
<transformation active="True" expression="if(#=1, if(A=0, 1, $), 0)" substrStart="0" substrEnd="7" />
A320HC MSFS
2022-05-09 17:17
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

Looks like you get more then one issue :-)

At first.... please confirm you not use spaces !!
(Not sure if those come from Copy Text to Forum or if you really got them in the transform code! )

e.g.
iconasessa:


Error 09/05/2022 15:53:41 Transform error (Speed Dot): An error occurred on parsing your value formula. Please review and correct any errors.
<transformation active="True" expression="if(#=1, if(A=0, 1, $), 0)" substrStart="0" substrEnd="7" />


NOT ... if(#=1, if(A=0, 1, $), 0) ..... You need : if(#=1,if(A=0,1,$),0)

I can not see the whole thematic... So if there are also other issues..... But definitly using spaces is wrong!
Good Luck !
2022-05-09 23:03
Avatar
asessa
From: Salerno, Italy
Posts: 88
iconpizman82:

Hi

Looks like you get more then one issue :-)

At first.... please confirm you not use spaces !!
(Not sure if those come from Copy Text to Forum or if you really got them in the transform code! )

e.g.

iconasessa:


Error 09/05/2022 15:53:41 Transform error (Speed Dot): An error occurred on parsing your value formula. Please review and correct any errors.
<transformation active="True" expression="if(#=1, if(A=0, 1, $), 0)" substrStart="0" substrEnd="7" />


NOT ... if(#=1, if(A=0, 1, $), 0) ..... You need : if(#=1,if(A=0,1,$),0)

I can not see the whole thematic... So if there are also other issues..... But definitly using spaces is wrong!



Ok i will check all.
Are Also this without spaces "if(#=1&&($=0||A=0),1,0)" ?
A320HC MSFS
2022-05-10 01:01
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
mmmhhh.

The rule "no spaces" is basic. a Space in a formula syntax is always a bad idea....

About your syntax: "if(#=1&&($=0||A=0),1,0)
Here i´m not sure and need to test myself....
If i remember right there is a Case by case Logic. So "maybe" your syntax is not correct.

You expect: If # is not 1 then it must be always "0" .... If #=1 AND One of $ or A = 0 then "1".
Maybe yoúr syntax work.... In Precondtion it will not work in case we have no brackets there.

i would use.... if(#=0,0,if($=0||A=0,1,0))
Means.... If #=0 then result is always "0" and statement is over.... If Not (#=1) then we check if $ or A = 0 .... If one of both is 0 then 1 else 0 .
(Remember the second Check is only done if #=1 )

So you avoid the the internal logic in case you make a more cleare statement.
AGAIN: Maybe your code do the same..... I never test it myself !
Good Luck !
2022-05-10 03:08
Go to page 1Go to page 012Go to page 2Go to page 2