DCS-Skunkworks / dcs-bios

Data export tool for DCS.
https://dcsbios.com/
GNU General Public License v3.0
284 stars 63 forks source link

AH64DBLKII: Wrong value for PLT_EUFD_LINE3 when preset mode active #506

Closed emcek closed 9 months ago

emcek commented 10 months ago

This is what I got in cockpit: image This what DCS-BIOS report:

DEBUG   | AH64DBLKII PLT_EUFD_LINE1  : "LOW ROTOR RPM     |RECTIFIER 2 FAIL  |PRESET TUNE VHF   "
DEBUG   | AH64DBLKII PLT_EUFD_LINE2  : "ENGINE 2 OUT      |GENERATOR 2 FAIL  |!PRESET 1 127.500 "
DEBUG   | AH64DBLKII PLT_EUFD_LINE3  : "ENGINE 1 OUT      |AFT FUEL LOW      $$$$$$$$$$$$$$.000 "
DEBUG   | AH64DBLKII PLT_EUFD_LINE4  : "                  |FORWARD FUEL LOW  | PRESET 3 136.000 "
DEBUG   | AH64DBLKII PLT_EUFD_LINE5  : "                  |                  | PRESET 4 127.000 "
DEBUG   | AH64DBLKII PLT_EUFD_LINE6  : "                                     | PRESET 5 125.000 "
DEBUG   | AH64DBLKII PLT_EUFD_LINE7  : "                                     | PRESET 6 121.000 "
DEBUG   | AH64DBLKII PLT_EUFD_LINE8  : "~<>VHF*  127.500   MAN               | PRESET 7 141.000 "
DEBUG   | AH64DBLKII PLT_EUFD_LINE9  : " ==UHF*  240.000   PRE 2         L2  | PRESET 8 128.000 "
DEBUG   | AH64DBLKII PLT_EUFD_LINE10 : " ==FM1*   30.015   PRE 3    NORM L3  | PRESET 9 130.000 "
DEBUG   | AH64DBLKII PLT_EUFD_LINE11 : " ==FM2*   30.020   PRE 4         L4  | PRESET10 130.000 "
DEBUG   | AH64DBLKII PLT_EUFD_LINE12 : " ==HF *    2.0000A          LOW       |                 "
DEBUG   | AH64DBLKII PLT_EUFD_LINE13 : "                                                        "
DEBUG   | AH64DBLKII PLT_EUFD_LINE14 : "FUEL    0          XPNDR S 1200 A NORM        04:03:20 Z"

BTW: Minor additional issue PLT_EUFD_LINE6 and PLT_EUFD_LINE7 do not have pipe (|) character and PLT_EUFD_LINE12 has extra one.

DCS-BIOS: 0.7.50 (eb0ed557) DCS openbeta: 2.9.2.49940

charliefoxtwo commented 10 months ago

Well this is interesting.

When I initially implemented this, there wasn't a way to tell if the display was in preset mode. Perhaps there is now, and that's related to this? I'll look into it. Thank you for the report!

emcek commented 10 months ago

I know few mount ago it was working ok. Do not remember when it was, there were few Apache update since then. It was look like that back then: Apache PRE mode

charliefoxtwo commented 9 months ago

I was able to reproduce this. As I suspected, ED changed some of the exports. Overall the new ones make a bit more sense so it's probably for the best. Wasn't too difficult to fix - should be merged in the next day or two.

Here's what it looks like now (at least in my tool - I still haven't changed that it exports $$$ for those bar lines)

Main image

Preset image