Jump to content
The simFlight Network Forums

Sergiohst

Members
  • Posts

    21
  • Joined

  • Last visited

Posts posted by Sergiohst

  1. Hi !! 

    Yes, I'm testing while flying, with AP activated, and when change from SLOT 2 to 1  (Managed to Selected), plane continues flying same speed as managed , and FD colored text with selected speed stays correct, it's in the AP panel hold speed (now selected speed) that is 100 shown, and while I don't touch speed knob plane continues flying current speed (250 lets say) , as speed is manually increased 1 point (to 101) , FD speed is updated to 101 and plane starts to slow down ... See the logic in your assumption, that would have made sense, thanks !!

  2. Hi!

    new Offset<int>(0x0298).SetValue(1);

    or

    new Offset<int>(0x0298).SetValue(2);

    Does nothing and not event is shown in Fsuipc console log.

     

    FSUIPCConnection.SendControlToFS(68066, 2) generates this log entry:

    2266563 *** EVENT: Cntrl= 68066 (0x000109e2), Param= 2 (0x00000002) SPEED_SLOT_INDEX_SET

    and it works fine.

    About the speed change to 100 in AP PANEL when changing SPEED_SLOT_INDEX_SET from 2 to 1,  it's automatic , maybe a bug in FBW system ...

    will try to set the real speed with offsets / lvars you suggested to correct the situation. 

     

    Thanks John!

  3. Hi!

    I'm trying to control brightness with a physical potentiometer, but did not found the way...

    There is a thing called project magenta that uses fsuipc and in their docs about fsuipc  (Project Magenta FSUIPC Offsets - Project Magenta)  found that offset 55F0 can control some of these:

    2021-08-22_11-36-23.gif.f64da0bde788512fe2b0235a0bdbeffc.gif

    I wrote some code to test it :

                                       byte[] bytes = { 100, 100, 100, 100, 100, 100,0,0 };
                                       new Offset<Double>(0x55F0).SetValue(BitConverter.ToDouble(bytes, 0));
    but it doesn't work...

    also found that :

                                      FSUIPCConnection.SendControlToFS(FsControl.PANEL_LIGHTS_SET, 10)

    that changes the AP PANEL light, this is working.

     

    any ideas??

     

    Thanks!!

     

  4. Hi!! I've found a solution this way:  when physical button pressed to toggle managed/selected, I check the actual status with offset 298, that is working for reading, and then change status with:

    FSUIPCConnection.SendControlToFS(68066, 1); //SPEED_SLOT_INDEX_SET   ->> sets to selected

    OR

    FSUIPCConnection.SendControlToFS(68066, 2); -> sets to managed

    there is a caveat and is that when set to "selected" this way, actual PFD speed is Ok, maintains the same speed as when managed, an AP stays in that speed, but the AP PANEL Speed showed is always 100.   When you start to adjust speed it starts in that 100 stated.

     

     

     

     

  5. Hi !!

    Any ideas about how to send press of "To.Config" , "CLR",  "ALL" to the sim?? Ther are H.VARS  for pages (ENG,BLEED, ... ) but not for these. 

    Also didn't found offsets in the exel

    Targeting plane A32NX

     

    (I'm working with FSUIPC from a C# program with FSUIPC Client DLL)

     HVARS for pages are these:

    170: H:A320_Neo_EICAS_2_ECAM_CHANGE_PAGE_APU
    171: H:A320_Neo_EICAS_2_ECAM_CHANGE_PAGE_BLEED
    172: H:A320_Neo_EICAS_2_ECAM_CHANGE_PAGE_COND
    173: H:A320_Neo_EICAS_2_ECAM_CHANGE_PAGE_DOOR
    174: H:A320_Neo_EICAS_2_ECAM_CHANGE_PAGE_ELEC
    175: H:A320_Neo_EICAS_2_ECAM_CHANGE_PAGE_ENG
    176: H:A320_Neo_EICAS_2_ECAM_CHANGE_PAGE_FTCL
    177: H:A320_Neo_EICAS_2_ECAM_CHANGE_PAGE_FUEL
    178: H:A320_Neo_EICAS_2_ECAM_CHANGE_PAGE_HYD
    179: H:A320_Neo_EICAS_2_ECAM_CHANGE_PAGE_PRESS
    180: H:A320_Neo_EICAS_2_ECAM_CHANGE_PAGE_STS
    181: H:A320_Neo_EICAS_2_ECAM_CHANGE_PAGE_WHEEL
     

    Thanks!!

  6. Hi !!

    I'm new to FSUIPC , and trying to control / read FS with its help,  I've done a lot of searching in the web but cannot find a way to make this work,

                           FSUIPCConnection.SendControlToFS(FsControl.BAROMETRIC_STD_PRESSURE, 0);

                           FSUIPCConnection.Process();

    sets the Baro to 29.92 , actually this is STD, but cannot make the plane show STD in the Baro indicator. Tryied with other values with no luck.

     I saw an Axis and Ohs template that accomplish this making use of an RPN script (Simconnect):

    (L:XMLVAR_Baro1_ForcedToSTD,·Number)·!·(>L:XMLVAR_Baro1_ForcedToSTD,·Number)·(L:XMLVAR_Baro1_ForcedToSTD,·Number)·0·==·if{·(A:KOHLSMAN·SETTING·MB:1,·mbars)·16·*·(>L:XMLVAR_Baro1_SavedPressure)·1·(>K:BAROMETRIC_STD_PRESSURE)·3·(>L:XMLVAR_Baro1_Mode,·Number)·}·els{·(L:XMLVAR_Baro1_SavedPressure)·(>K:KOHLSMAN_SET)·1·(>L:XMLVAR_Baro1_Mode,·Number)·}

    So it CAN be done.

     

    Any help about how to make it with FSUIPC??

     

    Thanks!!

     

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