Jump to content
The simFlight Network Forums

John Dowson

Members
  • Posts

    13,502
  • Joined

  • Last visited

  • Days Won

    280

Everything posted by John Dowson

  1. That log file was attached when FSUIPC7 was running and ends after 31 seconds. Always exit FSUIPC7 before attaching log or ini files. It does however show that all your controllers are recognised and matches your ini. What do you mean by 'FSUIPC 7 does not recognize any of my controllers'? What do you see, for example, when you open the button assignments panel and press a button on one of your controllers - is that not registered?
  2. Why? That does nothing at all....the ini file (containing your assignments) will still be the same - or did you delete this? If you delete this, you will have to re-assign and re-calibrate. Try the attached ini - just save it to your FSUIPC installation folder: FSUIPC6 ini Any issues, please re-attach both your .log and .ini files.
  3. What do you mean by 'no longer recognises my numbers'? Id you have already validated yout license once and generated your FSUIPC7.key file, there is no need to validate again, although doing this should do no harm. Yes - read the section on Invalid Key Problems in the Installation and Registration guide. If that doesn't solve your issue, please explain why you need to re-register and let me know your FSUIPC7 order number and I can check the details here. But if has previously worked, it should still work. You are either entering the details incorrectly or you need to install/update your VC++ combined redistibutable package (if this is a new PC), John
  4. Dvar isn't defined anywhere, so when you declare it in a function I suspect it will be local to that function - try defining DVar at the top of your script, e.g. local DVar = "no value" the variable val used in function UpdateWnd() is also never declared and will always be nil.
  5. No it has not...I don't understand why you would think that. Please post ALL issues/comments/requests relating to the beta in the beta announcement thread. Yes, the DA62 is continually firing this input event for some reason. FSUIPC7 just logs what it sees. This is similar to the way many aircraft continually emit standard events/controls. For standard events, you can use the DontLogThese ini parameter to stop such events being logged. I will add something similar for Input Events at some point. but not sure when I will have time for this - it mat be after the initial release. John
  6. Yes, sorry "not equals" in lua is '~=' not '!=' - that is C/C++, getting my languages confused... using '>0' is just as good. No problem - glad its now working and help with your issue. Regards, John
  7. Please try the attach script. I have not tested this but its pretty simple. Make sure its running - best to add to the [Auto] (or a profile-specific [Auto.xxx]) section of your FSUIPC7.ini file, e.g. Any issues, please activate logging for Lua Plugins (only!) and show me your FSUIPC7.log and FSUIPC7.ini files. centerTankFuel.lua
  8. Ok, thanks. I will provide you with a lua script to try - it is pretty straightforward and I may get a chance later today, but I will post again when ready. John
  9. Which offsets? Offsets only hold data, they do not send anything. I have no idea as I do not fully understand your issue. Can you try logging some offsets (up to 4) using FSUIPC's offset logging facilities. ones which you think are holding invalid data. Try in both situations to see what the difference is. There are no 'offset processes', except the main simconnect thread that requests the data from the FS and then receives this and uses it to populate the offsets. Offsets that hold simvars are only updated from values received from the FS - they will be cleared/updated when any new value is received. I don't understand this and don't have the FSLabs A320 so I am not sure I can help that much, but if you can identify what offsets are holding incorrect data, we can go from there... Also, can you attach your FSUIPC4,ini file. John
  10. The one that has the extension .log! You have windows Explorer set to Hide extensions for known file types. Uncheck this option (under Options->View->Advanced settings) and you can then see the extensions.
  11. I have moved your post to the FSUIPC7 / MSFS sub-forum - please use that for all support requests when using FSUIPC7. This should be possible using a lua script. First you have to determine what holds the centre tank fuel quantity. First, try monitoring/logging offset 0x0B74 (FUEL TANK CENTER LEVEL) using FSUIPC's offset logging facilities (log as U32). This should hold the % left (*128*65536). If that looks correct, also log offset 0x0B78 to get the centre tank capacity - you will need this to determine the % value in offset 0x0B74 for 30Kg of fuel. You will also need to convert this from US gallons to kilos. Once you have determined what offset 0x0B74 holds when the centre tank is at 30kg, you can then monitor that offset in a lua script (using event.offset), and when the offset value is equal or is less that the 30Kg %age (that you have determined), you can write 0 to the same offset. If you let me know which aircraft you are using, and I have access to that aircraft, I can help you further. Otherwise, if you can confirm that offsets 0x0B74 and 0x0B78 are used by the aircraft, and let me know what offset 0x0B78 holds, I can provide you with a lua script you can try and customise. Probably next week now though as I have no time this weekend. If those offsets are not being used by the aircraft, you will need to determine what holds the capacity and current quantity. This could be held in other simvars or possibly in lvars. Again, if you let me know the aircraft, I can take a look. John
  12. Further details from @Ray Proudfoot: Settings required to minimise / eliminate the delay when Autosave is enabled for the PMDG aircraft in Prepar3D all versions. In Windows 11 select Start - Settings. On the left menu select Privacy and security. At the top of the list select Windows Security. Select Virus and threat protection. Under Virus and threat protection settings select Manage settings. Scroll down to Exclusions. Select Add or remove exclusions Click "+ Add an exclusion" Add the following choosing File from the drop-down. Prepar3d.exe Add the following choosing Folder from the drop-down The folder containing FSUIPC6.dll The following folder. Your initial path may differ. C:\P3Dv5\PMDG\PMDG737NGXu\PanelState C:\Users\[username]\Documents\Prepar3D v5 Files Add the following choosing File Type from the drop-down. FXML PLN WX After adding those and with Autosave enabled I looked very closely for the autosave action. I barely noticed the save routine and there was no noticeable pause or stutter in P3D. My thanks to @Yakpilot for his post giving this extra info.
  13. You only have the aileron axis assigned in one profile: Your log shows that you were using this aircraft: which is in this profile: i.e. you have no assignments to the aileron om the profile for that aircraft. I do not understand why you have different profiles for the same aircraft, different liveries. You should use one profile, and change the aircraft name in that profile to catch all variants, e.g. And make sure you have the aileron assigned and calibrated in that profile. John
  14. As I said, no - it is not possible to read the status of a button flag from an offset. There is a "hot button" facility, where you can register to detect joystick button presses (see offset 0x2910), but not to read the status of a button flag. These are kept in internal data structures.
  15. Ah, so it is a FAQ entry already! Maybe you could add those details to the FAQ entry for others? Cheers Ray - take care, John
  16. No - going to post the new version now....
  17. Thats good - if I remember correctly, most folks seem to still get a pause of a second or more, even after excluding files/folders from anti-virus scanning... Can you post the link here please - I may create a FAQ entry for this.... Yes, but it is even worse...and the flight save function is still not documented as working (although flight load is!) and so the auto-save is still noy 100% reliable. Some folks seem to have more luck with this than others....no idea why! Cheers Ray, John
  18. Yes, this is a well know issue with auto-save and complex aircraft, such as the PMDG 737. The only thing that can be done to reduce pause times is to exclude the folder where the files are saved from any anti-virus software, but you may still get pauses lasting several seconds. There is also an autosave enable/disable control, which can be used to enable/disable autosave when it has been activated. Some folks use this to disable autosave on take-off and landing to prevent such pauses during critical moments. You could even have a lua script that enables/disables autosave automatically, maybe using the aircraft altitude above ground. Cheers, John
  19. This is because you are using an unregistered/unlicensed version. If you have a license, you need to enter the details and validate them at the end of the installation process. If you do not have a license but would like to try the registered facilities, post in the trial license topic (at the top of this forum) and I will PM you a trial license (time-limited). John
  20. The "InputEvent received but not known:" messages were logged as no input events were received. This was because they were being requested to early - I have corrected this in the next update which I will release shortly. in the beta announcement thread. Please update and try this when released. And please remember to report any issues in the beta release thread, not here. John
  21. Please post any issues with the beta version in the announcement topic (as it says). Can you please repost your issue in that thread. I will look into this tomorrow (and install the improvement mod to check here), but I will respond in the beta announcement topic. John P.S. No point extracting and/or sorting log entries. If a log file is too large to attach, zip/compress it. I always need the full log file.
  22. Thanks for this detailed and well explained contribution! The best way to do this would be using a preset (calculator code). The calc. code of the preset would have to scale the axis value range (usually -16384 to +16383) to the lvar value range before setting the lvar. You can assign an axis directly to a preset - as long as the preset contains a parameter placeholder ($Param or the @ symbol). Regards, John
  23. Yes, but not your FSUIPC7.log file, which I also need to see for this problem...
  24. Yes, there will be. For example, for the TOGGLE_MASTER_BATTERY event: So the parameter is the index of the battery.
  25. This feature has now been released in the latest beta, 7.3.26f. John
×
×
  • 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.