- changed status to open
PFD error when executing FPLN
Issue #5
closed
The error message pop-ups after immediately after executing the FPLN from the FMS, entering just a departure, arrival and a single VIA waypoint. When I click the execute button the PFD (which is set to FMS) goes blank and that error message appears.
Environment:
Clean install of aircraft with 2.1.1.a scripts added
Comments (7)
-
repo owner -
repo owner Checking for the existence of the "curr_wpt"
if curr_wpt ~= 0 then
instead of the number entries of the temp flight plan
if #fmc_wpt_data >= 2 then
fixes the issue.
-
repo owner - changed status to resolved
fixes issue
#5→ <<cset 33bde00409ca>>
-
repo owner @jfearing Please download and test the new scripts fixing this issue, and report back to close it and publish the fix. https://www.dropbox.com/s/r3fl82n6lf2pbo5/scripts.zip?dl=0
-
repo owner -
assigned issue to
-
assigned issue to
-
reporter Confirmed resolved. Or rather, no error. Steps performed:
- Power on aircraft (battery)
- Complete engine startup procedure
- Both generators on
- Avionics on (wait for boot)
- Toggle PFD navigation mode to FMS
- Open FMS
- Input departure ICAO, arrival ICAO and an intermediate fix/waypoint then click EXEC
No error(s)
-
repo owner - changed status to closed
- Log in to comment
The error is because the code is trying to get the next waypoint's flight plan altitude, while there are some wpts in the memory (fmc_wpt_data table), but the curr_wpt does not exists yet (requires a minimum departure entry).