Jump to content
The simFlight Network Forums

Airbuspilot

Members
  • Posts

    128
  • Joined

  • Last visited

Posts posted by Airbuspilot

  1. 6 hours ago, John Dowson said:

    Could you explain what you are trying to achieve? Which aircraft and what function?

    It is the FBW A32NX. I want to set the Light Potetiometer:86 to a Value of 25. This is the Setting for the Overhead Integ Light.

     

    6 hours ago, John Dowson said:

    Have you looked to see if there is already a preset available?

    I have seen this in some Threads, but i don't know exactly, what it means.

  2. Okay, i didn't know, that my wished Features are that much to do for you.
    So i will further use the SPAD.next for my Work with Lvars. There is everything in one Place without the Hassle of investigating Log Files or editing Values in a tiny Window. You don't have the Time and if there are no other Users finding my Wishes helpful, please forget my Ask.
    Thanks for the Help in this Thread, that could be marked as solved.

    Joachim

     

  3. On 8/22/2023 at 10:32 AM, John Dowson said:

    Sorry, but what do you mean by this?

    In the Facilities of the WASM, reachable over the FSUIPC Add-ons Menu, i.E. the Lvar List. should be a dark Background and a white/yellow Foreground. Also a bigger Font in the Whole FSUIPC UI and of Course in the WASM Panels would be highly appreciated. In all the Lvars Functions in the WASM should be a Search Function for Lvar Names or Fragments of them. In my Opinion, all those Changes will raise the Usability of the whole FSUIPC Experience.

    I know, that Developers couldn't realize any Wish of one or some more Users. But maybe you see a Chance, to realize it.
    If you need further Informations, please let me know.

    Joachim  

  4. Sorry, i have to deeply apologize.
    I found the Solution by my self. In the Code, i didn't pay Attention to the Capitals in Lvar Names.
    When writing them in the correct Way, everything works fine.
    Thank you very much for your attempts to help.

    BTW: If possible, i avoid to use the WASM. Whether the Client nor the FSUIPC Functions.
    I have a serious Eye Sickness and i need a dark Background with white/yellow Foreground.
    Also i need a bigger Font. So i prefer to use the SPAD.next and therefore i am not so familiar with the WASM.

    Is there any Chance, to get this in the WASM too?

    Joachim

  5. Used the new FSUIPC7.exe File.
    What i see in the WASMIF.log is, that the LVar exists with a Value of 0 before and after starting the small FlightLog.lua.
    In the FSUIPC7.log is to see that the Line of Code will be executed.

    In the Wasm.log i can't see anything, that i could understand.
    I attached all the Files, so that you could take a Look by yourself if you want to.

    Here is a Pic from the lua File. So you can see, whats happening, when the File was executed.
    image.thumb.png.fa5e9f919f18837cf9cce57ea0cf4f03.png

    FSUIPC_WASM.log FSUIPC_WASMIF_after_Start_FlightLog.log FSUIPC_WASMIF_before_Start_FlightLog.log FSUIPC7.log

  6. 22 hours ago, John Dowson said:

    If they are listed like that, then they are just individual lvars as far as FSUIPC is concerned and you can use either method.
    Btw, why are you using the WASMClient? You can do everything this app does directly in FSUIPC using the Add-ons->WASM menu.

    Cheers,

    John

     

    Hey John,

    setting them with the execCalcCode Method works fine in this Case.
    But for Learning Purposes, could you please show the necessary Code to set them with the ipc.writeLvar Method?
    Why i used the Client in this Case i don't know. Normally i use the Functions in the FSUIPC Menu.

    Meanwhile i have another Problem and i hope, you can help me out please.
    If i set the Battery Switch with the Set Lvars in the FSUIPC Menu, the Switch will work like he should work.
    If i use this Code
        ipc.writeLvar("L:XMLVAR_BATTERY_SWITCH_STATE", 1)
    in my Lua Script, nothing happens. Do you have any Hint for me, what i have to do, to get this Code to work?

    Thanks a Lot in Advance
    Joachim

  7. Hi John,
    i will again thank you so much for your valuable Explanation.
    With a deep Look inside the FSUIPC.log, i found the Values to open/close the Doors via ipc.control.

    If i have special Questions regarding a Plane in the Future, i will then state this in the Title.
    Thanks again for your Help.

    Joachim

  8. Hello there,
    i need another Help with the MD11F in MSFS2020.

    There are several SimConnect Variable, to open the Doors. I.E. EXIT OPEN:1
    In the Documentation i found, that is the Offset 0x3367. But i have no Idea, how to use that Offset in a Lua Script for Open/Close the Doors.

    Could anyone please help me out? Thanks a Lot in Advance.


    Joachim

     

  9. Hello,

    i need Help writing a Value to the Offset 0x0B7C. I want to fill the Left Main Tank of the SkySim MD11F.
    After the Start, the Display shows 40488.


    With this Commant, i initialize the Tank. ipc.writeFLT(0x0B7C, 0.00000). The Display shows 0 as expected.
    After the Init, i will fill the Tank, so that the Display in the Overhead shows the correct Value.  
    Therefore i issue this Command. ipc.writeFLT(0x0B7C, 57568.5673). The Display then shows 668423.
    This Value is absolutely wrong. I tried writeSD, writeSW, writeDBL, etc.. But nothing returns a correct Value in the Display.

    I hope, that someone could help me, to issue the correct Command to fill up the Tank.
    Any Help is highly appreciated. Thanks a lot in Advance.

    Greets, Joachim


     

  10. 15 hours ago, Airbuspilot said:

    Hello there an a happy new Year.
    Please excuse, that i come in this Post with my Problem. It is not 100% the same but nearly the same.
    Please let me explain in short Form.

    Software is MSFS2020 newest Version, FSUIPC 7.3.15, WAPI/WASM 0.9.1b and PMDG 737-700.
    I wrote the SDK Broadcast Settings in the 737_Options.ini File.
    I determined the ID_MIN as 69632 and want to set the IRS_DisplaySelector to the Value of 2.
    I also determined that i have to add the Value of 58 to the ID_MIN. I issue an ipc.control(69690, 2) to set the Selector to PPOS.
    I use a lua Script to issue the Command. Unfortunately there is no Reaction of the Switch.
    In fsuipc.ini i entered the lua Script in the LuaFiles Sections as Number 1. Other Files are not listed in there.

    Do you have any Hint for me, what i can do to make my Script gets running?
    Any Hint is highly appreciated.

    Regards, Joachim
     

    This Issue is solved by my self. I've used the wrong Offsets for ipc.control  

  11. Hello there an a happy new Year.
    Please excuse, that i come in this Post with my Problem. It is not 100% the same but nearly the same.
    Please let me explain in short Form.

    Software is MSFS2020 newest Version, FSUIPC 7.3.15, WAPI/WASM 0.9.1b and PMDG 737-700.
    I wrote the SDK Broadcast Settings in the 737_Options.ini File.
    I determined the ID_MIN as 69632 and want to set the IRS_DisplaySelector to the Value of 2.
    I also determined that i have to add the Value of 58 to the ID_MIN. I issue an ipc.control(69690, 2) to set the Selector to PPOS.
    I use a lua Script to issue the Command. Unfortunately there is no Reaction of the Switch.
    In fsuipc.ini i entered the lua Script in the LuaFiles Sections as Number 1. Other Files are not listed in there.

    Do you have any Hint for me, what i can do to make my Script gets running?
    Any Hint is highly appreciated.

    Regards, Joachim
     

  12. Hey there, John has released the new FSUIPC 7.3.10 with the new WASM and WAPI 0.9.0. I installed everything and started the MSFS20.
    Using my Lua File in the FNX A320 V1.0.4.134 will work Errorfree, but nothing reacts in the Bus. It seems, that setting LVars will not work for me, even if the Script runs well on the former Versions of FSUIPC.

    I'll try, to give an Example of one LVar in the Bus.
    Issuing this Command ipc.writeLvar("L:S_OH_ELEC_BAT1", 1) should turn on the Battery 1 in the Bus.
    I can turn on this Battery with the WASM Client without any Problems. But it does'nt work in my Lua File.
    Is there any Hint you can give me? Every try to Help will be highly appreciated. If you need the File or any Log File, please let me know.

    Greets and Thanks in Advance, Joachim

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.