Jump to content
The simFlight Network Forums

Framac

Members
  • Content Count

    15
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Framac

  • Rank
    Member
  1. It works. 😊 Thank you Paul. As I was using your class I had not seen that there is this offset. 😁
  2. Hi, in Europe the new 8.33 kHz frequency spacing has been introduced and currently many of airplanes use 3 decimal places on the radio, but I can only get the value of the first two, and the value of the third is always "0" For example on the radio I have "118.725" but with FSUIPC Client I only get "118.720" Is there any way to get the value of the third decimal place? Thank you Machado
  3. Hi Paul, Some planes use 3 decimal places on the radio, but I can only get the value of the first two, and the value of the third is always "0" For example on the radio I have "118.725" but with FSUIPC Client I only get "118.720" Is there any way to get the value of the third decimal place? Thank you Machado
  4. Thanks to both of you. Now everything is ok and I can read the L:Vars without problems . :) Thank you again Framac
  5. Yes, you are right, but even in R / W mode I can not get the value of LVar. I do not know if this is the right way to write the value to the offset 0x0D70 offset_sendlvar.Value = "0x366c0:LVAR_Name"; This is my code right now and only return zero. :( ... public static Offset<string> offset_sendlvar = new Offset<string>(0x0d70, 40); public static Offset<int> offset_readlvar = new Offset<int>(0x66c0); ... offset_sendlvar.Value = "0x366c0:VC_GSLD_CP_EFIS_ND_Mode_Knob"; FSUIPCConnection.Process(); ... int test= offset_readlvar.Value; I am not asking you to do the work for me but I think a little help with a more detailed answer would be useful not only for me but also for future users who have this problem. Sometimes the problem is in front of our eyes and we can not see it. Some of us are not professional developers and any small answer is a big help. :) Thank you for your help. Framac
  6. Hi Thomas Thank you for your answer. I try but I'm doing something wrong. The L:Var is an int : VC_GSLD_CP_EFIS_ND_Mode_Knob I have the two offets public static Offset<string> offset_sendlvar = new Offset<string>(0x0d70, 40, true); public static Offset<int> offset_readlvar = new Offset<int>(0x66c0, true); offset_sendlvar.Value = "0x666c0:VC_GSLD_CP_EFIS_ND_Mode_Knob"; FSUIPCConnection.Process(); int test= offset_readlvar.Value; But this always return 0 What I'm doing wrong? Can you help me? Thank you Framac
  7. Hi, Is it possible to read one L:var value with offset 0x0D70 without macro files? I just want to read the value of one L:var and did not intend to create a macro file or use LUA just for this purpose. I'm using C# Thank you for the help. :) Framac
  8. Hi, - solved - For some reasons did not work the first few times, but now all works fine. I am testing the beta version of FSUIPCClient.dll , but I noticed that sometimes if in the "weather", the option "Weather themes" is selected, the weatherservices do not work. at least in my case it did not work, but with the "real world" option selected, all works correctly. Is there any way to workaround or change the "Weather options" from "Weather themes" to "Real-world weather" ? Thanks Framac
  9. Hi, With c# I can't read LVars. So the only way to access the airbus-x ap is with LUA, ok, one more language to learn. :D
  10. Thanks for your reply. The program is written in C# and I think I can not read and write offsets from FSUIPC using LUA, or I'm wrong? It's possible to use the offset 66C0 (free for general use) to read AND WRITE the airbus offset using LUA? Framac
  11. Hello, I've searched the forum but found no answer to my doubts. I usually I use the offset 07BC to know if the autopilot is on or off, but with airbus x, this offset does not work. Is there any way to read and change the state of the airbus-x autopilot with fsuipc? Peter intends to make some dll that allows to interact with this airbus as it did with PMDG? I really like this plane but I have a program that interacts with fsx using FSUIPC and I can not use with this airbus because aerosoft use custom code to this offsets. :( Thanks for your answers. Framac
  12. Hi, To calculate the current flaps position, I'm using this: private Offset<int> offset_flaps = new Offset<int>(0x0bdc); private Offset<short> offset_flapsint = new Offset<short>(0x3bfa); private Offset<short> offset_flapsnr = new Offset<short>(0x3bf8); flaps_pos = (offset_flaps.Value / offset_flapsint.Value); This works fine, except with Wilco Airbus, where I got positions: "0,2,3,4,5". I only have 4 positions, and the values skip from 0 to 2. The flaps position in Wilco are, 0, 1+F, 2,3,4 I got offset_flapsnr =5, but I only have 4 positions. With other planes everything is ok, how can I get the correct values from wilco? Thanks for your help.
  13. Hi, Is there any way to disable the settings in FS? For instance disable and put the realism settings in Hard and disable the tab, or disable all items. I saw the 0c44 but user can change the settings after start the flight, can I disable all the tab? Thanks
  14. Oh, thanks Pete . I used fsinterrogate and I saw these offsets, but now I'm using the FSUIPC manual and I have mutch more offsets available. :rolleyes:
  15. Hi, I'm having one problem with this... I want to use the crash detection offset 0x0830 private Offset<int> offset_detect_crash = new Offset<int>(0x0830) ... int xxx = (int)offset_detect_crash.Value; but allways return xxx=16842752 Has I can see in manual, should return 0= Ignore crash or 1= detect crash and restart. What I'm doing wrong?? :blink: 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.