Jump to content

HLIS display vs. dataref value


Rodeo
 Share

Recommended Posts

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

Edited by Rodeo
  • Like 1
Link to comment
Share on other sites

Here is what Toto said:

The datarefs are named:
``CL650/HLIS/delta_acc`` - the recorded peak delta-acceleration in m/s/s
``CL650/HLIS/norm_acc_log[0..120]`` - a running log of the normal acceleration (in m/s/s) received by the HLIS from the IRSes. Entry [0] is the latest data and progressing backwards in time at 40 samples per second. This gets continuously overwritten in flight and stops being updated 3 seconds after landing (at which point the HLIS computes the peak delta-G value).

Edited by Pils
  • Like 1
Link to comment
Share on other sites

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...