Jump to content
The simFlight Network Forums

John Dowson

Members
  • Posts

    12,235
  • Joined

  • Last visited

  • Days Won

    248

Everything posted by John Dowson

  1. For the position of the overhead seatbelt switch in the FBW A320, just read the lvar L:XMLVAR_SWITCH_OVHD_INTLT_SEATBELT_Position, i.e. seatBeltSwitch = ipc.readLvar("L:XMLVAR_SWITCH_OVHD_INTLT_SEATBELT_Position") John
  2. What do you mean by this? If you want to intercept that control in a lua scrip, use something like the following: function InterceptControl(controlnum, param) //do stuff here - for now, just log ipc.log("Control " .. controlnum .. "intercepted with parameter " .. param) end event.control(66719, "InterceptControl") John
  3. For PMDG aircraft, you should really use the PMDG custom controls for flaps, i.e. these: Assign your axis to (Unused) on the left hand side of the axis assignments panel, and assign to the specific detents in the right-hand side around the position of each detent (you will need to assign most with both Up and Down, but the _0 detent on down only, and the _30 detent on Up only. See the User guide (page 38) on assigning controls to axis ranges if not familiar with this. To use PMDG custom controls, see Also please use substrings for you aircraft profile names - i.e. change: to This will then catch all variants of the PMDG 777. John
  4. This cam also happen with MSFS2020. You need to tune the DetectToConnectDelayAuto ini parameter - see Maybe better to use a separate FSUIPC7 installation for MSFS24 for the time being, so that different parameters can be used for each MSFS version. As above - tune the DetectToConnectDelayAuto ini parameter. Your WASM log also shows the WASM is crashing - this is also a known issue. Tou need to set LvarScanFrequency=0 in your FSUIPC_WASM.ini file - see John
  5. The command line options are documented in the MakeRwys README.pdf. No, there is currently no way to do that. MakeRwys will need to be updated to work with MSFS2024. However, MakeRunwys is no longer supported, now that Pete has retired. I do not know much about MakeRunwys unfortunately, as Pete has always maintained this. I may take a look after MSFS2024 has been released, and I have updated FSUIPC7, but cannot guarantee this. However, the source of MakeRwys is available if you, or anyone else would like to update this for MSFS2024: John
  6. See Looks like FSUIPC7 is working with MSFS2024, although I will need to update... John
  7. Ok, thats good to know...and rather surprising! At least the installer needs to be updated to install the auto-start component. You could try manually adding the FSUIPC7 entry to the MSFS24 EXE.xml file, which should enable the auto-start. Did you try installing the FSUIPC WASM module into the MSFS2024 Community folder? Just copy from your MSFS2020 Community folder. This is needed for the functionality for presets, lvar & hvars. Well, they always have been, hence the need for presets... Anyway, I will review the MSFS2024 documentation on the available events/controls, when available. John
  8. Maybe - if supported by the aircraft. As that event doesn't exist in P3D, for any aircraft that allow other values for anti-ice rather than on/off, then it must use something else, i.e. another event (or custom control) or possibly an lvar. For which aircraft are you trying to use with this event? If the aircraft supports gradual anti-ice, then try activating logging for axis controls, open the FSUIPC logging window and see what, if any, events are logged when you move the gradual anti-ice in the virtual cockpit. If any event is logged, you can try assigning to that. Otherwise, look to see what lvars are available and see if any look applicable, and if so what value range the lvar takes. If an lvar is used, you can create a lua script and use this via assigning your axis to an FSUIPC offset - I can help further with this if needed.
  9. Please see the following post and use that for any other queries/questions on using SkyDemon with FSUIPC: John
  10. Please note that FSUIPC only send out GPS data to serial/com ports, not to the network. This is why you need additional software (Flight Sim GPS) which (I guess) takes the GPS data from a virtual com port and sends it out to the network, This software doesn't seem to be available any more (if anyone can provide this or knows where it can be downloaded, please advise!), and so I think your best solution would be to use the MSFS Bridge Connector, which is payware but very cheap (5-6euros). Otherwise, for use on an iPad, you would need to connect the iPad to your PC via a USB-serial cable. For running SkyDemon on a PC, either the same PC or a client PC, you will need to set-up some virtual com ports. This is described in the following posts (for FS9 & FSX/FSUIPC4 but applies to later version of FSUIPC and P3D/MSFS):
  11. Note that someone has RC4 working (more-or-less!) with MSFS, using ShowText for the menus. See the following post: An issue has also been reported when using PF3 with both FSUIPC7 and FSUIPC6 - see This is corrected in the latest beta release of FSUIPC7 (see Announcements sub-forum) and there is also a patched version of the FSUIPC6.dll available with a fix for this in that post referenced above. John John
  12. @Gabe_62 & @Ray Proudfoot: someone has RC4 working (more-or-less!) with MSFS, using ShowText for the menus. See the following post:
  13. The available controls are determined by the FS, not FSUIPC. When FSUIPC6 is ran, it will also create a text file listing all available controls for the current FS, located in your FSUIPC documents folder, with the file name starting 'Controls List for P3Dv....'. But as far as I am aware, the ANTI_ICE_GRADUAL_* controls/events are for MSFS2020 only - there are not known by any version of P3D (or FSX).
  14. Ok - then follow the instructions in that FAQ entry, i.e. set the WASM ini parameter LvarScanDelay to 0. Once this is set, the lvar scan will only be performed on initial aircraft load. If you create new lvars via FSUIPC with the provided lua function, or if created by writing to offsets, then FSUIPC should automatically perform a rescan/reload. However, if further lvars are created by the aircraft itself, or other add-ons, or using FSUIPC via other means (e.g. via calculator code)m then they will not be known to FSUIPC (or FSUIPC clients) until a rescan/reload is performed. I am nit sure how you (or Paul's dll) is creating lvars, but if you don't see them (after a short delay from creation, 20ms or so) then you need to explicitly ca;; for a reload - I am sure you can perform this via Paul's dll). John
  15. All of the PMDG-specific offsets are read-only - as it says in the PMDG offset documentation: You can use offset 0x3110 to send the control if you like, but that is incorrect - writing to 0x3110 will trigger the control, and that offset contains the control number. Write the parameter to offset 0x3114 first, i.e. WriteFSUIPC($3114, 4, value); WriteFSUIPC($3110, 4, 70008);
  16. Can you first check that you are not getting a crash in the FSUIPC WASM module - see If you list the lvars in FSUIPC (Add-ons->WASM->List Lvars) can you see the lvars you created? If not, try reloading and listing again (Add-ons->WASM->Reload & List Lvars) - does that work? This should hopefully determine if the issue is in FSUIPC or the WASM/WAPI, or an issue in Paul's WebSocketServer.
  17. No, I wouldn't say that... The weather data is requested and received via SimConnect. As I said, I am not that familiar with the weather interface and I will look into this further when time permits and get back to you, but this may take a while...
  18. Please find FSUIPC6 v6.2.2a which contains the same fix. John FSUIPC6.dll
  19. Ah, yes, sorry - I can certainly do that...
  20. No it can't - but you don't need to. You can just correct for this in the offset event handling function, and set the lvar to a value of 1 when the value if the simvar is > 1370, otherwise set it to 0 (as the calc,. code does). You do not implement any logic in the myOffsets.txt file. This only allows you to add simvars to FSUIPC offsets so they you can read/write/update them. The logic in how you use the values is encapsulated in the lua script that uses the offsets. So instead of this: ipc.execCalcCode("20 13 (>A:BUS LOOKUP INDEX,number) (A:CIRCUIT CONNECTION ON:20, number) ! (>L:CBL_BAT_RELAY)") in your offset event handling function for the simvar A:CIRCUIT CONNECTION ON:20, you would use: ipc.execCalcCode("20 13 (>A:BUS LOOKUP INDEX,number) " .. value .. " ! (>L:CBL_BAT_RELAY)") where value will be the value if the A:CIRCUIT CONNECTION ON:20 sinvar that is passed into the handling function. John
  21. I can't see how I can fix this in FSUIPC - how would I detect such aircraft in the first place?
  22. Well, its not coming from there either...can you show me / attach your FSUIPC4.ini file. Do you have controls disabled in FSUIPC4? If not, also check any assignments there. This assignment/control isn't coming from FSUIPC
  23. I have done this now if you would like to try the latest beta (InstallFSUIPC7.4.18beta.zip). You can remove that new ini parameter with this version. 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.