#i cant change my vhf voulme the right dataref is from 0-1 and my poti goes from 13 to 1023
1 messages · Page 1 of 1 (latest)
i cant change my vhf voulme the right dataref is from 0-1 and my poti goes from 13 to 1023 what do i have to do to get that working
Try this formula
(@-13)/1010
working thanks
but when the poti is on the center its just starting at 0.1 and the poti already is on 90
I would suspect your poti is not linear but logarithmic. Is it a standard B10K poti or something else?
Do the extreme positions behave correctly, but middle region is too low?
no it works normaly from 13-1023 but it starts the dataref at 90 from the poti
I don't understand what you say. It starts the data ref at 0.9 and goes to 1.0 as you increase the poti?
no the dataref is from 0.1 to 1 so when i turn the poti to 15 or so it not doing anything with the dataref
The formula is for a poti range of 13 to 1023. Is this correct?
yes
Fully to the left Mobiflight reads 13 and fully to the right it reads 1023. Is this correct?
yes thats correct
Help me understand this
What is 90?
when the poti is at 90 then mobiflight sends somthing to the dataref but below 90 not
maybe have time for a call with screen share
90 is the poti reading received by Mobiflight?
yes
From 13 to 90 nothing happens?
OK and what happens after 90? BTW, 90 would correspond to a movement of only 0.08 on the Sim scale.
Maybe the Sim moves in discrete 0.1 steps.
yes is start moving when the poti in mobiflight say 90
In a linear poti 90 should be achieved at 8% turn or only about 20 degrees
We can recalculate to ignore the first 90 units
yea that would be good
will do
Max((@-90)/933, 0)
still the same
Is the minimum reading in the Sim 0 or 0.1?
0.1 is min
Ahh
and max 1
The math goes 0 to 1
works now thanks