Jump to content
The simFlight Network Forums

Alhard Horstmann

Members
  • Posts

    170
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Alhard Horstmann

  1. Hi Pete, I tested now the behaviour on a very new Windows an FSX installation. I call it my "virgin" test PC.

    Attached is the complete log file.

    The behaviour of the Beaver is always still opening/closing ONE door only.

    22 hours ago, Pete Dowson said:

    You see from the above how cumbersome using keypresses are, when you could use the FS controls directly. Why on Earth use the keypresses?

    My objectiv  is,  to assign ONE button (individual selected) to toggle Opening/Closing ALL (!) doors.

    In my Simmer group, which I moderate, all want to have this feature.

    As FS Control " TOGGLE_AIRCRAFT_EXIT " is unfortunately not working on my 2 systems, I was looking for an alternative = KEYPRESSES.

     

    PLease check the log file and please tell me also why always the  ATC_MENU_CLOSE function is operated.

    I checked all button assignments in FSX and in FSUIPC, but I can't find any assignment to this function.

    Thanks and best regards

    Alhard

     

    Problem Open Doors FSUIPC4.log

  2. Hi Pete , thanks for your extensive explanations.

    Regarding your activities, don't be forced by my questions to respond shortly and deeply, Just tell me, "I will respond later" . That would be fair.

    I am retired and I have time.

    So now I will use the Event logging for my investigations.

    And yes, I also have some experience with LUA.

    And yes, I will update.  :-)

    regards

    Alhard

    PS: Do you know that Erlangen, where I live, is the twin city of Stoke-on-Trent

     

     

  3. Hi Pete, I am sorry , I am stuck
    My specs: WIN7-64PRO,  FSX SP2, FSUIPC Version is 4.965, Aircraft: default C172,


    I wrote this macro again following your advise

    [Macros]
    1=OpenAllDoors
    1.1=W3367=0 PT,0,K69,9              -{Key press: shft+E}-
    1.2=W3367=0 PT,0,K49,8              -{Key press: 1}-
    1.3=W3367=0 PT,0,K50,8              -{Key press: 2}-

    But the macro doesn't appear.


    Then I tried with button "offset byte togglebits"
    The assignment whether 15 or 3, still opens left door only (and toggles)   :

    My C172 aircraft.cfg shows this

       [exits]
         number_of_exits=2
         exit.0=0.4 // (0=Main 1=Passenger)
         exit.1=0.4 // (0=Main 1=Passenger)

    26=PT,6,Cx0D003367,x0F     -{offset byte togglebits, offset 3367}-
    or
    26=PT,6,Cx0D003367,x03     -{offset byte togglebits, offset 3367}-


    I tried it also with the FSX default DeHavilland_Beaver_DHC2
    with 4 doors
       [exits]
          number_of_exits = 3
          exit.0 = 0.4 // (0=Main 1=Cargo 2=Emergency)
          exit.1 = 0.4 // (0=Main 1=Cargo 2=Emergency)
          exit.2 = 0.4 // (0=Main 1=Cargo 2=Emergency)

    with the button offset 3367, just one (left) door opens.

    Sorry and regards
    Alhard

     

  4. Thanks Pete for your quick response.

    I am sorry, but there are still problems:
    My FSX SP2, FSUIPC Version is 4.964, Aircraft: default C172,

    Here are my remarks:
    1. There is no "Offset byte clear" , I used for now "Offset byte clrbits"

    2. With these button assignments, only left door opens and closes.

    6=PT,6,Cx09003367,x0F     -{offset byte clrbits, offset 3367}-
    7=PT,0,Cx01003367,x0F     -{offset byte set, offset 3367}-

    When I open right door with shE-2 sequence and try to close with button PT,6 then left door opens.

    3. I now assigned to button PT,13 the reedited macro "AAOpen"

            [Macros]
              1=OpenAlDoors
                 1.1=K69,9              -{Key press: shft+E}-
                 1.2=K49,8              -{Key press: 1}-
                 1.3=K50,8              -{Key press: 2}-

    see here:   8=PT,13,CM1:1,0     -{Macro AAOpen: OpenAlDoors: OpenAlDoors: OpenAlDoors}-

    Now both doors toggle open/close. That's fine.

    But I need to use the condition "W3367=0" as written before.
    How can I include this condition in my macro?

    4. With your proposal to use the button offset assignment I have to assign at least two buttons for opening and close. As I understood, is the door opening procedure a "toggle" function, so I can easily use the macro assignment. I need the conditional macro, cause some people can open one door only by the "Sh-E" sequence and then I want to close the doors conditionally.

    I hope I made my problem clear.

    regards
      Alhard

     

  5. Hi Pete, here is another question.

    My task is to write a macro for one button to open all doors.
    I read your examples in advanced programmer doc, but I failed.
    Here is what I wrote first to test my sequence for the button "PT,0" :

    ; if both doors are open
        16=W3367=3 PT,0,K69,9               -{Key press: shft+E}-
        17=W3367=3 PT,0,K49,8               -{Key press: 1}-
        18=W3367=3 PT,0,K50,8               -{Key press: 2}-
    ; if both doors are closed
        19=W3367=0  PT,0,K69,9              -{Key press: shft+E}-
        20=W3367=0  PT,0,K49,8              -{Key press: 1}-
        21=W3367=0  PT,0,K50,8              -{Key press: 2}-
    ; if door 1 is open, then close
        22=W3367=1  PT,0,K69,9              -{Key press: shft+E}-
        23=W3367=1  PT,0,K49,8              -{Key press: 1}-
    ; if door 2 is open, then close
        24=W3367=2  PT,0,K69,9              -{Key press: shft+E}-
        25=W3367=2  PT,0,K50,8              -{Key press: 2}-

    This sequence works fine.

    Now I tried to create a macro control like this:

    Entry in INI file:
        [MacroFiles]
                   1=AAOpen
                   2=AAPM GC

    Macro file AAOpen:
         [Macros]
            1=OpenAlDoors
            1.1 W3367=0  PT,0,K69,9              -{Key press: shft+E}-
            1.2 W3367=0  PT,0,K49,8              -{Key press: 1}-
            1.3 W3367=0  PT,0,K50,8              -{Key press: 2}-

    Macro file AAPM GC (just for test purpose)
         [Macros]
             1=MAP Capt=C2999,1
             2=NAV Capt=C2999,2
             3=VOR Capt=C2999,3

    The macro from your example "PM GC" is displayed correctly in the FS controls list.
    My macro doesn't appear.

    What is wrong? Please help.

    Thanks, Alhard

     

  6. Hi Pete,

    As I am currently very interested in the deeper functionality of FSUIPC and Simconnect, I may ask you, if you know about some documentation like a "white paper" about these topics. My interest, as an IT man, goes to some questions like:

    How gets FSUIPC access to the FSX data?

    How gets Simconnect access to FSX data?

    What protocols are used (TCP IP, named Pipes, Queues, etc) ?

    What roles are LVARS playing?

    What roles are the OFFSETS playing?

    How is the "cooperation" between both access modes ?

    Thanks,

    regards Alhard

  7. Hallo Volker,

    vielen Dank für die Antwort. Ich wusste, irgendwann habe ich das mal gelesen.

    Wie du vielleicht aus unserer früheren Korrespondenz noch weisst, bin ich ein FSC Benutzer seit vielen Jahren.

    Nun wollen einige Freunde aus meiner Flusi Gruppe, die ich moderiere, auch den FSC kaufen. Sie fragten mich, ob sie denn ihre Pläne, die sie mit Mühen im MSFS erstellt haben in den FSC konvertieren können.

    Natürlich überwiegen die Vorteile, die Pläne mit FSC neu zu generieren.

     

    Herzliche Grüße

    Alhard

  8. Hi, I am also interested in any help to this question.

    Or is this already discussed elsewhere ??

     

     

    1. FS X,
    2. FSUIPC* / WideFS   -  4.947
    3. I use the FSC in a network! Yes and  No

    4. FS Commander and Database Manager V9.6 Rev1 Build 3.3.15

    5. Which provider and period of the AIRAC Cycle   -   Navigraph
    6. download version from our website
    7. Operating System  -   Windows 7

     

    regards

    Alhard

  9. Isn't SPAD configurable? Sorry, I don't know the program at all. Is there a Forum for it where you can get help?

     

    Pete

    Yes SPAD is very flexible in programming the Saitek devices. I am now in contact with the developper and since yesterday night, the Offsets for the Airbus are available in Beta version for Betatesters.

    Btw.: the Forum is here http://www.fsgs.com/forum/ Have a look in the Video to be seen in the forum.

    and I would be happy if other Wilco Airbus pilots give me a short feedback about their Saitek configuration with FSUIPC and SPAD.neXt.

    Alhard

  10. You cannot "create" LVars unless you are creating an add-on aircraft or gauges for one. LVars are "Local Panel Variables" and are intimately tied into the code of the aircraft gauges. The facilities in FSUIPC for LVars are there to discover them, and read or write their values, but they need to actually exist first.

     

    Thanks for that clarification, Pete

     

    I am amazed that SPAD does not handle offsets. That pretty much eliminates its use for default FS aircraft,and add-ons which just rely on normal FS functions. I think you should double check that fact.

     

    Misunderstanding: I ment SPAD does not yet handle offsets for the Wilco Airbus.

     

    What 'tokens'?

     

    I found that term in one of your documents. May be wrong. I ment the function behind an offset.

  11. Hello Pete,

    I want to connect my Saitek devices to the Wilco/Feelthere Airbusses.

    This is a wish since years.

    So fact is for now, there is a pretty good documentation about all (!) the Wilco A320 offsets including the software from Erich Marciano "FSUIPC Exporter".

    And there is a new software called SPAD.neXt which connects the Saitek devices in a clever way to all FSX standard aircrafts, using FSUIPC functions and also LVARS, no Offsets. Unfortunately the Airbus doesn't provide the offsets as LVARS. And unfortunately the Saitek devices with all their buttons and displays do not appear in FSUIPC.

     

    Now my question: can I create LVARS with LUA programming or with other solutions ?

     

    I didn' find any example in your FSUIPC SDK.

    How did you create the tokens for iFLY or PMDG aircrafts ?

     

     

    thanks

    Alhard

     

     

  12. Hello all Simmers,

    Since long time I am looking for a solution to connect AND control my FT A320 by Saitek devices Multi Panel and Radio Panel.

    As the FT A320 offsets are not standard FSX offsets, it is not possible to connect e.g. "set altitude" to the Multipanel.

    Now since some month there is a new software available called SPAD.neXt (Saitek Panel Advanced Drivers neXt Generation). This is a new driver software for the Saitek devices. But unfortunately this software needs LVARs for connections and the FT Airbus doesn't provide LVARS. But a complete list for these special Offsets is available by "FSUIPC Exporter".

    For an extra development to integrate the FT busses in his product, the developer needs information about how many pilot are interested in that implementation.

    So please respond as much as possible on my "survey" here.

    Thanks and regards

    Alhard

     

     

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