Jump to content
The simFlight Network Forums

Delphi

Members
  • Posts

    102
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Delphi

  1. Hi Paul,

    I am still in the process of migrating my applications to the new version of FSUIPCClient.dll. So far it works fine, except that I always get 'Nothing' back when reading the airlines assigned to a gate.

    In the g5.csv file these are contained. For example Gate 203, Payware LIME:

    LIME,,203,45.666995,9.697427,23.0,194.4,9,,RYR

    Basically my code is as follows:

    Dim MyGates As FsGate

    Dim db = FSUIPCConnection.AirportsDatabase
    Dim airport = db.Airports(ICAOOrigin)
    airport.LoadComponents(AirportComponents.Runways Or AirportComponents.Gates)

    For Each MyGates In airport.Gates
         For Each item In MyGates.Airlines
           If item = ICAO_Airline Then
             GateList.Add(s)
           End if
        Next
    Next

    I'm probably doing something wrong, but I can't find the mistake.

    Ruediger

     

  2. First I did several tests without changing the configuration (FSUIPC 6.0.10 P3D V5 HF1 was installed). The problem did not occur. My .net application did catch all menus. Second I installed FSUIPC 6.0.13a) and enabled the debug mode. Again some tests. All fine. Finally I put in 'TimeToDelayTexts' and tested with different delays. All fine.

    Always plenty of time between the messages and the menus. No overwriting.

    Ruediger

  3. I did many test on a other P3D V5 installation yesterday. Unfortunately I could not catch the message overwriting. There are always plenty of time between the messages in question. The test execution was the same as last week, where the error occurred constantly. However, something must have been different. I do not know.

    Ruediger

    
     
  4. Hi Pete,
    I did many tests. Started with 100ms, down to 20ms in 10ms steps. Finally with 0ms. Restarted P3D for each test. The problem did not occur again. Then installed an older FSUIPC version (6.0.10), just to make sure that it is independend of the FSUIPC version. The problem did not occur anymore. I do not know the reason, it's a kind of magic because last week I had the problem almost with each run of a test. I am rather at a loss, because no change to the system have been made since last week. Stable configuration, no GSX update, tests performed always at the same airport and gate.

    Ruediger

  5. Hi Pete,
    I did many tests over the weekend. I can not reproduce the error anymore. I did not do any modifications on my system. Same configuration as with the failed tests 3 days before. I can not explain that. No overwrite of messages vissible anymore. No [MessageFilters] used. Plain FSUIPC.ini + the debug features.

    [GSX] Departure clearance requested
      1317421 ***DISP*** Text/menu type 1 broadcast
      1317421 LUA.1: text and menu function type 1 messages 1
      1317828 ### TEXT: 512 (Menu) From SimC, Duration 10.00, Flags 00000000, Len=183
      1317828      Select operator at Gate 345
      1317828      Select handling operator
      1317828      Condor
      1317828      Lufthansa  [GSX default choice]
      1317828      Aerogate
      1317828      EFM - Gesellschaft fur Enteisen & Flugzeugschleppen Munchen
      1317828      LOSCH Airport Service
      1317828 ***DISP*** Text/menu type 2 broadcast
      1317828 LUA.1: text and menu function type 2 messages 7
      1318953 ### TEXT_DESTROY: 512 (Menu) Result: 4, Flags 00000000
      1318953 ***DISP*** Text/menu type 2 clear broadcast
      1319640 ### TEXT: 512 (Menu) From SimC, Duration 30.00, Flags 00000000, Len=63
      1319640      GSX - Pushback Service
      1319640      Do you want to request Pushback?
      1319640      Yes
      1319640      No
      1319640 ***DISP*** Text/menu type 2 broadcast
      1319640 LUA.1: text and menu function type 2 messages 4
      1323406 ### TEXT: 257 (Static) From SimC, Duration 6.00, Flags 00000000, Len=40
      1323406
    [GSX] Handling by LOSCH Airport Service
      1323406 ***DISP*** Text/menu type 1 broadcast
      1323421 LUA.1: text and menu function type 1 messages 1
      1329437 ### TEXT_DESTROY: 257 (Static) Result: 65540, Flags 00000000
      1329437 ***DISP*** Text/menu type 1 clear broadcast
      1349656 ### TEXT_DESTROY: 512 (Menu) Result: 65540, Flags 00000000
      1349656 ***DISP*** Text/menu type 2 clear broadcast
      1349890 ### TEXT: 257 (Static) From SimC, Duration 6.00, Flags 00000000, Len=23
      1349890
    [GSX] Have a good trip
      1349890 ***DISP*** Text/menu type 1 broadcast
      1349890 LUA.1: text and menu function type 1 messages 1
      1355953 ### TEXT_DESTROY: 257 (Static) Result: 65540, Flags 00000000
      1355953 ***DISP*** Text/menu type 1 clear broadcast

     

    I will of coures keep an eye on that. Pretty sure the problem will occur again.

    Ruediger

  6. Hi Pete,
    as requested:

    >>>>FSUIPC6.log

    [GSX] A simulator update has been applied, please run GSX Level 2 Control Panel, and click the Disable Default Jetways button.
       323687 ***DISP*** Text/menu type 1 broadcast
       329500 ### TEXT_DESTROY: 258 (Static) Result: 65540, Flags 00000000
       329500 ***DISP*** Text/menu type 1 clear broadcast
       331625 ### TEXT: 512 (Menu) From SimC, Duration 30.00, Flags 00000000, Len=254
       331625      GSX - Activate ground services
       331625      Activate ground services
       331625      Request deboarding
       331625      Request catering service
       331625      Request refueling
       331625      Request boarding
       331625      Prepare for push-back and departure
       331625      No jetways here
       331625      Operate stairs
       331625      Customize this parking position
       331625      Reposition aircraft
       331625 ***DISP*** Text/menu type 2 broadcast
       337703 ### TEXT_DESTROY: 512 (Menu) Result: 4, Flags 00000000
       337703 ***DISP*** Text/menu type 2 clear broadcast
       337750 ### TEXT: 257 (Static) From SimC, Duration 6.00, Flags 00000000, Len=36
       337750
    [GSX] Departure clearance requested
       337750 ***DISP*** Text/menu type 1 broadcast
       337984 ### TEXT: 512 (Menu) From SimC, Duration 10.00, Flags 00000000, Len=183
       337984      Select operator at Gate 345
       337984      Select handling operator
       337984      Condor
       337984      Lufthansa  [GSX default choice]
       337984      Aerogate
       337984      EFM - Gesellschaft fur Enteisen & Flugzeugschleppen Munchen
       337984      LOSCH Airport Service
       337984 ***DISP*** Text/menu type 2 broadcast
       342453 ### TEXT_DESTROY: 512 (Menu) Result: 4, Flags 00000000
       342453 ***DISP*** Text/menu type 2 clear broadcast
       343921 ### TEXT_DESTROY: 257 (Static) Result: 65540, Flags 00000000
       343921 ***DISP*** Text/menu type 1 clear broadcast
       345375 ### TEXT: 512 (Menu) From SimC, Duration 30.00, Flags 00000000, Len=63
       345375      GSX - Pushback Service
       345375      Do you want to request Pushback?
       345375      Yes
       345375      No
       345390 ***DISP*** Text/menu type 2 broadcast
       345390 ### TEXT: 257 (Static) From SimC, Duration 6.00, Flags 00000000, Len=40
       345390
    [GSX] Handling by LOSCH Airport Service
       345390 ***DISP*** Text/menu type 1 broadcast
       351375 ### TEXT_DESTROY: 257 (Static) Result: 65540, Flags 00000000
       351375 ***DISP*** Text/menu type 1 clear broadcast
       375406 ### TEXT_DESTROY: 512 (Menu) Result: 65540, Flags 00000000
       375406 ***DISP*** Text/menu type 2 clear broadcast
       375781 ### TEXT: 257 (Static) From SimC, Duration 6.00, Flags 00000000, Len=23
       375781
    [GSX] Have a good trip
       375781 ***DISP*** Text/menu type 1 broadcast
       381781 ### TEXT_DESTROY: 257 (Static) Result: 65540, Flags 00000000
       381781 ***DISP*** Text/menu type 1 clear broadcast

    **************************************************************************************
    >>>>>LUA log (belonging to the sequence as shown in the FSUIPC6.log (Menue Do you want to request Pushback? (345375) missing.

    ********* LUA: "CatchGSXMenu2" Log [from FSUIPC version 6.0.11] *********
       291062 System time = 24/02/2021 17:22:13, Simulator time = 12:00:17 (10:00Z)
       291062 LUA: beginning "C:\Users\ruedi\Documents\Prepar3D v5 Add-ons\FSUIPC6\CatchGSXMenu2.lua"
       293093 LUA: text and menu function type 1 messages 1
       323703 LUA: text and menu function type 1 messages 1
       331625 LUA: text and menu function type 2 messages 11
       337750 LUA: text and menu function type 1 messages 1
       337984 LUA: text and menu function type 2 messages 7
       345390 LUA: text and menu function type 1 messages 1
       375781 LUA: text and menu function type 1 messages 1

    **************************************************************************************
    I did the test run 10 times. In 2 of the runs the menue was captured.

    I did additional test runs with:

    [MessageFilters]
    Suppress="[GSX] Handling"

    In all 10 runs the menue was captured. However, I'm not sure whether I understand the function of the messagefilter right. I was expecting that the message gets suppressed and is not shown at the green banner. But it did.

    Ruediger

  7. Hi Pete,
    I did some tests with a LUA script and event.textmenu. My LUA test scenario writes all appearing menus and messages in a text file, so I can easily review them. The result is the same as with the fsuipcclient.dll. All menus are captured except the one mentioned in my previous post.

    ********* LUA: "CatchGSXMenu2" Log [from FSUIPC version 6.0.11] *********
      7672046 LUA: text and menu function type 2 messages 11 >>>> GSX Ground Service menue
      7676687 LUA: text and menu function type 1 messages 1 >> Depature Cearing Request (green banner)
      7677109 LUA: text and menu function type 2 messages 7 >>>> Handling Operator menue
      7687453 LUA: text and menu function type 1 messages 1 >>>> Handling by LOSCH Airport Service (green banner)

    Now the suprise. I did the test about ten times. In one test run the missing menue was capured:

     7964140 LUA: text and menu function type 2 messages 11
      7966765 LUA: text and menu function type 2 messages 7
      7968531 LUA: text and menu function type 2 messages 4 !!!!!!
      7969484 LUA: text and menu function type 1 messages 1
      7975468 LUA: text and menu function type 1 messages 1
     

    Ruediger

     

  8. Ok, I understand. Then the problem is one step before:

    3460875  READ0[33552]  B000,  2048 bytes: 6C B2 37 00 00 02 00 00 00 00 00 00 00 00 00 00  l.7.............
      3460875                           00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
      3460875                           00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................

    Then the previous should contain the menu. But the structure is empty.

    The sequnce is:

    3459421  READ0[33552]  B000,  2048 bytes: 51 9F 37 00 00 02 00 00 00 00 20 41 00 00 00 00  Q.7....... A....
      3459421                           B7 00 00 00 53 65 6C 65 63 74 20 6F 70 65 72 61  ....Select opera
      3459421                           74 6F 72 20 61 74 20 47 61 74 65 20 33 34 35 00  tor at Gate 345.
      3459421                           53 65 6C 65 63 74 20 68 61 6E 64 6C 69 6E 67 20  Select handling
      3459421                           6F 70 65 72 61 74 6F 72 00 43 6F 6E 64 6F 72 00  operator.Condor.
      3459421                           4C 75 66 74 68 61 6E 73 61 00 41 65 72 6F 67 61  Lufthansa.Aeroga
      3459421                           74 65 00 45 46 4D 20 2D 20 47 65 73 65 6C 6C 73  te.EFM - Gesells
      3459421                           63 68 61 66 74 20 66 75 72 20 45 6E 74 65 69 73  chaft fur Enteis
      3459421                           65 6E 20 26 20 46 6C 75 67 7A 65 75 67 73 63 68  en & Flugzeugsch
      3459421                           6C 65 70 70 65 6E 20 4D 75 6E 63 68 65 6E 00 4C  leppen Munchen.L
      3459421                           4F 53 43 48 20 41 69 72 70 6F 72 74 20 53 65 72  OSCH Airport Ser
      3459421                           76 69 63 65 20 20 5B 47 53 58 20 64 65 66 61 75  vice  [GSX defau
      3459421                           6C 74 20 63 68 6F 69 63 65 5D 00 00 72 65 00 4F  lt choice]..re.O
      3459421                           70 65 72 61 74 65 20 73 74 61 69 72 73 00 43 75  perate stairs.Cu
      3459421                           73 74 6F 6D 69 7A 65 20 74 68 69 73 20 70 61 72  stomize this par
      3459421                           6B 69 6E 67 20 70 6F 73 69 74 69 6F 6E 00 52 65  king position.Re
      3459421                           70 6F 73 69 74 69 6F 6E 20 61 69 72 63 72 61 66  position aircraf
      3459421                           74 00 00 6D 20 72 65 66 75 65 6C 69 6E 67 20 75  t..m refueling u
      3459421                           73 69 6E 67 20 64 65 66 61 75 6C 74 20 46 75 65  sing default Fue
      3459421                           6C 20 6D 65 6E 75 00 00 00 00 00 00 00 00 00 00  l menu..........

    The above is ok and captured.

    The next one should contain the menu:

    MenuTitleText: GSX - Pushback Service
    MenuPromptText: Do you want to request Pushback?

    Nothing captured, it's empty:

    3460875  READ0[33552]  B000,  2048 bytes: 6C B2 37 00 00 02 00 00 00 00 00 00 00 00 00 00  l.7.............
      3460875                           00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
      3460875                           00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................

    This on is followed by:

    3461531  READ0[33552]  B000,  2048 bytes: FA B7 37 00 01 01 00 00 00 00 C0 40 00 00 00 00  ..7........@....
      3461531                           28 00 00 00 5B 47 53 58 5D 20 48 61 6E 64 6C 69  (...[GSX] Handli
      3461531                           6E 67 20 62 79 20 4C 4F 53 43 48 20 41 69 72 70  ng by LOSCH Airp
      3461531                           6F 72 74 20 53 65 72 76 69 63 65 00 00 75 65 73  ort Service..ues
      3461531                           74 20 50 75 73 68 62 61 63 6B 3F 00 59 65 73 00  t Pushback?.Yes.
      3461531                           4E 6F 00 00 68 61 6E 73 61 00 41 65 72 6F 67 61  No..

    This capure contains the message ([GSX] Handling by LOSCH Airport Service) and part of the menue expected in 3460875 'ues t Pushback?.Yes.No'.  Which is recognized as Menu (0002), but not captured at this point in time.

    Ruediger

     

  9. Hi Paul,
    I have an issue with catching one specific GSX menue item. Basically my GSX remote control works very reliable and I can catch all menue items and messages.

    Only with one single message I have an issue, which seems to be a timing problem or overlap with an other GSX message.

    MenuTitleText: GSX - Pushback Service
    MenuPromptText: Do you want to request Pushback?  (Appears if pushback direction is set to 'None' for a specific position)

    The message is mixed with some other menue data. Start at 0xB03D, End 0xB051

    [GSX] Handling by LOSCH Airport Service appears at the green banner contemporaneous with the message 'Do you want to request Pushback?' (Might be part of the problem)

    3461531  READ0[33552]  B000,  2048 bytes: FA B7 37 00 01 01 00 00 00 00 C0 40 00 00 00 00  ..7........@....
      3461531                           28 00 00 00 5B 47 53 58 5D 20 48 61 6E 64 6C 69  (...[GSX] Handli
      3461531                           6E 67 20 62 79 20 4C 4F 53 43 48 20 41 69 72 70  ng by LOSCH Airp
      3461531                           6F 72 74 20 53 65 72 76 69 63 65 00 00 75 65 73  ort Service..ues
      3461531                           74 20 50 75 73 68 62 61 63 6B 3F 00 59 65 73 00  t Pushback?.Yes.
      3461531                           4E 6F 00 00 68 61 6E 73 61 00 41 65 72 6F 67 61  No..hansa.Aeroga
      3461531                           74 65 00 45 46 4D 20 2D 20 47 65 73 65 6C 6C 73  te.EFM - Gesells
      3461531                           63 68 61 66 74 20 66 75 72 20 45 6E 74 65 69 73  chaft fur Enteis
      3461531                           65 6E 20 26 20 46 6C 75 67 7A 65 75 67 73 63 68  en & Flugzeugsch
      3461531                           6C 65 70 70 65 6E 20 4D 75 6E 63 68 65 6E 00 4C  leppen Munchen.L
      3461531                           4F 53 43 48 20 41 69 72 70 6F 72 74 20 53 65 72  OSCH Airport Ser
      3461531                           76 69 63 65 20 20 5B 47 53 58 20 64 65 66 61 75  vice  [GSX defau
      3461531                           6C 74 20 63 68 6F 69 63 65 5D 00 00 72 65 00 4F  lt choice]..re.O
      3461531                           70 65 72 61 74 65 20 73 74 61 69 72 73 00 43 75  perate stairs.Cu
      3461531                           73 74 6F 6D 69 7A 65 20 74 68 69 73 20 70 61 72  stomize this par
      3461531                           6B 69 6E 67 20 70 6F 73 69 74 69 6F 6E 00 52 65  king position.Re
      3461531                           70 6F 73 69 74 69 6F 6E 20 61 69 72 63 72 61 66  position aircraf
      3461531                           74 00 00 6D 20 72 65 66 75 65 6C 69 6E 67 20 75  t..m refueling u
      3461531                           73 69 6E 67 20 64 65 66 61 75 6C 74 20 46 75 65  sing default Fue
      3461531                           6C 20 6D 65 6E 75 00 00 00 00 00 00 00 00 00 00  l menu..........

    The previous 2048 byte structure was empty. So I can not explain were the rest of the data comes from. This menue items have been displayed some menues before.

    3460875  READ0[33552]  B000,  2048 bytes: 6C B2 37 00 00 02 00 00 00 00 00 00 00 00 00 00  l.7.............
      3460875                           00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
      3460875                           00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................

    Would be great to get some help.

    Ruediger

     

  10. I use TouchOSC for a similar project. B737 MIP and AP is already implemented half way. Interface between TouchOSC is a .net application with Paul's DLL. TouchOSC provides many different controls for the UI. Running on both IOS and Adroid. The required app for the tablet costs less than 5,- EUR.

    Ruediger

  11. Hi Paul,
    one of my friends wants to use one of my programs with the MSFS. I compiled it with 3.1.20. Unfortunately it seems not to work regarding communication to FSUIPC7. It seems that already the connection process fails. I can not offer any debugging information because I do not have access to that installation and I personally do not have a MSFS installation. My question is, do you have already a positive feedback from other users that it basically works? 

    Kind regards,

    Ruediger

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