Jump to content
The simFlight Network Forums

Sergiohst

Members
  • Posts

    21
  • Joined

  • Last visited

Everything 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. I see, Ok ! I will check my code and post it in .net forum , thanks !!
  3. Yes, I've checked all Lvars and offsets and there is no way. In FBW support chat someone answered with: " I've asked a similar question twice already and never got an answer. So I assume it means "not possible". " maybe in a future release.... will post here if there are news. Thanks!
  4. 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!
  5. Hi ! No events are rised and I've tested to set all LIGHT_POTENTIOMETERS , some does things with some plane lights but not the instruments brightness. I will ask for help in FBW Discord, will post results here if any Thanks John!!
  6. 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: 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!!
  7. 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.
  8. Hi !! I can read Speed slot "Managed" / "Selected" ( Values 2 and 1 ) Ok, but writing the values does nothing (from c#, .net client, .SetValue(1) or .SetValue(2)) Also tried to change the value with H:A320_Neo_CDU_MODE_SELECTED_SPEED , H:A320_Neo_CDU_MODE_MANAGED_SPEED but A32NX is not responding to these Hvars ... Anyone has these working?? Thanks!
  9. Setting A32NX_ECAM_ALL_Push_IsDown to 1 , to 0 when released A32NX_BTN_TOCONFIG to 1 A32NX_BTN_CLR to 1 worked perfect!! Thanks
  10. Hi! Didn't saw that Lvars!! Will check! Thanks for the info and the MobiFlight sheet !!!
  11. 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!!
  12. Thanks Paul, working fine now with A32NX using LVars! MSFSservices.LVars["XMLVAR_Baro1_Mode"].SetValue(2); << sets it to STD!
  13. With an Start and Reload just after INIT, it didn't get Hvars, but I've put another Reload after a button click and it worked fine! so it must be some time after initialization . It's reload needed? maybe if preconfigured refresh rate time passed it's not.
  14. Hi ! Sorry I saw your post after posting my last image 馃槃 , I'll try with Start(), Thank you!!
  15. even though is stated in your post that it doesn't depend on FSUIPC connection, I've tested it after Fsuipc connection, to be sure:
  16. continue previous post, due to file size limit
  17. Hi Paul! It looks promising! thanks! but it's not working as intented or I'm doing something wrong: WASM module is installed, executed John's client to test: But after INIT inside .NET:
  18. Fantastic news! Thanks! I'll try running against MSFS when you publish the beta and post results.
  19. Hi! I'm following your development of your wasm module to add Hvar/Lvar access to fsuipc , any plan to make it possible to set HVAR from .net SDK?? Thank you!
  20. Thank you for your answer Paul, I'll try to make use of simconnect DLL to make this detail work.
  21. 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.