Jump to content
The simFlight Network Forums

John Dowson

Members
  • Posts

    13,763
  • Joined

  • Last visited

  • Days Won

    288

Everything posted by John Dowson

  1. Sorry, but I so not understand your issue or what this has to do with FSUIPC4... WideFS is for use on a client PC, and all your licenses will be available from your SimMarket account. Is FSUIPC4 installed correctly? Can you access the FSUIPC4 main window from the add-ons menu? Can you please explain your issue, and if you are having problems with installation then show me your FSUIPC4 installation log file. If FSUIPC4 is installed and running, show me your FSUIPC4.log file. John
  2. Do @NovemberUniform or @roland_lfor have your throttle's set-up for the Fenix A320? If so, maybe toy could help the user in this post: John
  3. So repeat isn't working when MSFS has the focus? I will check this. Key repeats should be sent to the sim. There were some changes to processing key assignments and sending keys in the latest release (v7.3.4). I'm pretty sure this was working in earlier versions, so I will look into it... The OP's problem is with key repeats - button repeats are working as expected. John
  4. Then why post here - I think you need support for FSeconomy - I know nothing about that program, sorry.
  5. That sounds strange. Do you not have any assignments? I see you are not using the events.txt file but have 2 events in your myevents.txt file. Maybe try again with your previous ini to see if that still gives issues and if so post it here and I will take a look.
  6. First, use the number for your device - I suspect that it is 0, but you can confirm by looking at the joy letter / id mapping in the [Joy\names] section of your FSUIPC7.ini. Second, the lua must be auto-ran - add it to your [Auto] section, or, better still, your [Auto.xxx] section (where xxx is the name of the profile you use for the PMDG 737). You do not need to make any assignments to the lua. Anu issues, activating logging for Lua Plugins and show me your FSUIPC7.ini and FSUIPC.log files. Not 100% sure what this means, but looks ok to me. keep this thread updated if you hear anything, thanks.
  7. You should check if the calculator code for the preset is working or not first (as explained). Also check that it is being sent - activate logging for Buttons * Keys as well as events, and check your FSUIPC7.log file to confirm that it is being sent. You can also post your FSUIPC7.log file here and I can check it.
  8. I'm not sure and cannot really help as I don't have this aircraft...maybe it is a timing issue? What happens if/when the gear is UP and you send the gear-off calculator code e.g. using Add-ons->WASM->Execute Calculator code using 30 (L:switch_455_73X) - 10 div s0 :1 l0 0 > if{ 45501 (>K:ROTOR_BRAKE) l0 -- s0 g1 } l0 0 < if{ 45502 (>K:ROTOR_BRAKE) l0 ++ s0 g1 } ? Try that to confirm the preset actually works. If so, you may need to add a delay, to allow time for the Gear-up to complete. before sending the gear-off ccode. If the calc code doesn't work, I cannot help with that - maybe ask on the MF discord channel. John
  9. You need to have the WASM installed and enabled to use presets - check the Advanced User guide, un the WASM section. If the WASM is enabled correctly, you should see the menu entries active under the Add-ins->WASM menu - try listing lvars to confirm the WASM is installed and connected. Note that you need an aircraft loaded and ready-to-fly (i.e. not in the MSFS menu). Also check that you are using the latest version of FSUIPC7, v7.3.4 - if not, update. John
  10. That would be good, thanks. The best place for this would be to create a topic in either the FAQ sub-forum or the User Contributions sub-forum. It would be better to do this as a post, rather than a document. But if you prefer to do this in Word 2003, you could export this as a pdf and attach it to a post in one (or both) of those sections. John
  11. No. If the lua is auto-running, why assign a button to start it? You cannot assign a button to a function in a lua script. To use the lua, you need to add some event.button calls which would call the appropriate lua function when one of your rotary buttons was detected. I have put together a script for you to try this - download to your FSUIPC7 installation folder and change the following variables to match your hardware: The script should be auto-started, preferably from a PMDG profile section: PMDGAutoBrake.lua (NB. script not tested as I don't have this aircraft!] What happened? Did you look at the log or try logging *Buttons & Keys + Events) to see what is happening? There is no point just saying 'it doesn't work'... Also, if writing your own presets, you should test the calculator code first using the Add-ons->WASM->Execute Calculator Code menu option, to check that it has the desired affect. Otherwise you could follow the advice of @mtjoeng and install LINDA...
  12. What list? Check that you are using the latest version of FSUIPC7, v7.3.4. If so, there should be a preset you can use for this: Preset: PMDG B737-7 GEAR OFF John
  13. Ok, that is interesting....but I can't see any changes between these versions that would cause this... Could you show me an FSUIPC7.log file from both versions please. John
  14. All the FSUIPC documentation is installed under your Documents folder, as well as a README.txt that is contained in the zip file you downloaded. You should at least read the README,txt and the Installation and Registration guide, which will tell you what is installed and where. However, if you are using an unregistered version for use by an FSUIPC client application, you don't normally need to do anything, and any config needed should be specified in the documentation for your client program. I cannot see how this can be related to FSUIPC7. As a test, uninstall FSUIPC7 (using the uninstallFSUIPC7.exe that will be in your FSUIPC7 installation folder) and see if you get the same problem. John
  15. Maybe, why not just try that as a preset, like the one I showed? But it would be better to use lua and do it properly, although it probably doesn't matter....whatever works for you really! Thanks @mtjoeng! John
  16. That is interesting, thanks! I keep forgetting Andrew has released his module for the MSFS PMDG 737. But that script/extract is also missing the functions PMDG_MPNL_AUTOBRAKE_move(numberOfpositions) PMDG_MPNL_AUTOBRAKE_show () - as well as the definition of the PMDG_EVT....Can you show those - as well as any other dependent functions. You always have to be careful extracting lua scripts from LINDA as there can be many dependencies, but it is a good reference to check how things work / what is available. @737AndiYou could try using LINDA if you are not familiar with lua. Or you could add the lvar L:switch_460_73X (which golds the current switch position) to an offset, and then use that as an offset condition for overloaded preset assignments...
  17. You can have multiple assignments to a button by manual editing the ini file. However, if you do this they will always be applied, regardless of the rotary position. Is there an lvar that you can use to determine the current rotary position? If so, you could add that to an offset and use that to determine the current rotary position, but O don't think this would work that well as the update of the lvar value will be a lot slower than the the check on this for the assignments. This seems strange, as if you are decreasing 6 times, and then increasing twice, isn't that the same as decreasing 4 times? BUT. lookig at the calc code for those 2 presets. they are the same....shouldn't the inc one use 46002? But you can do this by adding your own preset (to the myevents.txt file) that does this, e.g. PMDG_B737_AUTOBRAKE_MULTIPLE#46001 (>K:ROTOR_BRAKE) 46001 (>K:ROTOR_BRAKE) 46001 (>K:ROTOR_BRAKE) 46001 (>K:ROTOR_BRAKE) 46001 (>K:ROTOR_BRAKE) 46001 (>K:ROTOR_BRAKE) 46002 (>K:ROTOR_BRAKE) 46002 (>K:ROTOR_BRAKE) You could then (possibly) add an offset condition , if the current state of the switch is available in an lvar then you can add that to an offset and use that, and then overload the assignment to call the correct number if inc/decs depending on the current position. But its probably to do this in lua.... John
  18. No. You don't need to use event files any more - they have been superseded by presets. However, you can still use them if you prefer that method, but you would need to install the MF event module WASM to handle those events. The event files included with FSUIPC7 are also now quite old (and I won't be updating them any more) and not complete (and possibly out-of-date).
  19. There is no event file for the PMDG. However, you can create one if you wish, using the MobiFlight cip file. You would then also need the MobiFlight WASM module installed to handle those events. As event files have basically now been superseded by presets, I am no longer providing event files. There are no custom events provided and handled by the PMDG 737 as far as O a, aware - the custom events for this aircraft use the Rotor Brake control, with the parameter indicating the purpose/control. BUT, this will have nothing to do with your MCP not being able to connect. I don't know what your issue is with this and cannot really help you either. You need to contact whoever provides the software for this.
  20. Where have you installed FSUIPC7? Make sure that it is not in a windows protected folder, such as under your Documents or Program Files folder. Also, check that it is not there but with the extension hidden - make sure that 'Hide extensions for known file types' is not checked in your Windows Explorer options. It should certainly be in your FSUIPC7 installation folder, alongside your FSUIPC7.log file, and is created the first time you run FSUIPC7.
  21. MF presets have been included with FSUIPC7 since v7.2.16 - you do not need to use MobiFlight. The latest version, v7.3.4 (released yesterday) contains the latest MF events.txt file. To use these with FSUIPC7. you need the FSUIPC WASM installed and enabled (which you will have if using lvars), and they are assignable as any other control - in the drop-down menu for assignments. Please see the Advanced User guide for details on presets, as well as all other functionality provided by the FSUIPC WASM module.
  22. Why don't you just execute the script: ipc.execCalcCode(“1 (>L:LIGHTING_LANDING_1) 0 1 r (>K:2:LANDING_LIGHTS_SET) 1 1 r (>K:2:TAXI_LIGHTS_SET)”) Or avoid lua altogether and assign to the preset Preset: NOSE LIGHTS TAXI?
  23. Did you check that FSUIPC7 is running? Where/what software is this error message from? There is no *.evt file for the PMDG 737. Event files only provide access to custom events that are handled by either the aircraft or a WASM module. The event files that come with FSUIPC7 are mainly for use with the MobiFlight event module, although there is also one for the FBW A320. However, you do not really need use event files any more as they have been replaced by presets. A preset is a name attached to a calculator code string, which when used is applied by the FSUIPC WASM module. Event files are events that are mapped to similar calculator code strings but this is done in the handling module, usually the MF event module. The PMDG 737 seems to have implemented its custom controls using parameters for the Rotor Brake control. You can assign to this control directly, if you know the parameter values to use (I believe someone posted a spreadsheet containing these...somewhere...) - otherwise you can use (or at least take a look at) the preset calculator code, or see what is being used by a preset. For a searchable list of available presets, please see the MG HubHop resource: https://hubhop.mobiflight.com/presets/ John P.S. You seem to have raised the same question twice - I will delete the other one
×
×
  • 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.