I kindly ask for help.
I started configuring the ovrh gauges fwd I have already had the opportunity to configure Yaw damper and flaps for the MIP in the past and I have not encountered the problems I am having now for some gauges.
my workflow is this.
example: I start the configuration of SERVO_PL
I identify the two limits and set them PosL 37, PosC 406, PosR 848
then with the Monitor I move the hands to the various positions and register the value of the variations.
ex:
&g_PL_low_val = 0
&g_PL_high_val = 10
&PL_high_val = 115
&PL_low_val = 224
}
C0 = L0 >= 10
C1 = L0 <= 20
IF C0 AND C1
{
&g_PL_low_val = 10
&g_PL_high_val = 20
&PL_high_val = 224
&PL_low_val = 326
}
C0 = L0 >= 200
C1 = L0 <= 300
IF C0 AND C1
{
&g_PL_low_val = 20
&g_PL_high_val = 30
&PL_high_val = 326
&PL_low_val = 424
}
C0 = L0 >= 30
C1 = L0 <= 40
IF C0 AND C1
{
&g_PL_low_val = 30
&g_PL_high_val = 40
&PL_high_val = 424
&PL_low_val = 496
}
C0 = L0 >= 40
C1 = L0 <= 50
IF C0 AND C1
{
&g_PL_low_val = 40
&g_PL_high_val = 50
&PL_high_val = 496
&PL_low_val = 583
}
C0 = L0 >= 50
C1 = L0 <= 60
IF C0 AND C1
{
&g_PL_low_val = 50
&g_PL_high_val = 60
&PL_high_val = 583
&PL_low_val = 680
}
C0 = L0 >= 600
C1 = L0 <= 700
IF C0 AND C1
{
&g_PL_low_val = 60
&g_PL_high_val = 70
&PL_high_val = 680
&PL_low_val = 786
}
C0 = L0 >= 700
C1 = L0 <= 800
IF C0 AND C1
{
&g_PL_low_val = 70
&g_PL_high_val = 80
&PL_high_val = 786
&PL_low_val = 848
save, compiling, load the new file
however the data that I then find on the pmdg are incorrect (DUCT its 20 in game but I find it 30 on the cockpit) Then there are values that are completely meaningless such as SERVO_FT and SERVO_CT
No problem with SERVO_EGT that works good.
I tried to follow this topic
viewtopic.php?p=4187#p4187 but it hasn't given any help for now. Regarding for example the Fuel Temp in the table it is indicated that at -50 C° I should have a SIOC value over 1000, but in my case -50 C° corresponds to the lowest SIOC value or 173
Any help its very appreciated
edit
just to understand if i have understand how the code works
PosL 30, PosC 375, PosR 1023
its the range of the analog indicator
Left value
Middle value
Right value
Var 1532, name g_PL, static, Value 30
the static Value instead?