Giter Site home page Giter Site logo

Comments (13)

charliefoxtwo avatar charliefoxtwo commented on July 23, 2024

@jdahlblom I don't own the harrier - could you take a look at this one?

from dcs-bios.

jdahlblom avatar jdahlblom commented on July 23, 2024

Yup

from dcs-bios.

jdahlblom avatar jdahlblom commented on July 23, 2024

Yes it isn't showing the information. I managed to get the cockpit ODU to show information by pressing TACAN.
This is then picked up by dcs-insight:

-----------------------------------------
ODU_DISPLAY

-----------------------------------------
ODU_Option_1_Text
T/R
-----------------------------------------
ODU_Option_2_Text
RCV
-----------------------------------------
ODU_Option_3_Text
A/A
-----------------------------------------
ODU_Option_4_Text
X
-----------------------------------------
ODU_Option_5_Text
TONE
"-----------------------------------------\nODU_DISPLAY\n\n-----------------------------------------\nODU_Option_1_Text\nT/R\n-----------------------------------------\nODU_Option_2_Text\nRCV\n-----------------------------------------\nODU_Option_3_Text\nA/A\n-----------------------------------------\nODU_Option_4_Text\nX\n-----------------------------------------\nODU_Option_5_Text\nTONE\n" 

This is the line with the \n. I will debug function Module.parse_indication(indicator_id) locally.

from dcs-bios.

jdahlblom avatar jdahlblom commented on July 23, 2024

I get this:


1: 
2: T/R
3: RCV
4: A/A
5: X
6: TONE
0: 6
ODU_Option_2_Text: RCV
ODU_Option_3_Text: A/A
ODU_Option_5_Text: TONE
ODU_DISPLAY: 
ODU_Option_1_Text: T/R
ODU_Option_4_Text: X

But the lua expects this:

ODU_Option_1_TEXT

That is apparently case sensitive. Changing it to ODU_Option_1_Text and it outputs the data.

from dcs-bios.

jdahlblom avatar jdahlblom commented on July 23, 2024

But what are those AV8BNA_ODU_5_SELECT controls? I can't see them in the list_indication.

from dcs-bios.

jdahlblom avatar jdahlblom commented on July 23, 2024

I got ODU_Option_2_Slc to show, seems to work as mentioned.

from dcs-bios.

SimoGiuby avatar SimoGiuby commented on July 23, 2024

Hey Jdahlblom, thank you so much for lookimg into it!
Will there be an updated DCS-BIOS with the fix incorporated? Or how should I change my own LUA file (I wouldn't know where to start to be honest)? (Apologies for the total ignorance!)

The "Select" part of the code was working already, as you found out.

Thank you so much again and congratulations of the great job you guys do!

from dcs-bios.

jdahlblom avatar jdahlblom commented on July 23, 2024

It will be merged shortly.

from dcs-bios.

jdahlblom avatar jdahlblom commented on July 23, 2024

It is merged now so you can download master branch.

from dcs-bios.

jdahlblom avatar jdahlblom commented on July 23, 2024

If this solved your problem you can close this issue.

from dcs-bios.

SimoGiuby avatar SimoGiuby commented on July 23, 2024

I am abroad at the moment, will check as soon as I have access to my laptop and close it. It might take a couple of days though...

Thank you very much again!

from dcs-bios.

SimoGiuby avatar SimoGiuby commented on July 23, 2024

All working correctly, closing this issue now.

Thank you again for your help and your amazing work guys!

from dcs-bios.

jdahlblom avatar jdahlblom commented on July 23, 2024

Your welcome, thanks.

from dcs-bios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.