Jump to content

Autothrottle mode dataref ( and roll mode and pitch mode) SOLVED!!


Recommended Posts

Posted (edited)

SOLVED - the values are "INT", not "FLOAT"!! doh.

 

 

Hi all, I'm trying to read the dataref

ixeg/733/RA/AFDS/autothrottle_mode

But although I can see in dataref tool it has a value other than 0, all I'm getting into my Air Manager program is a zero.

My Air Manager code is:

function AT_callback(mode)
print(mode)
end

xpl_dataref_subscribe("ixeg/733/RA/AFDS/autothrottle_mode", "FLOAT", AT_callback)

If i substitute a different dataref, I get a result, but with the autothrottle mode dataref I just get a zero.

I also get no response from the roll_mode and pitch_mode datarefs.

I want to use these datarefs to drive a set of annunciators for the various modes with my cockpit - am I missing something, or do these datarefs behave differently?

many thanks,

Roger.

Edited by RogerH
  • Like 1
  • RogerH changed the title to Autothrottle mode dataref ( and roll mode and pitch mode) SOLVED!!

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...