@Corjan , When I posted that some datarefs do not work, that is not entirely true.
This code with the "sim/cockpit2/engine/indicators/CHT_CYL_deg_C","FLOAT[192]" on top.
Code: Select all
xpl_dataref_subscribe("sim/cockpit2/engine/indicators/CHT_CYL_deg_C","FLOAT[192]",
"sim/cockpit2/engine/indicators/CHT_deg_C","FLOAT[16]",
"sim/flightmodel/engine/ENGN_CHT","FLOAT[16]",
"sim/flightmodel/engine/ENGN_CHT_c","FLOAT[16]",function(cht1,cht2,cht3,cht4)
end)
But this code with the "sim/cockpit2/engine/indicators/CHT_CYL_deg_C","FLOAT[192]" at the bottom.
Code: Select all
xpl_dataref_subscribe("sim/cockpit2/engine/indicators/CHT_deg_C","FLOAT[16]",
"sim/flightmodel/engine/ENGN_CHT","FLOAT[16]",
"sim/flightmodel/engine/ENGN_CHT_c","FLOAT[16]",
"sim/cockpit2/engine/indicators/CHT_CYL_deg_C","FLOAT[192]",function(cht1,cht2,cht3,cht4)
end)
Keith