#Unable to modify XPLANE dataref using output config -> Input action (BETA 9.1.7.9)

1 messages · Page 1 of 1 (latest)

bronze jungle
#

Hey there, I am trying to setup my Flap handle potentiometer in the ZIBO mod in xplane. The Pot meter is succesfully read by mobiflight and I've found the dataref to modify in the sim (If i edit it in datareftool it works). But trying to combine the 2 fails to work.

I want to use the modifiers UI to calibrate the handle to the correct detents therefore my config is as follows:

  1. In the input page we read the pot value and store it in a mobiflight variable
  2. On the output page we read the mobiflight variable
  3. We apply the modifiers we need to set the correct range for the handle
  4. We send the new number via a input action to the simulator

So far steps 1-3 have been succesful and looking at mobiflight in the "output value" column it shows the correct number. The problem is step 4. I am unable to set any dataref (I tried multiple). Attached a screenshot of my config. Hope anyone can assist 🙂

bronze jungle
#

I receive the following messages in the debug log

lime wyvern
#

have you tried using $ instead of @???

#

I could be wrong, but I think $ is the one containing all the modifier results.

bronze jungle
#

Yep, Tried it with both. The error above is now gone after restarting mobiflight

#

But still no succesfull step 4

#

Here is my config file. It will be the THROTTLE FLAP HANDLE in output and THROTTLE FLAPS COPY in the input

#

I now got it working with transforms, but it would be nice to have the modifiers working for some of the other pot meters

lime wyvern
bronze jungle
#

Yes it works, It aligns almost with my handle luckily. But the reverse work linearly now, however I have some physical detents that are not corresponding with the detents in the sim

lime wyvern
#

ok, but I have to conclude it is not an issue anymore, as you know how to solve it, right?

bronze jungle
#

Yeah I have a workaround, but I still believe it is not intended behaviour that it is not possible to set the datarefs using the input action in output items

lime wyvern
#

if that is what you mean.

#

Output driven input events was introduced in order to be able to take sim conditions and turn them into Mobiflight actions.

#

this is the only current way to interpolate/shape your analog input response.

#

Without the output driven input facility, you would need to do all the interpolation math as a transform formula, which is way way more tedious.