Using version 1.4r1, macOS Catalina, X-Plane 11.55
I have code to print the HLIS dataref's contents after touchdown when passing 25 knots GS and decelerating:
if (onground_any > 0)
{
if (25.0f > (XPLMGetDataf(flightmodel_groundspeed) * 3.6f / 1.852f))
{
if (delta_acc) // XPLMFindDataRef("CL650/HLIS/delta_acc")
{
log("[info]: landing (detected): CL60 HLIS acc %.3f\n", XPLMGetDataf(delta_acc));
}
}
}
Resulting in:
[info]: landing (detected): CL60 HLIS acc 6.104
Compared to (HLIS button pressed for two seconds later on, i.e. soon after engine shutdown, checked on the display and crosschecked with the CSV log):
HLIS % grep DeltaG HLIS-1.csv
DeltaG,0.622
HLIS %
The difference (6.x vs. 0.6x) seems significant.
Questions:
am I printing the wrong dataref?
is it not a float (seems unlikely)?
do I have to process delta_acc get to DeltaG somewhow?
do I really have to print the dataref even later than I do now?
is there a different issue I'm not aware of?
Regards,
Tim
HLIS-1.csv.zip HLIS.nvram.zip