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.