John Dowson
Members-
Posts
12,235 -
Joined
-
Last visited
-
Days Won
248
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by John Dowson
-
FSUIPC 7 FS control greyed out
John Dowson replied to Startrail's topic in FSUIPC Support Pete Dowson Modules
Your files show that the GUIDs of your Razer Tartarus V2 and WINWING URSA MINOR CIVIL FLIGHT STICK have changed, causing issues. Can you please do the following: 1. Run Regedit (the Windows Registry Editor application) and take a back-up of your registry (File->Export...) 2. Disconnect/unplug your stick and Tartarus 3. Save the attached regedit script to your computer and run it (i.e. double-click it in Windows Explorer): removeDevices.reg 4. Reboot your PC and re-connect your devices. Once that is done. run FSUIPC7 and then exit (no need to run MSFS), and re-attach those 3 files again and I will check them again and see if your joyletters need updating. John -
FSUIPC 7 FS control greyed out
John Dowson replied to Startrail's topic in FSUIPC Support Pete Dowson Modules
Please show me/attach your FSUIPC7.log, FSUIPC7.ini and FSUIPC7.JoyScan.csv files. -
RC4 and QW787 D008 Crash
John Dowson replied to Jon777's topic in FSUIPC Support Pete Dowson Modules
No - as far as I am aware (although I have still not looked into this yet) is that this issue is specific to the QW787 with RC4. -
Ah yes, I hadn't noticed that.... I don't understand why its 37 when executed: No. I do not use or support MobiFlight. John
-
RC4 and QW787 D008 Crash
John Dowson replied to Jon777's topic in FSUIPC Support Pete Dowson Modules
When UseAIClient is set to Yes, a separate dedicated simconnect connection is used for all AI traffic management, and when set to No the main simconnect connection will be used. O don't think this will make much difference but no problems trying this. This issue does look to be related to AI traffic in RC4, but may be a good idea to confirm this by running a flew flights without AI traffic to see if you get the crash, and then add AI traffic back yo see if the crash returns. Can you also attach an FSUIPC7.log file from a session when you get a crash, no additional logging required at the moment. Just want to check if there is anything strange reported. I will also take a look at the other posts on this issue on other forums as this is a known problem. John -
So the simulator was running and had arrived or passed the main menu state when you closed/exited the simulator? Your log fie shows that FSUIPC could not connect to the sim, so it looks like an issue with the SimConnect interface in MSFS. This is also why other clients cannot connect. Not sure how to fix this - check the Asobo forums but you probably need to re-install MSFS.
-
Ah! Thought it was October 19th for some reason...
-
I don't know much about MSFS2024 yet, but I doubt FSUIPC7 will be compatible on day one. I will take a look into updating FSUIPC7 for MSFS2024 after release. Unfortunately I am also away when it is released, so won't be able to purchase MSFS2024 and take a look until the 24th October. I cannot provide any more information on compatibility until after that. John
-
The log file you attached shows that either FSUIPC7 was still running when you attach the file or it had crashed - which was it? Did MSFS start-up and get to the main menu, and if so how long did this take? The log file you attached shows that FSUIPC still didn't connect after over 7 minutes. If your MSFS takes a ling time to start to the main menu, you need to configure/update your DetectToConnectDelayAuto ini parameter - please see the section Auto-tuning of initial start-up ini partameters and the following FAQ entry for details:
-
RC4 and QW787 D008 Crash
John Dowson replied to Jon777's topic in FSUIPC Support Pete Dowson Modules
SimConnectStallTime is now TrafficStallTime - although SimConnectStallTime should still work (for backwards compatibility) although not documented. UseAIClient is also still valid, but looks to be not documented. This also goes in the [General] section of your ini file. IPC read/write is the logging I would need if I was going to look into this issue, and that does generate a huge log file. But you need to follow that advice in that other post first so you may as well disable logging for the time being. If that doesn't work, I can maybe take a look at a log file, but we can discuss that if/when needed. This should really be fixed in RC4 (it is RC4 that is crashing after all, not FSUIPC), but I know that is no longer possible. -
First, you are now using A:CIRCUIT CONNECTION ON:137 now when it should be A:CIRCUIT CONNECTION ON:37 - so try with the correct index number. Yes, that is because nothing is changing the value in offset 0x66C0. You write the value of am lvar to that offset, although the lvar will be undefined at this point, so you will be writing a nil value. The offset is then never updated. That is because A:CIRCUIT CONNECTION ON:137 doesn't exist. You should ALWAYS check your log file for any errors when adding to offsets, and you can also use logging to debug your lua code. Correct that index number in your myOffsets.txt file and then log the offset value (using FSUIPC's offset logging facilities) to verify that it is changing when you change the relay. Once that is done, try the lua I already suggested if you want the value of executing the calc. code to be stored in an lvar. Here is an improved version:: -- Offset event handling function: -- here we execute the calculator code and store the value in our Lvar -- Note the offset should hold the value of the simvar CIRCUIT CONNECTION ON:37 -- which should be added via the myOffsets.txt file function updateMyLvar(offsetm value) ipc.execCalcCode("20 13 (>A: BUS LOOKUP INDEX, Number) (A:CIRCUIT CONNECTION ON:37, BOOL) 100 * - (>L:My_Relay_Result)"); end -- Lvar event function: -- here we will just log the lvars value when it changes function lvarUpdated(varname, value, userParameter) ipc.log("Lvar updated: L:My_Relay_Result=" .. value) end -- First, lets create our lvar with an initial value of 0 ipc.createLvar("L:My_Relay_Result", 0) -- Now wait until FSUIPC has received this lvar so it can be used for an event -- ipc.reloadWASM() -- this shouldn't be needed while ipc.getLvarId("L:My_Relay_Result") == nil do ipc.sleep(20) -- wait for 20ms end -- wait for an event in the offset holding the simvar, which will get triggered when the simvar/offset changes value event.offset(0x66C0, "UB", "updateMyLvar") -- Monitor the lvar value to log any changes event.Lvar("L:My_Relay_Result", 100, "lvarUpdated") ipc.log("Lua script to update Relay lvar My_Relay_Result is now running") Also, it would be easier for me if you could just attach lua/log files or paste code (as I do) rather than use images.
-
RC4 and QW787 D008 Crash
John Dowson replied to Jon777's topic in FSUIPC Support Pete Dowson Modules
No - that is just used for additional/extra logging and should only be added when instructed for investigation of support issues. If that is in the ini file, it can/should be removed, but otherwise just to go to FSUIPC's logging tab and make sure everything is unchecked, and that the Debugging Data field is empty (i.e. is 0 or x0). Further logging can also be performed when the TestOptions ini parameter is used, so if that has been added, that should also be removed. -
You can do this with a lua script - you will need a registered / licensed copy of FSUIPC to do this. There is also an example lua script that does this, called record to csv.lua. This can be found in the Example LUA plugins.zip file, which is located in your FSUIPC documents folder. John
-
RC4 and QW787 D008 Crash
John Dowson replied to Jon777's topic in FSUIPC Support Pete Dowson Modules
Then why not just follow the advice in that post? But they do - all the settings mentioned in that post are available in FSUIPC6. Why do you think otherwise? Check the documentation. If the log file is that big, then you must have some logging settings activated. Turn them off to reduce the log file size. There is no point in me looking at such a large log file, especially as the OP has no idea where the RC4 crash occurred in this file. Logging should not cause any major issues, except if the disk/add you are logging to runs out of space. Excessive logging may cause some performance issues, but this depends. But if there are issues, I would usually first like to see a vanilla log file, i.e. with no additional logging activated, and I would advise if I needed any additional logging activated for the issue in question. If a log file is too large to be attached, it should be compressed. If its still too large after compression, then you need to use one of the free file transfer services. But this seems to be a known issue, and I cannot add any more to what Pete has already said in this post - just follow the advice there, it applies to FSUIPC6 as well as FSUIPC4: -
RC4 and QW787 D008 Crash
John Dowson replied to Jon777's topic in FSUIPC Support Pete Dowson Modules
If this is a crash in RC4, I cannot help - you need support from RC4. What advice? What settings? Do you have a reference/link for this? Why is this specific to the QW787? If it is specific to this aircraft, shouldn't this issue be fixed in that aircraft? -
That is never going to work - ipc.execCalcCode does NOT return any value (it cannit as its asyncronous). As I have said, to get the value returned by executing calculator code, you have to write the value to an lvar and read the value from the lvar. But that calc code string returns one of two values, -80 and 20, depending on the value held by A:CIRCUIT CONNECTION ON:37 (which is always 0 or 1). so if you know the value of that variable, you know the value that executing that calc code string will return. So why don't you just add that simvar to an fsuipc offset, as I showed in my previous comment? If you really want the value of that calc code string in an offset, then change the calc code string to send the value to an lvar, then either have an event.lvar function that picks-up any change to the lvar value and write it to an offset, or add the lvar to an offset via the [LvarOffsets] ini file section. That will work as ipc.readLvar will return a value - lvar values are held in FSUIPC and so this is a synchronous call. Please use the lua library documentation - you will see that there is no return code/parameter/value from ipc.execCalcCode. John
-
You posted this in the FAQ sub-forum, where it explicitly states NOT for support requests. I have moved your post. You cannot set it to OFF. It is an Add-on - you can disable it from the Options->Add-ons menu. This will then take effect when you restart P3D. You cannot. It is a sub-window of P3D, accessible from the Add-ons menu (or hot-key). When open, it also blocks P3D. Why would you want to put it in a notifications bar? FSUIPC just runs in threads under and managed by P3D, as it is an add-on, and not a separate executable/application. You won't see it in the task manager (unless maybe you can also see thread information).
-
@chrisingham05 I can't find this software anywhere - do you have a link or can you provide one? Otherwise it looks like you need to purchase this software: https://secure.simmarket.com/fily-it-msfs-bridge-connector-for-foreflight-and-skydemon.phtml John
-
The value returned by executing that calc code only changes when the value held in the simvar CIRCUIT CONNECTION ON:37 changes, so you need to run that calc code to update the lvar value when that simvar changes value, The easiest way to do this is to add that simvar to an FSUIPC offset, viai the myOffsets.txt file - see the Advanced User guide on how to do this but basically you just create that file and add the following lines (or append the line if the file already exists): // offset, size, simvar, type, units [, w] 0x66C0, 1, CIRCUIT CONNECTION ON:37, I32, Bool, w That will add the simvar CIRCUIT CONNECTION ON:37 to offset 0x66C0 (for read/write) as a 1 byte bool. You can then use a lua script (that must be running, usually via auto-start) to monitor that offset and update the lvar when the value changes, i.e.: function updateMyLvar(offsetm value) ipc.execCalcCode("20 13 (>A: BUS LOOKUP INDEX, Number) (A:CIRCUIT CONNECTION ON:37, BOOL) 100 * - (>L:My_Relay_Result)"); end event.offset(0x66C0, "UB", "updateMyLvar") John
-
So they don't use the turb engine fuel flow variables then? If the use lvars or b-vars/input events then you can use those. Or if there is any other way to access the values from their custom model, you can try to see if they can be used (and maybe spoof the original offsets with the correct values). John
-
WideClient connecting to P3D but not to MSFS
John Dowson replied to Emile B.'s topic in FSUIPC7 MSFS
👍 Thanks for the update - cheers, John -
FSUIPC7 "Error loading airport data"
John Dowson replied to Francisco Rivera's topic in FSUIPC7 MSFS
That is from VAMSYS, which I do not support. I only support FSUIPC. If VAMSYS is getting its airport data from FSUIPC, check FSUIPC is running and VAMSYS is connected. Otherwise, try VAMSYS support. If FSUIPC is running, you can show me/attach your FSUIIPC7.log file and I can take a look, but if this is a VAMSYS issue I can't help with that - you need their support. -
I see you have posted in the MSFS devsupport forums on this issue. Sorry, but your post there doesn't make much sense... Not sure what you mean by this... FSUIPC makes available what is available in the aircraft, nothing more and nothing less... If it is already in an lvar, then just use that lvar... You cannot convert code to an lvar, you can only set a value to an lvar...i,e, you can store the result of executing the calc. code in an lvar But that doesn't tell you what is happening with the resulting value... if you want to store the resulting value from that code in an lvar, execute the code and save the value to an lvar. e.g. this is the code 20 13 (>A: BUS LOOKUP INDEX, Number) (A:CIRCUIT CONNECTION ON:37, BOOL) 100 * - To execute that and save the result in an lvar, in lua, you would do: ipc.execCalcCode("20 13 (>A: BUS LOOKUP INDEX, Number) (A:CIRCUIT CONNECTION ON:37, BOOL) 100 * - (>L:My_Relay_Result)"); and then the result of executing that code will be available, for whatever you want to do with it, in the new lvar My_Relay_Result. The pull is executing the exact same code - but you see a different value (0 instead of 1) as the value of the simvar A:CIRCUIT CONNECTION ON:37 is different. John P.S. What exactly are you trying to achieve here? Your initial question: is straightforward - you add that simvar to a free/spare FSUIPC offset, and then you can read the value from the offset, and update the simvar by writing to the offset.
-
Why are you running with admin privileges? It is really not a good idea to do this unless you really have to,,,, Sorry but what does this mean? FSUIPC does NOT launch MSFS, it is MSFS that launches FSUIPC (when using the EXE.xml auto-start component. If you use the MSFS/FSUIPC icon installed by the FSUIPC7 installer with the EXE.xml component. this just displays a splash screen and starts MSFS, which then will start FSUIPC7 (via the EXE.xml). If you use the batch auto-start method, FSUIPC7 will be started by the MSFS.bat script via the desktop icon. And what do you mean by 'but only for a few second then it disappear completely'? What disappears, MSFS or FSUIPC7? If MSFS 'disappears', then it is crashing at start-up. For FSUIPC7, this will show a splash screen and then sit in your system tray. You can access it from there, or use the default hot-key combination of Alt+F to open the main window. And as this article says, if your EXE.xml is correct and all your permissions are set-up correctly and MSFS still does not start FSUIPC7, I cannot help and you should try switching to the batch method of auto-start,
-
WideClient connecting to P3D but not to MSFS
John Dowson replied to Emile B.'s topic in FSUIPC7 MSFS
The connection is timing out - this is usually due to a firewall issue. Could it be that you have added an exception to allow communication from P3D (for wideserver) but not for FSUIPC7? Try disabling all firewalls - client, server and router(s) and see if it then connects. If so, then add each firewall back one-by-one until the connection fails, then allow that connection through the firewall. Also maybe try running your P3D installation for WideClient to see if that connects to FSUIPC7 - if that connects, then the issue is with the firewall on the client for the MSFS WideClient installation.. John