
John Dowson
Members-
Posts
13,192 -
Joined
-
Last visited
-
Days Won
269
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by John Dowson
-
When it shows this SkyDemon must be connected to the simulator, or at least connect to FSUIPC7. I cannot help with 3rd party apps, you need to ask on the SkyDemon support forum (presuming there is one). All I can tell you is that most connection issues with 3rd party apps (to FSUIPC7) are due to permissions issues. All applications that connect to FSUIPC7 must be ran at the same privilege level as FSUIPC7. So, if running FSUIPC7 with admin privileges, you must also run SkyDemon with admin privileges, and if running with standard user privileges then SkyDemon must also be ran with standard user privileges and not admin privileges. Please check this, and if you still have issues then report to SkyDemon - I cannot help with this, sorry. John
-
PMDG event.offset is slower than MSFS event.offset
John Dowson replied to Fess_ter's topic in FSUIPC7 MSFS
@Fess_ter It seems that lua scripts (and probably also FSUIPC7) are running approx 13x slower when FSUIPC7 is auto-started by MSFS compared to when it is manually started. This doesn't explain the difference between event.offset for PMDG offsets vs non-PMDG offsets (which is probably due to the data rate, but I will investigate when time permits), but worth knowing if you are having performance issue in your lua scripts. John -
The changes in 7.4.11 were minimal - the only change was to change the default value of the InitialStallTime ini parameter that was reduced by too much in 7.4.10 and was causing issues. The MobiFlight events.txt (that holds the preset definitions) was also updated, but I doubt very much that these presets were changed. The PMDG presets mainly use the PMDG custom control numbers, which also will not have changed. So I have no idea what could cause this. It is also difficult for me to diagnose without seeing your original ini and a log file. So I cannot check what has changed, only if you have any issues with your current configuration. Do you? Do you get issues every time you use the PMDG 737? If so, please activate logging for Buttons & Keys as well as Events, and show me a log file, together with your ini file again and a description of what you did and what went wrong, and I will take a look. John
-
FSX CTD since the beginning of May
John Dowson replied to Mattie941's topic in FSUIPC Support Pete Dowson Modules
That is interesting. Thanks for the update. John -
BTW, I have moved your post to the FSUIPC7 sub-forum - please use this sub-forum for all issues with FSUIPC7, not the main support forum. Thanks, John
-
There seems to be an issue with the speed of lua scripts when FSUIPC7 is auto-started by MSFS. Can you try manually starting FSUIPC7 - just exit it and restart manually, then try recording again to see if you get a faster rate. If I run this lua when FSUIPC7 is auto-started, I also see data logged at approx. 800ms intervals, as you do: If I exit FSUIPC7, and restart it manually, I see data logged at roughly 63ms intervals: You can also speed things up further by reducing the delay in the sleep statement on line 58: ipc.sleep(48) Note that this was reported previously in the following topic, but I have only just realized that this is related to how FSUIPC7 is started: John
-
FSUPC7 reading lua script much slower than FSUIPC5
John Dowson replied to Gokce's topic in FSUIPC7 MSFS
@naizo I have looked at this again and it seems that lua scripts run a lot slower when FSUIPC7 is auto-started by MSFS. if it is started manually, it runs a lot faster. Are you auto-starting FSUIPC7 via the EXE.xml (i.e. using the auto-start component)? If so, can you try manually starting FSUIPC7 - just exit it when it starts and then restart it manually., Do you see a performance improvement? I noticed this when running the example record to csv.lua script. If I run this when FSUIPC7 is auto-started, the data is logged at roughly 800ms intervals, but if I exit and start FSUIPC7 manually, the rate goes up to around 63ms intervals, more than 10 times faster. I will update the documentation with this information, and report this to Asobo to see what, if anything, can be done. John -
QW 787 Key assignment not working
John Dowson replied to raptor84's topic in FSUIPC Support Pete Dowson Modules
LINDA is quite a complex system - you cannot just extract one lua file an expect it to work asit may have many dependencies. If you want to do this, then you need to have some knowledge of lua to be able to modify the files so they work stand-alone. You cannot assume that. You need to extract all dependencies, and then all functions that those depend on, etc etc. No. That lua script will work withing the LINDA environment, where all dependencies will be available. The use of a string rather than a number is minor - that will still work (due to lua's lax type specification - the string will be converted to a number), but it is always a good idea to correct such mistakes as they can cause issues - especially if blindly copied. This error: 1040344 *** LUA Error: C:\FSUIPC6\My789functions.lua:66: attempt to call global 'DspShow' (a nil value) is telling you that he function DspShow, called on line 66 of the My789functions.lua script, does not exist. Just remove that line (and also remove it if it appears elsewhere in your script) and then try again. When you try again, look at the log file to see if any errors, correct them, and repeat. However, I think if you remove those calls to DspShow, the script should work. If you want to use lua, you should really at least learn the basics of the lua language, If you don't want to do this, then you should use LINDA. But if you want to use lua, you need to at least understand the basics, And the log files are there for a reason - to help you. If you get any issues, at least try looking at the logs. If there are basic errors, e.g. syntax errors or missing dependencies/functions, then this should be pretty obvious, as in this example. I don't mind helping people with these sorts of issues, but I prefer to help people understand what the issue is and to help them diagnose and fix these type of issues for themselves. This then reduces the support I have to provide and gives me more time to develop and improve FSUIPC. I have a huge backlog at the moment but have hardly any time to work on improving my products as nearly all my time is spent on support. John -
@DaveSCUSA Have you managed to set this up yet (and I can consider this closed) or are you still having issues? If so, please let me know and I can provide further details on how to configure assignments for the C510. I will soon be looking into updating the Input Event functionality to store the current values of the Input Events, and this will make incrementing/decrementing these far easier. But until then, work-arounds are necessary for this. John
-
The next release of FSUIPC7 (which will be 7.4.12) will auto-tune these connection parameters. This release is currently available as a beta release here: John
-
The next release of FSUIPC7 (7.4.12) will auto-tune these connection parameters. A beta version of this functionality is currently available here: John
-
I have now released this version as a beta release, available here: Please download and use that version, which has a few minor updates compared to the version posted above, which I will now remove. For any issues with key presses or hot keys, please post here. For any other issues, especially with auto-tune, please use that announcement page. John
-
QW 787 Key assignment not working
John Dowson replied to raptor84's topic in FSUIPC Support Pete Dowson Modules
If you look at your log files, the error is obvious: This is happening after the left light has been set (i.e. turned on or off) and will stop the processing, so the function to control the right light will not be called. The error is because you are using the function DspShow which is not defined anywhere. Note also that your lua scripts are writing numeric lvars as strings, e.g. ipc.writeLvar(lvar, '0') This should be ipc.writeLvar(lvar, 0) This happens in various places. Can you please try looking at the log files yourself and at least attempt to diagnose the issue before asking for support. I don't mind helping, but such obcious errors should be detected by the user really and not require support. Always at least look at your own log files before posting and the error may be obvious. John -
Lua Socket 64 FSUIPC 5
John Dowson replied to budman9mm's topic in FSUIPC Support Pete Dowson Modules
No. This is quite an old post. The lua COM library is working in all versions of FSUIPC. The 'LUACOM' library that you are using is different - it is a library to support the windows COM object library, not to read data from COM ports/sockets, which is what this thread is about. As I said in the other thread, I have no idea why/how WideClient can load this library but not FSUIPC. As I said (in the other thread), I will take another look at this when time permits. John -
Ok. But this topic is about 'No ASSIGNMENT button shown FSUIPC7', which you have now solved (by registering). You cannot use the same topic for all your issues, If you have another issue, please create another topic. I am closing/locking this topic now as it is solved. John
-
No, it is not possible to have mouse macros with MSF2020, and there are no plans to add this as the functionality is not provided by the MSFS SDK. There are alternative methods that replace the need for mouse macros - hvars (HTML variables), Input Events (also known as B vars) and calculator code (usually executed via presets). It really shouldn't be an issue. For example, check the presets availalble for each aircraft here: https://hubhop.mobiflight.com/presets/. All MobiFlight presets are available for assignment in FSUIPC7. John
-
Ok, thanks for checking. I will provide full details later today, but auto-tuning will only kick in if the default value of the DetectToConnectDelayAuto ini parameter hasn't been changed, or if it is forced. To test the auto-tuning, just remove the DetectToConnectDelayAuto parameter from your ini. If auto-tuning increases the DetectToConnectDelayAuto parameter, it will not run again. If it decreases this parameter, it will run again on the next auto-start unless the parameter has been decreased to 30 (minimum value for this parameter). I also noticed a minor issue in the above attachment - this has been corrected and the attachment replaced (no change in version number though). So please download this again if you want to try the auto-tuning. John
-
QW 787 Key assignment not working
John Dowson replied to raptor84's topic in FSUIPC Support Pete Dowson Modules
Events are logged to the FSUIPC6.log file. You also activated Log Lua Separately. Please do not set this - I prefer to see the lua log embedded in the FSUIPC6.log file. Only activate the logging I request please, no other logging needed. And no-need to rename your lua files with a txt extension. Also never start a new log file when generating logs for support, and always exit FSUIPC/P3D before attaching logs. I will look at your files tomorrow - just finishing for the day... John -
Sorry to have to revisit this, but I need to make further changes to the way FSUIPC7 starts, and I would like users who have this issue with key presses not being received to try this before I release publicly. Therefore could all people with this issue, especially @Cuantreau please test this version. Please attach logs if you have issues. This version contains an auto-tune feature for the connection issues, but I will publish details on this once I have verified that this version doesn't re-introduce the problem with keys/hot keys reported by so many of you. Thanks, John Attachment removed, now available from here:
-
What issue is that? If it is the same as reported. follow the advise I have already posted. Otherwise please explain your issue and attach the relevant files - the InstallFSUIPC7.log file if having issues with installation, otherwise your FSUIPC7.log file. If unsure, attach both. As a new user to these forums you will have a restricted upload limit - zip/compress the files if too large. John
-
QW 787 Key assignment not working
John Dowson replied to raptor84's topic in FSUIPC Support Pete Dowson Modules
With your current [Auto] section, both lua scripts will be ran for every aircraft that you use. If you replace this with the above, only the relevant script will be ran in each profile. I can't help if you don't show me/attach your updated script. You can also try logging (for Lua Plugins and maybe also Events) and work out what the script is doing and why it isn't working as intended. John -
Problems with COM-Frequency assignments with FSUIPC
John Dowson replied to jonas_llubi's topic in FSUIPC7 MSFS
They do not indicate the current com frequency setting, they indicate if the avionics in the current aircraft support 8.33 or 25 KHz, and will be set when the aircraft is loaded. John -
Ok, so probably related to the timing, i.e. what Steam/MSFS is doing when FSUIPC is scanning the registry. I will report this to both Steam and MSFS and see what they say... Thanks for the files. Cheers, John
-
Problems with COM-Frequency assignments with FSUIPC
John Dowson replied to jonas_llubi's topic in FSUIPC7 MSFS
As I said, using the facilities provided (Log->Offsets). Please read the user manual! John -
I have responded in the other topic you created on this same issue: In summary, FSUIPC7 is holding the correct 8.33KHz frequency, so the problem must be elsewhere. Maybe @sdlc can comment if he has resolved this issue? John