Jump to content

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


RogerH
 Share

Recommended Posts

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
Link to comment
Share on other sites

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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