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. This is working ok here... Could you show me your FSUIPC7.ini and a log file produced with WAPI debug level logging enabled. Thanks, John
  2. The calibration facilities in FSUIPC7 are the same as in other versions of FSUIPC. There is a trial license available in a sticky post at the top of this sub-forum you can download to try the registered facilities. To reduce the sensitivity of an axis, you can also edit the FSUIPC ini file to manually increase the axis range (by editing the calibration entry). This can dramatically change the sensitivity, but you will use the full range of the axis, For example, this is my Aileron calibration entry: Aileron=-16384,-600,600,16383 If I change this to: Aileron=-22384,-600,600,22383 That would make the aileron less sensitive, but you would lose the ability to set 100% deflection - max would be 16384/22384, so about 73%. Combining this with a suitable calibration slope can be used to get better sensitivity, although you may also want to do this individually for each aircraft (i.e. in a profile). John
  3. I am updating now and will check this later, but as @ark1320has reported that this is working for him, can you check again. If you get the same issue, please attach your FSUIPC7.ini and FSUIPC7.log files, the latter generated with logging for Buttons & Keys and Events activated, and showing some assigned key presses that are no longer working. John
  4. This seems strange...are lvars available? Luas are auto-started once the lvars have been received, so if luas aren't started then lvars will also not be available... I am updating now and will take a look later... John
  5. Yes - all MSFS clients, as well as FSUIPC clients, need to be ran at the same level. Glad you sorted it out, Regards, John
  6. Also note that there is a trial license available for FSUIPC7 in a sticky post at the top of this forum. Please download and use this to try FSUIPC7 before purchasing. John
  7. Of course not - FSUIPC7 is a different product and requires its own unique key/license, available from SimMarket. John
  8. I've tested that here now and that works - sending lalt+1 on button press (& release) of B.18 and lalt+2 on B.19, using the facilities provided at offset 0x3110. John
  9. What is this? If you want to test by using buttons to write to offsets, you need to use the Offset DWord Set control, and if you set the parameter offset on press, and set the control number 1070 on release, it should look like this: 5=RB,18,Cx03003114,x00001031 -{offset dword set, offset 3114}- 6=UB,18,Cx03003110,x0000042E -{offset dword set, offset 3110}- 7=RB,19,Cx03003114,x00001032 -{offset dword set, offset 3114}- 8=UB,19,Cx03003110,x0000042E -{offset dword set, offset 3110}- John
  10. No you haven't. I want to know what you have tried and what happened - I said please, do as advised and report back what you have done, and what the result was To be clear, did you check the box marked Check if using a different name or address for WideFS, and enter the name and email address for your WideFS7 purchase and then click on Register? You should then see 2 pop-up boxes approving or denying validation - what did they say? If you did that and the licenses didn't valid, it can ONLY be that your VC++ redistibutables are out of date. Please download and install the latest combined redistributable package from Microsoft. Details and a link are provided in the README.txt and in the installation manual. These both validate just fine. I will PM you. John
  11. They are not the correct parameters - as it says in the documentation, the message (0x3200 4 bytes) is WM_KEYDOWN or WM_KEYUP which are 256 and 257 respectfully. You can see the parameter to use in the log message. Using this offset you would have to send both a WM_KEYDOWN and WM_KEYUP message to get a key press and release, as well as sending the Alt key separately (i.e. 4 messages in total), so maybe better/easier to use offset 0x3110. As specified in the documentation: Unfortunately it seems I removed the text that shows you how to calculate the actual parameter if using offsets. The parameter is keycode+256*shift code, So for lalt +1 (49 + 24), it would be 49 +256*24 = 6193. Alternatively, also 49+256*16 = 4145 (as 8 is the shift code for a normal key and can be ignored). Note that lalt and tab shift codes are switched for key press assignments, and I am not sure which mapping the 1070 control uses. If it uses the key assignments shift codes, it would be 49+256*4 = 1073. So, first try with parameters 4145 and 4146 (or 6193 and 6194), and if those don't work try 1073 and 1074. Remember to write the parameter to offset 0x3114 before writing 1070 to 0x3110. John
  12. The LINDA support forum still seems to be active: https://www.avsim.com/forums/forum/429-linda-support/ However, most folks have moved on now from FSX, especially since the release of MSFS2020. There should be a text document in your FSUIPC4 installation folder called The 2016 List of FSX and P3D Controls.pdf - yjis contains a list of available events and their ids, in both numerical and alphabetical order. For a description of whatthe events do, you need to consult the SimConnect SDK documentation. You can use FSUIPC's logging facilities - activate logging for Events (non-axis controls) and Send to console window (both from logging tab) and you can see any event + parameter used when a button/switch is used in the VC. John
  13. You have posted twice, with the second post being deleted as it contained your key. Did you enter the different email addresses (and possibly different names) for the different keys, as advised? Did you see two pop-up boxes - one for fsuipc6 and one for WideFS7? Did one or both fail validation? Have you checked that your VC++ redistibutables are up to date (as advised in the manual)? Did you try manually creating your key file, also as advised in the manual? I did no such thing. This is the forum where you get support on such issues. I am sorry but it may be obvious what your problem is but not the cause. I have given you the solutions to try (and they are also documented in the manual) which resolves 99% of all support issues relating to registration problems. So please, do as advised and report back what you have done, and what the result was. If you still get issues, please let me know the order numbers for both your FSUIPC6 and WideFS7 purchases - order number only, please do not post your key or other registration details. John
  14. As I said, I have no idea what this VAC software is or where this is from. and you have provided no further information on this so I cannot help you with this. I know some other FSUIPC users are using VoiceAttack with FSUIPC - you can search the FSUIPC forums for questions/solutions on using this software with FSUIPC. John
  15. You posted your key! Please never post your key/registration details in a public forum. Luckily I saw this and deleted it before it went public. All 3 components of the registration need to be correct (as specified in your purchase email or SimMarket account) - Name, Address and key. As your email address has changed, you need to check the box marked Check if using a different name or address for WideFS. Please see the provided manual Installing and Registering FSUIPC.pdf if not obvious. John
  16. 👍
  17. To send key presses via offsets, you can either use the keysend offset at 0x3200, or the general control offset at 0x3110 using the FSUIPC keysend control 1070 (press and release). See the offset status document for offset use, and the Advanced User guide for details on using the key send controls and the parameters (virtual key codes) needed. John
  18. No - the counter value is appended to the string 'myvar' and the result written to the lvar. The lvar change is then picked-up (in event.Lvar handling function) and written to an offset (as a string - note that you cannot use the value passed to the handling function as that is a number, you have to read the lvar value to get the string), and this offset update then triggers the event.offset handling function and the offset, which holds the lvar value as a string, is then logged. This is just an example to show you how to handle string lvars, and how to add them to an offset as a string. Bur that is not what your script is doing. Your script is creating and setting lvars based upon the values held in some PMDG-specific offsets. The example I provided shows you how to add data/lvars to offsets in lua - see the lvarUpdated function, which reads the value of an lvar and adds it to an offset. You can also use the lvars-to-offsets functionality provided by editing the FSUIPC7..ini file (see the Advanced User guide). But I don't really understand what you are trying to achieve... as you have the PMDG data on the offsets, why fo you want to use this to create lvars? And what data do you want to write to offsets? And what has this got to do with this topic, which I thought was about using lvars that were strings. John Later: if your issue is that the value received in the event.offset handling function (for strings) is a number and not a string, then you have to read the offset as a string in the handling function, and not use the value provided by the function, as this will always be a number. I will clarify this in the documentation - as well as the same for event.lvar when the lvar value is a string, and I will mention the 8 character limit for lvar string handling,
  19. 👍 Sounds good! Glad it all fell into place. John
  20. The WAPI debug library is correct and up-to-date. I have updated the WASMClient to use the WAPI debug library when built in the debug configuration. There is a problem in the WASMClient in that that an invalid simConnection is used when running in debug mode. I have corrected this now. If you have a problem connecting in your code, you can try specifically setting this before you start the connection - once you have your WAPI instance, and before calling start(), do this: wasmPtr->setSimConfigConnection(SIMCONNECT_OPEN_CONFIGINDEX_LOCAL); But really this shouldn't be necessary, as that should be the default value anyway... I have attached the latest WAPI libs, so maybe try with them. John FSUIPC_WAPI-libs.zip
  21. I think you also need to add data to offsets respecting the offset boundaries for the types you are adding. What this means is the words (e.g. UW, SW) should be added on 2-byte boundaries, dwords (e.g. SD, UD) on 4-nyte boundaries, etc. I am not 100% sure on this without checking the code, but probably a good idea to allocate your offsets with this in mind. John
  22. All lvars are handled internally as 8 byte doubles, so the maximum string length of an lvar is always 8 characters. I am not going to go through your lua file, but please see the example script I have attached. This creates an lvar, and sets a timer to update this to a different string value every second. There is an event set to pick up the lvar change, and then write the lvar value to an offset. The event on this offset then picks up the new string value for the lvar and just logs it. John stringTest.lua
  23. I don't know...this is probably more a question for the developers/support of the VAC software you are using. I do not know this software - do you have a link to where this is available? I can take a look (if you provide a link to the software you are using), but maybe also try asking this on the support forum for that software. John
  24. No, sorry. Only the application/exe is provided - no source, so I have no idea why it isn't working with MSFS2020. The developer would need to look into this, or make the source available for others. 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.